Repository navigation
test(goldens): bless match_arm_tuple_terminal human output for the base-side Summary count - #8527
EffortlessSteven wants to merge 2 commits into
Conversation
…se-side Summary count Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018e1icNGoyApXPrHyi95UVv
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 43 minutes. View limit details
Comment |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018e1icNGoyApXPrHyi95UVv
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- This PR is a pure bless with no new assertions or test logic; test-oracle strength cannot increase here. Residual risk is concentrated in the blessed string being a brittle exact-match: any renderer tweak (punctuation, capitalization, count wording) re-reds #8519 across all three fixtures simultaneously.
- Standalone approval would be a posture failure even though diff is tests-only fixture bless; opposition lane requires red→green discrimination evidence before sign-off.
Verification questions
- Confirm discriminating oracle: 'cargo xtask goldens check' must exit 0 on this branch and would have exited non-zero on origin/main given the renderer change in #8493 landed without re-blessing #7836 fixtures. PR body states both. Late-phase cargo-test receipt will not gate this; goldens check is the sole goldens contract.
- Confirm all three fixtures received identical suffix '(1 base-side evidence, not candidate edit targets)' and identical base finding counts (2 probe(s), 2 weakly_exposed, 2 of 2 unsuppressed). Test-oracle discrimination is reduced if these fixtures are not behaviorally distinct; they may now be near-duplicates.
- Confirm only the Summary line changed in each human/human-full file; counts, mode, root, outcome, and findings bodies are byte-identical before/after.
- Strongest non-tautological test: did goldens check actually transition red→green on this exact branch and does cargo-test late receipt land clean?
Refuted
- Blessing three fixtures in one PR is too broad and risks masking renderer regressions across other untested fixtures.; refuted because: Diff is strictly scoped to the three fixtures #7836 added; CHANGELOG reasons are per-fixture and cite RIPR-SPEC-0122. Broader regression coverage is the job of other fixtures, not this tests-only bless. Scope matches the stated failure mode (#8519 red on every PR).
- Three identical Summary strings across fixtures indicate a copy-paste artifact rather than independent oracle coverage.; refuted because: The fixtures are intentionally sibling scenarios (generated_constructor / imported_formatter / inherited_constructor) probing different terminal-match-arm cases. Identical Summary wording is expected because they share the same renderer output shape; behavioral distinction lives in the findings body, not the Summary header.
Test proof
- Focused HEAD proof failed (exit 101):
cargo test --locked --test xtask-goldens -- --nocapture. This is a current failure, not a red/green witness.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- cargo-test late evidence still pending receipt; pre-gate trust depends on it landing clean for xtask goldens or all relevant test targets.
|
PR #8524 (commit \4229f8187) already landed the match_arm_tuple_terminal golden blessings on \main. |
|
Convergence verdict: superseded by #8524 — recommend close, not merge. Evidence (audited at 2026-10-17T20:47Z, head
Decision needed from the author: close this PR as superseded by #8524, or — if the RIPR-SPEC-0122 wording is preferred over main's RIPR-SPEC-0093 — refile it as a tiny docs-only change rebased on current main. |
|
Closing as superseded: #8524 already landed the identical bless on main (goldens byte-identical; only the CHANGELOG reason wording differs, which isn't worth churning). Generated by Claude Code |
Requested by Steven · project thread
Before:
cargo xtask goldens checkfails on clean main (Rust gatesred on every PR, e.g. #8519): the threematch_arm_tuple_terminal_*fixtures added by #7836 have a Summary line without the base-side count that #8493 added to the renderer.After: those fixtures'
human.txtandhuman-full.txtcarry(1 base-side evidence, not candidate edit targets)on the Summary line;goldens checkexits 0 on this branch.How:
cargo xtask goldens bless <fixture> --reason "RIPR-SPEC-0122: ..."for the three fixtures. Only the Summary line changed in each file (wording only, no classification change); CHANGELOG.md in each expected dir records the reason. No other open PR blesses these (searched).Generated by Claude Code