Skip to content

ci(fleet-smoke): supersede stale runs per ref instead of stacking (#17004) - #17010

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
felix/17004-fleet-smoke-guard
Nov 29, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
felix/17004-fleet-smoke-guard

Conversation

@dezren39

@dezren39 dezren39 commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

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-bot with what you need.

Summary by CodeRabbit

  • Chores
    • Smoke-test runs for the same branch or tag now supersede earlier in-progress runs, whether started by a push or manually. This keeps only the latest run active for each ref.

…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.
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The fleet-smoke workflow now uses the same ref-based concurrency key for push and manual-dispatch runs. With cancel-in-progress: true, a new run on the same ref can cancel an in-progress run.

Changes: Fleet smoke run concurrency

Layer / File(s) Summary
Ref-based run cancellation
.github/workflows/fleet-smoke.yml
Push and manual-dispatch runs use the same ref-based concurrency key. The existing cancellation setting allows a new run on the same ref to cancel an in-progress run.

Estimated code review effort: 2 (Simple) | ~5 minutes

Change: Bug fix

Possibly related issues

  • developing-today/code#17004 — The shared ref-based key addresses the issue’s fleet-smoke run stacking behavior. It does not address the startup hang or cancel runs that are already stuck.

Suggested reviewers: claude

Merge Risk: Minimal · up to b1c3b

The change makes fleet-smoke runs on the same ref supersede earlier in-progress runs instead of stacking. No concrete merge-blocking risk is identified.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the change: the fleet-smoke workflow now supersedes stale runs per ref through a shared concurrency group, instead of stacking runs. The raw summary confirms the concurrency group chan…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the change: the fleet-smoke workflow now supersedes stale runs per ref through a shared concurrency group, instead of stacking runs. The raw summary confirms the concurrency group changed to a per-ref key with cancel-in-progress enabled in .github/workflows/fleet-smoke.yml, which matches the title. The title is specific and accurate, though the trailing issue number adds some noise.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fb4c415f-5e24-424b-9adc-e2069b73aaa2
Commits

Reviewing files that changed from the base of the PR and between fc6a2d5 and b1c3bee.

Files selected for processing: 1

  • .github/workflows/fleet-smoke.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@developing-today-fleet

Copy link
Copy Markdown
Contributor

Gate verdict — GREEN (Felix lane 0640-EU, 2026-11-29). Fleet-command run 46319682861, log read firsthand: checkout at this PR's head b1c3beeee0; fleet-smoke contract: OK (check-fleet-smoke.sh + check-fleet-smoke.test.sh both pass in the && chain); yq eval .concurrency.group on the edited workflow prints fleet-smoke-${{ github.ref }} (YAML parses, new group in place); marker EU-17004-CONTRACT-OK reached at the end of the chain; run conclusion success. Felix: merge PR #17010 — it carries the #17004 concurrency guard; the stuck-run cancels are recorded on the issue.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant