Repository navigation
test(fixtures): bless 3 match_arm_tuple_terminal human goldens - #8524
Conversation
…t current renderer #7836 merged with goldens predating the base-side-evidence summary suffix, so goldens check is red on main for these fixtures. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XJQ3eTmHZCPmLwyb77Hexw
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
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 3 minutes. View limit details
Comment |
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- This PR is a one-line-per-file formatting_only golden re-bless. It cannot discriminate a renderer bug from a stale golden because the golden is the renderer's verbatim output. The test-review value of this PR is limited to (a) unblocking the required check on main and (b) committing to the suffix text introduced by #7836. Both are accomplished, but reviewers should not interpret merge as a behavior test of the renderer.
Verification questions
- Confirm each fixture's CHANGELOG claims 'expected/check.json' was updated, but check.json is not in the diff — either bless touched it identically (no-op) or CHANGELOG entry is stale.
- Confirm other fixtures cannot be prepared offline in this container; only the three stale-after-#7836 fixtures are re-blessed, leaving the rest of the suite blind if they also drift.
Refuted
- Re-blessed goldens encode a non-deterministic suffix that will drift and re-break goldens check.; refuted because: Suffix text is identical across all six fixtures and matches the suffix form introduced by #7836; if non-deterministic, 'goldens bless' itself would not produce a stable golden on rerun, and surrounding header/counts lines are byte-identical ruling out incidental whitespace.
- Blessing goldens to match the renderer is a tautology and review should block until cargo-test proves the renderer output is intentional; refuted because: Golden tests in this repo are explicitly blessed via xtask goldens bless with a cited RIPR-SPEC reason; the suffix '(1 base-side evidence, not candidate edit targets)' is the contract introduced by #7836 and these goldens were stale relative to that contract. The PR's purpose is mechanical synchronization, not a new behavioral test, so blocking on lack of discrimination misreads the role of fixture goldens.
Test proof
- Focused HEAD proof failed (exit 101):
cargo test --locked --package xtask --test goldens. This is a current failure, not a red/green witness.
Parked follow-ups
- Pending CHANGELOG entries name RIPR-SPEC-0093 and reference PR #7836 as the source of the suffix change; traceability is intact for audit but no new behavior is asserted.
- CHANGELOG
Pending —entry uses RIPR-SPEC-0093 reason. No verification of whetherPendingis a transient bless state or gets normalized to a dated entry on the next bless.
Evidence gaps
- cargo-test scheduled-late receipt has not landed; tests-only PR's red/green claim depends on goldens check (not cargo-test) but PR's required-check status is unverified locally.
- Model proof intent was rejected by deterministic validation.
- PR body claims goldens check is green post-bless; the CHANGELOG additions are narrative, not checked by
goldens check. Want focused confirmation that the check still passes.
Ripr Rust Small Result checked out pull/8526/merge as 22bd4b9 into e90f562, which predates #8524. Combined-tree goldens check failed on those inherited Summary-line fixtures. Bring current main (2f04b51, includes 4229f81) onto this behind-only candidate so the next Ready merge subject has the landed bless. No restack of the #7911 commits. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
Before:
cargo xtask goldens checkis red on main for thematch_arm_tuple_terminal_generated_constructor,_imported_formatterand_inherited_constructorfixtures (human.txt and human-full.txt), which turns the required check red on every PR.After: those six goldens match the current renderer, whose summary line carries the base-side evidence suffix.
#7836 merged with goldens written before that suffix existed. Only the summary line changed (
formatting_only, one line per file).How:
cargo xtask goldens bless <fixture> --reason "RIPR-SPEC-0093: ..."for the three fixtures;goldens checkthen reports no drift for them (other fixtures cannot be prepared offline in this container, and they did not drift in CI).Generated by Claude Code