Skip to content

fix(test): drop the surviving duplicated owner_opt_outs initializer (lib-test E0062) - #13985

Closed
EffortlessSteven wants to merge 1 commit into
mainfrom
fix/lib-test-owner-opt-outs-duplicate
Closed

EffortlessSteven wants to merge 1 commit into
mainfrom
fix/lib-test-owner-opt-outs-duplicate

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Remove one duplicated owner_opt_outs: Vec::new(), initializer in a crates/ripr/src/output/human.rs test literal so cargo test -p ripr --lib compiles again on main.

Swarm / Source Boundary

This PR targets EffortlessMetrics/ripr-swarm, the normal development trunk for
trusted same-repo ripr work. Confirm the change belongs here:

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge,
    dependency, or repo-ops development for ripr-swarm
  • repair or follow-up for a same-repo swarm PR
  • swarm-only CI, runner, routing, source-of-truth, or agent-operating
    surface
  • other swarm-scoped work:

If this PR moves crates.io publishing, VS Marketplace publishing, Open VSX
publishing, GitHub Release assets, signing, release environments, or release
secrets, close or retarget it. Those surfaces belong in EffortlessMetrics/ripr
unless a dedicated release-boundary change has already been approved.

Source-of-truth Links

Proposal:
Spec:
ADR:
Plan item:
Governing issue or accepted claim: #13874 (feature that added the owner_opt_outs field); redness chain #13912 (merged); #13920/#13938/#13951 (closed unmerged); #13967 (merged but its rebless re-added the field, redness survives)
Acceptance delta (one sentence): cargo test -p ripr --lib compiles and passes on main again.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): fix/lib-test-owner-opt-outs-duplicate
Stack parent or prerequisite PR (if any):
Proposed replacement of PR (if any; not yet accepted):
Acceptance retained from a replaced candidate (if any):
Accepted winner and losing candidate disposition (when decided):

Overlap disclosure: #13954 carries the byte-identical one-line removal in its human.rs hunk. This standalone PR is the minimal unblock for every review lane's local proof; whichever merges first satisfies the fix, and the other's hunk becomes redundant. Relationship: same claim, needs reconciliation on merge (see also the closed attempts #13920, #13938, #13951).

Scope

  • One test-literal line removal; no production behavior change.

Scope Classification

This PR is scoped by:

  • One production behavior
  • One public contract
  • One architectural seam
  • Docs/spec/test-only evidence package
  • Other:

Production delta:

  • None. The duplicate field is inside a #[cfg(test)] literal in human.rs; production code is untouched.

Evidence/support delta:

  • None. Lib test literals already assert owner_opt_outs values; only the duplicated initializer in the render_python_not_enabled_note_uses_typed_nested_packages-area literal is removed.

Single acceptance criterion:

  • cargo test -p ripr --lib builds and passes on the PR head.

Non-goals:

Support-tier Impact

  • none
  • updates docs/status/SUPPORT_TIERS.md
  • changes a README, release, docs, CLI, JSON, editor, CI, or package claim

Claim/proof notes:

Policy Impact

  • none
  • doc artifacts
  • CI lane
  • package boundary
  • lint / Clippy
  • no-panic
  • file policy
  • generated artifact
  • dependency
  • process/network

Ledger or exception notes:

Proof

cargo test -p ripr --lib   # red witness at main 7d73d7b9613: E0062 human.rs:9264; green on this head

Result, failures, or skipped proof:

  • Red witness: cargo test -p ripr --lib at 7d73d7b9613dcc79083eab66fc894e74abdc0af7 fails with error[E0062]: field 'owner_opt_outs' specified more than once --> crates\ripr\src\output\human.rs:9264:17.
  • Green proof on this head: full cargo test -p ripr --lib build + run (see PR checks / latest comment for the recorded outcome).

Claim Boundary

What may be claimed after this PR? What must not be claimed yet?


Devin Review

…lib-test E0062)

#13967 (4dc969d) removed the owner_opt_outs after partial_scope but
its golden-rebless commit re-added one after analyzed_revisions in the
same CheckOutput literal, so cargo test -p ripr --lib still fails with
E0062 at human.rs:9265 on main 28b102c.

Removes the trailing duplicate; keeps the initializer after
unlinked_python_tests, the ordering the other literals in this file use.
Identical in intent to #13954's hunk and the closed attempts
#13920/#13938/#13951.

Red witness: cargo test -p ripr --lib at 28b102c fails E0062
human.rs:9265:17 (same duplicate, shifted by #13967's re-add).
Green: cargo test -p ripr --lib build+run on this head.
@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 Nov 9, 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 16 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 152 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: f1092f4a-d5bf-4670-ac66-4b5beb5e8ef7
Commits

Reviewing files that changed from the base of the PR and between 28b102c and 39a627e.

Files selected for processing: 1

  • crates/ripr/src/output/human.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven

Copy link
Copy Markdown
Member Author

SOURCE_REVIEW_READY for the exact head 39a627e

Reviewed at this exact head: the single deleted line in crates/ripr/src/output/human.rs, the trailing owner_opt_outs initializer in the CheckOutput test literal (was line 9265); the surviving initializer at line 9260 stays, matching the field ordering of the sibling literals in this file. Semantic owner: the owner-opt-outs disclosure feature (#13874) and its CheckOutput payload; consumers: human output rendering in the python-not-enabled path and the lib test suite compile. Oracle: cargo test -p ripr --lib builds and runs the whole lib suite on this head, so the E0062 duplicate is gone at the exact candidate hash-layout unchanged. Rollback: revert the one-line commit. Residual: cache-schema fallout stays with the merged #13967; no admin bypass, settings change, release or auto-merge.

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

SOURCE_REVIEW_READY for the exact head 39a627e

Reviewed at this exact head: the single deleted line in crates/ripr/src/output/human.rs, the trailing owner_opt_outs initializer in the CheckOutput test literal (was line 9265); the surviving initializer at line 9260 stays, matching the field ordering of the sibling literals in this file. Semantic owner: the owner-opt-outs disclosure feature (#13874) and its CheckOutput payload; consumers: human output rendering in the python-not-enabled path and the lib test suite compile. Oracle: cargo test -p ripr --lib builds and runs the whole lib suite on this head, so the E0062 duplicate is gone at the exact candidate hash-layout unchanged. Rollback: revert the one-line commit. Residual: cache-schema fallout stays with the merged #13967; no admin bypass, settings change, release or auto-merge.

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

ripr static exposure check

Commit 39a627e8753e · run · advisory, static evidence only (not a mutation run).

#ripr agent static-advisory base=28b102c01f03e750e5ea387778e881d1c1bb0786 findings=0 gaps=0
done=no changed behavior found in scope; static advisory, not runtime proof
verify=refused|outcome=no_behavioral_candidates|findings=0|exposed=0|reason=no_behavior_in_scope

Took 34s.

Copy link
Copy Markdown
Member Author

Closing as a duplicate: #13982 landed first (squash 79ca845) with the identical one-line removal. Rebase or merge main into any branch that still sees E0062.


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.

1 participant