Repository navigation
Description
Work item and current premise
A windows-ci label removal on PR #4370 started Routed Rust Small run 36387999518 at old code head 5828498d846542d8551e0b87ec17ff8b18118564. At observation it was in_progress in the hosted Required Rust tests step. The later final docs-head run 36388035288 for a92357254445800304993ff0b358bb9f078b298b was pending with no jobs. This is a time-bound observation, not a claim that either run has since reached a terminal result. A cancellation request for the old run did not promptly yield a terminal status; distinguish that operational delay from successful cancellation or gate proof.
On current main 7d3f2339bece5f3b687330d93b5a7b013d8e9ffd, routed-rust.yml:3-16 subscribes to every labeled and unlabeled PR event. Its same-PR concurrency group cancels in-progress work only for synchronize. The full Rust jobs select by runner and docs-only state, with no label-action filter; a windows-ci removal therefore routes the full required gate even though the label's documented effect is only the advisory Windows lane. windows-advisory.yml itself has no unlabeled trigger. Label-only routing can spend a full hosted Rust run on unchanged code, occupy the required result's concurrency group, and delay exact-head proof on a later commit.
Linked authority and ownership
- CI behavior and economic guardrails:
docs/CI.md:49-68. Its no-cancel vs synchronize-cancel distinction is an explicit product decision; do not flipcancel-in-progressgenerically. - Protected required context:
Ripr Rust Small Resultinrouted-rust.yml:211-302. - ci: ci.yml and routed-rust.yml overlap on push-to-main (2 concurrent builds) + routed-rust.yml is 768 lines of 4-job copy-paste with diverging gate lists #2454 closed a push-to-main duplicate Rust owner; ci: diagnose stale hosted routed-rust runs beyond timeout #2874 closed stale hosted-run diagnosis; neither owns label-event full-gate churn. ci(cutover): complete native queue qualification and retire development CI #1029 owns merge-queue architecture, not this trigger. No equivalent open issue or PR was found by claim-identity search.
- This issue is the bounded implementation plan item; no new proposal or product spec is needed for the existing CI contract.
Expected files and responsibility
Primary: .github/workflows/routed-rust.yml. Nearby focused workflow-policy fixture/checker and docs/CI.md or policy/ci-budget.toml only if needed to express the event matrix and cost boundary. Preserve .github/workflows/rust-gates.yml as the single gate-list owner.
Required behavior and acceptance
- A
windows-ciadd/remove on a PR with unchanged code does not launch another full Rust gate. The Windows advisory lane remains opt-in when the label is present, and label removal does not imply Windows proof. opened,reopened,synchronize, and main pushes retain their current required Rust or docs-gate proof. A new commit still receives a terminal, exact-headRipr Rust Small Result; no skipped-label event may manufacture a green required result for untested code.full-cilabel transitions retain their intentional advisory/report effect. Classify other labels (release-check,coverage, etc.) by actual workflow consumers before narrowing triggers. A label transition that changes a required policy input must still route appropriate current-head evidence.- If a label-only event is ignored, its treatment of the protected result context and same-PR concurrency is explicit and tested. A later
synchronizecannot remain indefinitely held behind a stale label-event run by an avoidable workflow design. Keep cancellation/timeout outcomesNOT_PROVENuntil terminal. - A focused event/action/label matrix rejects the old unconditional
unlabeledfull-gate route and accepts the intended exceptions. A real canary or current GitHub run receipt confirms the static route without claiming a skipped event as executed proof.
Cheap proof commands
actionlint .github/workflows/routed-rust.yml
cargo xtask check-workflows
git diff --check
Add a fixture/static route test over representative opened, synchronize, windows-ci labeled/unlabeled, and full-ci labeled/unlabeled payloads; run that focused check before a hosted canary. Record run IDs, event/action, head SHA, route result, exact required context, and whether any full gate job actually started. Do not duplicate the full Cargo matrix locally for a workflow routing edit.
Support tier, policy, non-goals, claim boundary
Support-tier impact: none. Policy impact: document any changed label effect and concurrency tradeoff in docs/CI.md and CI-budget policy if the routing contract changes. Non-goals: altering Rust gate contents, replacing the router, merge-queue/settings changes, global cancellation switches, deleting in-flight runs, or weakening branch protection. A successful fix proves event routing and removes avoidable duplicate work; it does not prove GitHub will always terminalize an accepted cancellation promptly, nor qualify a release candidate.
Rollback: restore the prior trigger/condition after capturing the failed event-matrix receipt; re-enable the previous full gate for all label events if the protected result or full-ci semantics cannot be preserved.
Activity
EffortlessSteven commentedon Sep 29, 2026
Acceptance reconciliation
Landed: PR #4871 squash-merged to
mainas8d5aedc8589ce3d4a307c97f8f342dd7d3a25a5d(candidate headada2f6181f2cc8dce2bf332b8e63eb6bc6308a9a). GitHub closed this issue viaCloses #4380. No parent issue.Acceptance covered:
routed-rust.ymlno longer subscribes tounlabeled; awindows-ci(or other) label removal does not start Routed Rust Small or occupyRipr Rust Small Result.windows-ci/coverage/release-checklabeled events skip rust-gates and postRipr Rust Small Ignored Label Eventon a-label-ignoreconcurrency group.opened/reopened/synchronize/ main-push /workflow_dispatchstill launch the required gate;full-cilabeled still refreshes advisory reports.cancel-in-progressremains synchronize-only.rust-gates.ymlandwindows-advisory.ymlwere not changed.Proof:
cargo test -p xtask routed_rust_;cargo xtask check-workflows; hostedRipr Rust Small Resultsuccess on run 36533575704 forada2f6181.Residual / non-claim:
actionlintwas not installed locally (NOT_ESTABLISHED).No further owner on this claim.
fix(ci): address review findings (#4938)
ci(windows): always-on advisory subset for the Windows-invisible defe…