Repository navigation
gate: replay a route only on boxes that start where it starts - #52
Merged
Merged
Conversation
affected.py paired every route of a family with every box of that family. A box that starts at another release can't walk the route: CI replayed the CentOS 5 route on a new CentOS 7 box, whose first hop (to centos6) can only roll back. Pair a route with the family's boxes whose release is the route's from. Every existing route/box pair already starts at the same release, so no coverage changes today. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc Signed-off-by: Claude <[email protected]>
Review of the pairing change: with replays only where a route starts, a route whose from has no box, a fires_on claim on a box no pinning route starts at, or an existing box moved to another release would leave CI nothing to replay or check. - check.py: starts() (shared by affected.py and wend verify --all) and pairing_errors(): every route needs a box at its from; every fires_on box must exist and start where a route pinning the fix starts. Three new broken cases in test_check.py. - affected.py: an existing box may not change its release. - wend verify --all uses the same pairing; docstrings and AGENTS step 5 say so. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc Signed-off-by: Claude <[email protected]>
A refusal inside $(...) in an echo left plan green with an empty matrix. Assign first so bash -e stops the step. wend verify --base prints affected.py's reason instead of a traceback. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc Signed-off-by: Claude <[email protected]>
Member
Author
|
Independent Claude review: sign-off on 027da11, after three rounds.
I'll merge once Generated by Claude Code |
TusanHomichi
marked this pull request as ready for review
October 13, 2026 04:57
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Oct 13, 2026
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Peter · project thread
Before: CI replayed every route of a family on every box of that family. The new
el/centos7-lampbox (#51) got the CentOS 5 route, whose first hop (to centos6) rolled back as soon as CentOS 6's tooling hit EL7's glibc. The box PR went red for something no box starting at CentOS 7 can do.After: a route is replayed only on its family's boxes that start at the route's
from, and those are the decoys. To keep that from leaving anything unreplayed, the gate now refuses three things:fires_onclaim on a box that no route pinning the fix starts atHow
check.starts(box, route): same family, andbox.release == route.from.tools/affected.py(all four change kinds) andwend verify --allboth use it.check.pairing_errors, run incheck.py's main:fromfires_onbox must exist and start where some route pinning the fix starts (a fix no route pins is skipped)test_check.pyaffected.pyexits non-zero when an existing box changes its release; that's a new box. A brand-new box with no route yet is allowed, because AGENTS step 2 lands boxes before their routes. It gets built and replayed in its route's PR.gate.ymlplan assigns the matrix before echoing it, so a refusal failsplan. Before, a failing$(...)insideecholeft it green with an empty matrix.wend verify --baseprints affected.py's reason instead of a traceback.wendandaffected.pydocstrings.pairing_errorslives only in the Python gate, ascheck_boxdoes.parity.pyreports identical (137 checker cases).Evidence
tools/check.pyok andtools/test_check.py0 wrong, with the new cases refusing as intended and the real atlas passing.check.pystays ok.el/centos5-webtorelease = "centos6"makesaffected.pyexit 1: "changes its release from centos5 to centos6; add a new box instead".planandschemajobs run main'saffected.pyandcheck.py, and it touches only tools, docs and the workflow. Its matrix is therefore empty, and the new rules take effect on PRs after it merges.🤖 Generated with Claude Code
https://claude.ai/code/session_01U79sdXK2gVuGi4U9ty7qHc