Repository navigation
test(oracle): ratchet the inherited reld-diff default ignores (reld#13) - #160
Merged
Merged
Conversation
A caller-supplied ignore is ratcheted per fixture: the fixture that declares it must still observe it. The ~90 inherited `--reld-defaults` patterns had no such check, because each one suppresses differences across every fixture and no single fixture can say whether it is still needed. Nothing removed them, so a default outlived the divergence it described — `.data.rel.ro` is listed as a section reld does not support, which stopped being true in #155. The run now takes the union instead. Every report contributes the defaults it declared and the ignores it observed, and at the end of a full acceptance run the harness prints the defaults no fixture observed. Those are removal candidates for reld#13, which is how the inherited list shrinks. It prints rather than fails, because which defaults get exercised depends on which fixtures the host can run. `RELD_RATCHET_DEFAULT_IGNORES=1` turns the report into a failure, for a run that covers the matrix. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
11 of 20 tasks
This was referenced Sep 17, 2026
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.
Advances #13 (Wave 2 of #153). Does not close it: this makes the inherited list shrinkable; the entries themselves come off in follow-ups driven by what this reports.
The gap
A caller-supplied ignore is already ratcheted per fixture — the fixture that declares it must still observe it, or the run fails and tells you to delete it. The ~90 inherited
--reld-defaultspatterns inapply_reld_defaultshad no equivalent, because each suppresses differences across every fixture and no single fixture can say whether it is still needed.So nothing ever removed one.
TrackedIgnore::new("section.data.rel.ro", 13)still says "We don't yet support these sections", which stopped being true in #155.What this adds
Each report now exposes the defaults that were in play for its architecture (
Report::declared_default_ignores), andReport::used_ignoresalready records a default when it suppresses something. The acceptance harness aggregates both across the run — the same shape as the existingAggregateOracleCoverage— and at the end of a full run prints the defaults no fixture observed. Those are the removal candidates.The union is the point: a default one fixture did not need may be the only thing keeping another green, so only a pattern unobserved by every fixture counts.
It prints rather than fails, because which defaults get exercised depends on which fixtures a host can run.
RELD_RATCHET_DEFAULT_IGNORES=1turns the report into a failure with the list and the instruction to remove them, for a run that covers the matrix.Note on the acceptance criteria
Already covered —
full_diff_config_rejects_unratcheted_suite_global_ignoresinacceptance_policy_tests.rs. And every default already carries a tracking issue, validated by an existing check that rejectstracking_issue == 0. What was missing was only the removal half, which is this.Verification
cargo test -p reld --test acceptance-policy— 11 passed, including two new ones covering the union behaviour and the "all observed" case.cargo fmt --all -- --check,cargo clippy -p reld -p reld-diff --all-targets -- -D warnings— clean.maintoo). The list will be in this PR's Linux acceptance job log, and the stale entries come off in a follow-up.🤖 Generated with Claude Code