Skip to content

ci(e2e): investigate serialized main-run queue before test execution #9524

Closed

Description

@rsliter

Parent: #9159

Related runtime work: #7912

Problem

Main E2E runs can wait behind an earlier main run before GitHub creates their first job. Runner queue time starts only after this workflow concurrency wait.

This delay increases time-to-trust even when the selected test set is short. A failure for an older commit SHA can prevent a newer run from starting any test.

Recent evidence

The sample contains the 10 most recent completed, non-cancelled main runs and the run that was active during this investigation.

Main E2E run Commit SHA Time from run creation to first job start
32178707220 b2d1ce52a716444b083f6e3b8ed8bace1cba3240 31m 03s
32173435789 f74291c67005f9306d928da731935c4c4dde4e14 27m 13s
32167253193 d583fa10fef0932b3aa411aa5af51b95732b9d82 28m 02s
32158725749 bcbd98913e7884e67ca3d12687fa5e9967d8dde5 5s
32154441716 e68f879a7ee6f534359df6ab856bdba0165260a1 54s
32135160741 9ab3cd3a569e6d01aef26dee876461d281aef06a 15m 31s
32129412482 6626bb7be7aef2b6eff0cc4293fc813185a87e10 3s
32120320330 17e0c1f17f642fbe348f8cc3daf95bf724309086 7m 56s
32118971018 9421dc23583817fc2be0c66017999f91eccf7b75 15m 15s
32115664698 23c1afb389d5fa3c82d1b27641f095a2f459b744 2m 39s
32109011388 e19eff8d623ffa0bb9d0acc1afe4e4c809416d43 1m 29s

The median delay is 7m 56s. Five of 11 runs waited at least 15 minutes.

For several runs, GitHub created the first job within one second after the preceding run's last job completed:

  • 32178707220 followed 32173435789 at 20:10:31Z.
  • 32173435789 followed 32167253193 at 19:08:22Z and 19:08:23Z.
  • 32135160741 followed 32129412482 at 12:22:37Z and 12:22:38Z.
  • 32120320330 followed 32118971018 at 09:19:51Z and 09:19:52Z.
  • 32118971018 followed 32115664698 at 09:11:44Z.

At b2d1ce52, .github/workflows/e2e.yaml assigns ordinary main pushes to the same concurrency group and sets cancel-in-progress to false. For run 32178707220, the workflow concurrency wait was about 21m 55s. The first runner then waited about 9m 08s.

Required investigation

  • Measure workflow concurrency wait, runner queue time, and execution time separately.
  • Establish p50 and p95 values for main and release E2E over at least 10 days.
  • Identify which preceding run and job blocked each delayed run.
  • Quantify the effect on exact-commit time-to-trust and commits merged before completion.
  • Compare options that preserve semantic E2E coverage, exact commit identity, and existing release judgment.
  • Include runner-capacity, external-rate-limit, and failure-rate risks for each option.
  • Recommend one bounded plan with expected time savings and validation evidence.

Scope

This issue is an investigation and plan. Do not change workflow concurrency, cancel runs, add retries, reduce coverage, or implement code under this issue.

Create a separate accepted issue before implementation.

Activity

  1. self-assigned this
    on Aug 18, 2026
  2. added theissue type on Aug 18, 2026
  3. added
    area: ci
    area: e2e
    on Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: ciarea: e2e

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions