Skip to content

test(goldens): bless match_arm_tuple_terminal human output for the base-side Summary count - #8527

Closed
EffortlessSteven wants to merge 2 commits into
mainfrom
claude/bless-match-arm-tuple-terminal
Closed

EffortlessSteven wants to merge 2 commits into
mainfrom
claude/bless-match-arm-tuple-terminal

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Requested by Steven · project thread

Before: cargo xtask goldens check fails on clean main (Rust gates red on every PR, e.g. #8519): the three match_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.txt and human-full.txt carry (1 base-side evidence, not candidate edit targets) on the Summary line; goldens check exits 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

…se-side Summary count

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018e1icNGoyApXPrHyi95UVv
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

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.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 73 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 8475a548-f126-4f98-bb04-637fd68fc495
📥 Commits

Reviewing files that changed from the base of the PR and between e90f562 and 6c1c7c8.

📒 Files selected for processing: 9
  • fixtures/match_arm_tuple_terminal_generated_constructor/expected/CHANGELOG.md
  • fixtures/match_arm_tuple_terminal_generated_constructor/expected/human-full.txt
  • fixtures/match_arm_tuple_terminal_generated_constructor/expected/human.txt
  • fixtures/match_arm_tuple_terminal_imported_formatter/expected/CHANGELOG.md
  • fixtures/match_arm_tuple_terminal_imported_formatter/expected/human-full.txt
  • fixtures/match_arm_tuple_terminal_imported_formatter/expected/human.txt
  • fixtures/match_arm_tuple_terminal_inherited_constructor/expected/CHANGELOG.md
  • fixtures/match_arm_tuple_terminal_inherited_constructor/expected/human-full.txt
  • fixtures/match_arm_tuple_terminal_inherited_constructor/expected/human.txt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018e1icNGoyApXPrHyi95UVv
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

PR #8524 (commit \4229f8187) already landed the match_arm_tuple_terminal golden blessings on \main.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Convergence verdict: superseded by #8524 — recommend close, not merge.

Evidence (audited at 2026-10-17T20:47Z, head 6c1c7c886):

  • test(fixtures): bless 3 match_arm_tuple_terminal human goldens #8524 (merged 2026-10-17T18:52:35Z, merge commit 4229f81879ed6c3b0589a52d37143278f745a5a4) landed the identical bless for the same three match_arm_tuple_terminal_* fixtures — same 9-file path list.
  • git diff refs/pull/8527/head origin/main restricted to the three fixture dirs: the six human.txt / human-full.txt goldens are byte-identical to main. The only delta is the bless-reason line in each expected/CHANGELOG.md: this PR says RIPR-SPEC-0122: #8389 Summary names base-side findings; #8493 changed the Summary renderer... while main (via test(fixtures): bless 3 match_arm_tuple_terminal human goldens #8524) says RIPR-SPEC-0093: re-bless human summary line with the base-side evidence suffix (stale after #7836 merged).
  • That reason-line difference is the entire merge conflict (mergeable: CONFLICTING, mergeStateStatus: DIRTY). Resolving it toward this PR's wording would churn the landed bless record for zero behavior change; resolving toward main yields an empty PR. Either way there is nothing here left to land.
  • Other lane facts, so nobody re-derives: required check Ripr Rust Small Result = pass on 6c1c7c886 (run 39058716693); 0 unresolved review threads; auto-merge not armed; branch unmoved (ls-remote == headRefOid); both RIPR-SPEC-0093 and RIPR-SPEC-0122 exist under docs/specs/, so the reason-wording choice is a record-keeping call, not a correctness fix.

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.

Copy link
Copy Markdown
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants