diff --git a/lambdas/functions/control-plane/src/scale-runners/scale-up.ts b/lambdas/functions/control-plane/src/scale-runners/scale-up.ts index c21aa4c2f1..9b00af3e48 100644 --- a/lambdas/functions/control-plane/src/scale-runners/scale-up.ts +++ b/lambdas/functions/control-plane/src/scale-runners/scale-up.ts @@ -148,6 +148,7 @@ export async function isJobQueued(githubInstallationClient: Octokit, payload: Ac }); metricGitHubAppRateLimit(jobForWorkflowRun.headers); isQueued = jobForWorkflowRun.data.status === 'queued'; + logger.debug(`The job ${payload.id} is${isQueued ? ' ' : 'not'} queued`); } else { throw Error(`Event ${payload.eventType} is not supported`); }