refactor(core): Add workflowId to all job processor logs (#16726)

This commit is contained in:
Danny Martini
2025-06-26 12:31:12 +02:00
committed by GitHub
parent 892b0d2a82
commit 20418c7966

View File

@@ -72,6 +72,7 @@ export class JobProcessor {
this.logger.info(`Worker started execution ${executionId} (job ${job.id})`, {
executionId,
workflowId,
jobId: job.id,
});
@@ -168,6 +169,11 @@ export class JobProcessor {
// Can't set the status directly in the queued worker, but it will happen in InternalHook.onWorkflowPostExecute
this.logger.debug(
`Queued worker execution status for execution ${executionId} (job ${job.id}) is "${status}"`,
{
executionId,
workflowId,
jobId: job.id,
},
);
};
@@ -241,6 +247,7 @@ export class JobProcessor {
this.logger.info(`Worker finished execution ${executionId} (job ${job.id})`, {
executionId,
workflowId,
jobId: job.id,
});