Repository navigation
ci(fleet-smoke): supersede stale runs per ref instead of stacking (#17004) - #17010
Conversation
…7004) Push runs were keyed by run_id, so every merged tree spawned its own ~2h build and nothing ever superseded. On 2026-11-29 that stacked 17 concurrent builds whose shared-cache throttling made each build slower; the last success on main was 2026-11-26. One per-ref group with cancel-in-progress keeps only the newest tree's run alive.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
Gate verdict — GREEN (Felix lane 0640-EU, 2026-11-29). Fleet-command run 46319682861, log read firsthand: checkout at this PR's head |
Fixes the stacking half of #17004 (Felix lane 0640-EU).
Diagnosis (firsthand, 2026-11-29)
The jobs do not hang at startup — every stuck run is alive in the single "Build the four fleet variant outputs" step:
Change
One file, .github/workflows/fleet-smoke.yml: all runs share the per-ref group fleet-smoke-${{ github.ref }} with cancel-in-progress: true, so a new push supersedes the stale run instead of stacking beside it. The workflow comment records the change and why the earlier per-run contract was replaced. The newest tree run covers the cumulative state of main. The contract checker (check-fleet-smoke.sh) does not pin the concurrency shape; its checks are re-run against this branch as the gate.
The stuck in-progress runs named on #17004 are cancelled separately (all but the newest), as the issue asks.
Route note: this PR was created via the personal-token REST route because the fleet gh POST path is currently failing with an invalid Authorization header after the 22:54Z seat restart (GETs work; every POST fails the same way). The branch push used the inline personal-token credential helper for the same reason. Disclosed by lane 0640-EU.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit