Repository navigation
Closed
Labels
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.Context and acceptance criteria are complete enough for an agent to take this unattended.area: ciCI workflows, the gates they run, release scripts, packaging.CI workflows, the gates they run, release scripts, packaging.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.Wanted, not scheduled. Pulled in when a milestone has room.type: choreTooling, CI, release plumbing, dependencies.Tooling, CI, release plumbing, dependencies.
Milestone
Description
Part of #2948 (task 4).
Context
The #2939 ruling (2026-10-25) makes runner-slot wait, the time from a job being created to it starting, a first-class metric, because once heavy proof moves to hosted runners, account concurrency becomes the next ceiling. The collector does not keep a job's creation time: RawJob has started_at and completed_at but no created_at (scripts/ci-timings.ts:20-23), although the GitHub jobs API returns it.
Scope
- Keep each job's
created_atin the normalized job record (a schema version bump if the record kind is versioned). - Report slot wait per workflow, job category and event type (pull request draft, pull request ready, push to main, dispatch): median, p90, max and sample count, plus the share of jobs waiting over 5 minutes.
- Mark records from archives that predate the field as unknown, never zero.
Out of scope
- Changing runner counts, shards or concurrency.
Acceptance criteria
- A fixture job with
created_at10:00:00 andstarted_at10:03:30 reports 210 s of slot wait; proven by a test that fails before the change. - A legacy record without
created_atis reported as unknown and excluded from percentiles, with its count shown. docs/process/ci-throughput.mddocuments the metric.
Verification
bun run test on the touched ci-timings tests; a mutation that treats a missing created_at as zero makes the named test fail.
Contract impact
None.
Metadata
Metadata
Assignees
Labels
agent-readyContext and acceptance criteria are complete enough for an agent to take this unattended.Context and acceptance criteria are complete enough for an agent to take this unattended.area: ciCI workflows, the gates they run, release scripts, packaging.CI workflows, the gates they run, release scripts, packaging.priority: p2Wanted, not scheduled. Pulled in when a milestone has room.Wanted, not scheduled. Pulled in when a milestone has room.type: choreTooling, CI, release plumbing, dependencies.Tooling, CI, release plumbing, dependencies.
Activity
schlessera commentedon Nov 2, 2026
2026-11-02 evidence on yielding admission:
With the reservation busy nearly continuously, admission-time yielding can starve draft feedback outright. That makes this issue's measurement more urgent than "is the approximation enough": the count of admission windows that yield out completely is the number to watch.
schlessera commentedon Nov 15, 2026
Claimed for implementation. Claim token:
claim-79243619. Branch:chore/2952-runner-slot-wait.No active implementation PR; cited-path collision scan running.
schlessera commentedon Nov 16, 2026
Merged in #4052 as
017af32f9through the integration lease (orchestrator merge queue for 0.45.0). Candidate confirmation passed on the exact head; the squash's own main run carries the post-merge heavy categories.