You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(ci): changes_job_equivalence_15360 fixture is a shared per-PR edit point that conflicts across PRs #21205
Child of #19673. Pairwise sweep at b4df186 (issuecomment-6724131351): repo_tests/changes_job_equivalence_15360_test.py causes 6 of the 12 remaining conflicting PR pairs. PRs that widen the python path filter add entries to its ALLOWED_ADDITIONS and frozen digest fixture, so adjacent edits conflict.
Acceptance criteria:
two PRs that each add a different path to the filter do not conflict on this test or its fixture (e.g. derive allowed additions from the filter diff against the merge base, or a per-entry layout);
the equivalence guarantee is unchanged (a control shows an undeclared widening still fails);
a re-run pairwise sweep shows 0 conflicts on this file.
Measured against origin/main at b4df186. Both designs gate against the merge base, as #21169 does. Neither touches a floor= line or repins anything, so the rule that a branch doesn't repin (RATCHET_BASELINES.md:604) is not engaged.
The three per-PR tables are removed: ALLOWED_ADDITIONS, ISSUE_17822_ENTRIES with its count, and the fixture's sha256 digests. They are replaced by these rules:
Every head entry not in the snapshot is declared in place, with a #NNNN citation on its line or in the comment block directly above it.
No entry present at the merge base is removed (via _ratchet_base.base_text; fails closed). A deliberate removal needs a # retired #NNNN tombstone.
The inline migration-gate keeps its on.push.paths invariant.
The fixture keeps the historical content only, and nothing edits it per PR.
Needs maintainer sign-off: dropping header_sha256, other_jobs_sha256 and other_jobs_if_needs. Those freeze the current workflows rather than the conversion, which is why they were re-frozen in #20900, #19676 and #19406.
Controls: an uncited entry fails; a removal without a tombstone fails; BaseUnavailable propagates; a planted pair of adds that each cite a different block merges cleanly.
#21206: reach_scope_claim_17844, _reach_policy_verdicts and _reach_unscoped
Scope. The hand copy _DECLARED_SCOPES and its 58 imports are replaced by a base check: for every scoped declaration present at the merge base, the base's roots must be a subset of head's roots (via a roots-only mode of _reach_base). Widening is free. A deliberate narrowing takes a new declaration name, which needs a pinned floor for one landing, per #19676.
Verdicts and unscoped reasons. Reach/declare() gain verdict= and unscoped=, and the registry tests read those instead of the shared tables. The migration is staged: the framework accepts either source, guards are converted in chunks of at most 100 files, then the tables are deleted.
Conflict to settle first: open PR #21162 moves _DECLARED_SCOPES verbatim into a new shared module, _reach_declared_scopes.py. That is the same shared table under a new name.
Controls: a narrowed root fails and names the root; BaseUnavailable propagates; a growth= declaration without verdict= fails; a planted pair of new guards merges cleanly.
Acceptance
Re-run the pairwise sweep. The 12 remaining conflicting pairs should reach 0 on these files.
Maintainer decision (owner sign-off): drop header_sha256, other_jobs_sha256 and other_jobs_if_needs from the #15360 fixture, replaced by the in-place #NNNN citation rule and the # retired #NNNN tombstone rule against the merge base, per the design comment above.
Activity
mrveiss commentedon Nov 8, 2026
Proposed designs for #21205 and #21206 (children of #19673)
Measured against origin/main at b4df186. Both designs gate against the merge base, as #21169 does. Neither touches a
floor=line or repins anything, so the rule that a branch doesn't repin (RATCHET_BASELINES.md:604) is not engaged.#21205: changes_job_equivalence_15360
The three per-PR tables are removed:
ALLOWED_ADDITIONS,ISSUE_17822_ENTRIESwith its count, and the fixture's sha256 digests. They are replaced by these rules:#NNNNcitation on its line or in the comment block directly above it._ratchet_base.base_text; fails closed). A deliberate removal needs a# retired #NNNNtombstone.on.push.pathsinvariant.The fixture keeps the historical
contentonly, and nothing edits it per PR.Needs maintainer sign-off: dropping
header_sha256,other_jobs_sha256andother_jobs_if_needs. Those freeze the current workflows rather than the conversion, which is why they were re-frozen in #20900, #19676 and #19406.Controls: an uncited entry fails; a removal without a tombstone fails;
BaseUnavailablepropagates; a planted pair of adds that each cite a different block merges cleanly.#21206: reach_scope_claim_17844, _reach_policy_verdicts and _reach_unscoped
Scope. The hand copy
_DECLARED_SCOPESand its 58 imports are replaced by a base check: for every scoped declaration present at the merge base, the base's roots must be a subset of head's roots (via a roots-only mode of_reach_base). Widening is free. A deliberate narrowing takes a new declaration name, which needs a pinned floor for one landing, per #19676.Verdicts and unscoped reasons.
Reach/declare()gainverdict=andunscoped=, and the registry tests read those instead of the shared tables. The migration is staged: the framework accepts either source, guards are converted in chunks of at most 100 files, then the tables are deleted.Conflict to settle first: open PR #21162 moves
_DECLARED_SCOPESverbatim into a new shared module,_reach_declared_scopes.py. That is the same shared table under a new name.Controls: a narrowed root fails and names the root;
BaseUnavailablepropagates; agrowth=declaration withoutverdict=fails; a planted pair of new guards merges cleanly.Acceptance
Re-run the pairwise sweep. The 12 remaining conflicting pairs should reach 0 on these files.
mrveiss commentedon Nov 8, 2026
Maintainer decision (owner sign-off): drop
header_sha256,other_jobs_sha256andother_jobs_if_needsfrom the #15360 fixture, replaced by the in-place#NNNNcitation rule and the# retired #NNNNtombstone rule against the merge base, per the design comment above.fix(test): filter entries need their own citation, the parser is test…
Merge main into issue-21205-filter-equivalence-base (#21205)
Merge main into issue-21205-filter-equivalence-base (#21205)
mrveiss commentedon Nov 11, 2026
Partially delivered by #21211 (landed in #21323, a0cfcc1). Left open.
repo_tests/_filter_entries.py;filter_equivalence_base_21205_test.py::test_two_prs_each_adding_a_cited_entry_under_their_own_block_merge_and_both_pass(l.167), contrast at l.192test_an_uncited_new_entry_fails(l.63),test_a_dropped_or_reordered_snapshot_entry_fails(l.87)fix(test): path-filter entries are declared in place and gated on the…
mrveiss commentedon Nov 20, 2026
AC audit against main 13685f3 (2026-11-20). A branch deleted as ZERO means its content is on main; it does not by itself meet the ACs.
PR #21211 closed, branch deleted as ZERO.
repo_tests/one_paths_filter_job_15360_test.py).