Skip to content

Retry lambda ignores ENABLE_JOB_QUEUED_CHECK #5421

Closed as not planned
Closed as not planned

Description

@atsikham

Description

The main scale-up path has a config flag, ENABLE_JOB_QUEUED_CHECK, that skips an API call to GitHub that checks whether a job is still queued before creating a runner for it. The retry lambda does not check this flag — it always makes that call, on every retry attempt.

Impact

Turning off ENABLE_JOB_QUEUED_CHECK does not fully turn off the check: the retry path keeps calling GitHub's API for every retry, using up rate-limit budget the flag was meant to save. This makes the flag behave inconsistently depending on which lambda handles a given job.

Proposed fix

Read the same ENABLE_JOB_QUEUED_CHECK flag in the retry lambda, and skip the check there too when it's turned off — matching the main scale-up path.

See PR (to follow) for the implementation.

Activity

  1. atsikham commented on Sep 25, 2026

    @atsikham
    ContributorAuthor

    Not a bug: the retry function always checks the job status on purpose, independent of enable_job_queued_check. This is documented in #5422.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions