Skip to content

[Bug] Runner wait timeout is anchored to queue submission #4341

Description

@sachintandon

Summary

The waiting_runner_limit_exceeded timeout appears to be measured from submitted_at. If a job waits in the queue longer than the configured limit, it can be killed shortly after an instance is finally provisioned, before the runner has a reasonable opportunity to check in.

Expected behavior

Start the runner-wait timer at the provisioning transition or another timestamp that represents when the runner could actually start. Audit other timeout calculations for the same queue-time anchoring error.

Regression coverage

A job that queues longer than the runner-wait limit should not fail immediately after provisioning; a genuinely unresponsive runner should still time out after the configured post-provision interval.

Activity

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