Skip to content

fix(test): drop duplicated test_local_shadows field initializer (main red, #14044) - #14048

Merged
EffortlessSteven merged 1 commit into
mainfrom
fix/14044-main-red-dup-field
Nov 10, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
fix/14044-main-red-dup-field

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

What

Main is red (#14044 chain): cargo test -p ripr --lib analysis::scip::admission::tests --no-run fails with E0062 field test_local_shadows specified more than once at python_tests.rs:2168. #14023's merge resolution and the already-landed #13988 placement both added test_local_shadows: Vec::new() to the same PythonOwner initializer in reexport_package_receiver_spelling_is_withheld_when_the_package_is_shadowed.

Governing issue or accepted claim: #14044

Acceptance delta (one sentence): the duplicated field initializer is removed so the lib test target compiles again and the main routed gate can return to green.

Proof

  • cargo check -p ripr --lib --tests clean on the branch.
  • One-line deletion; the remaining initializer placement matches every other PythonOwner literal in the file. Hosted CI is the execution oracle.

Rollback

Revert; the duplicate returns and main stays red.

Non-goals


Devin Review

#14023's merge resolution and #13988's landed placement both added
test_local_shadows to the same PythonOwner initializer in
reexport_package_receiver_spelling_is_withheld_when_the_package_is_shadowed,
producing E0062 on main (#14044 red chain). Keep the canonical placement.

Co-authored-by: Claude <noreply@anthropic.com>
@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 10, 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 22 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 151 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: 6a613c2c-6d6b-46ce-a532-9c767cced4c6
Commits

Reviewing files that changed from the base of the PR and between 9b91437 and 59e3da4.

Files selected for processing: 1

  • crates/ripr/src/analysis/language/python/python_tests.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@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.

REVIEW_READY for the current published head 59e3da4

Substantive exact-head review of 59e3da4 (head of #14048), branched from current main (9b91437) on 2026-11-10.

Surfaces reviewed

  • One-line deletion: the second, trailing test_local_shadows: Vec::new() initializer in reexport_package_receiver_spelling_is_withheld_when_the_package_is_shadowed (python_tests.rs), which #14023's merge resolution had appended after the identical field that main's #13988 placement already carried after ambiguous_src_modules. E0062 (field specified more than once) made the lib test target unbuildable on main (#14044 red chain, routed run 42747712489).
  • The remaining placement matches every other PythonOwner literal in the file (single occurrence per initializer at 14 sites); no other initializer carries a duplicate.
  • No behavior change: struct field values are identical (Vec::new()), only the redundant second write is removed.

Validation observed on this head

  • cargo check -p ripr --lib --tests: exit 0.
  • cargo fmt -p ripr -- --check: pass (no reformat).
  • Hosted CI is the execution oracle for the full matrix.

Residuals

  • The merge-order race that let two same-surface PRs land sequentially green and red main in combination is a process gap, not fixed by this PR; noted on #14044.

Reviewed by the authoring session; ready for merge convergence.

@github-actions

Copy link
Copy Markdown
Contributor

ripr static exposure check

Commit 59e3da44e1bd · run · advisory, static evidence only (not a mutation run).

#ripr agent static-advisory base=9b9143798615bbf1a14c2dbd23a2359a29942078 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 29s.

@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.

Evidence gaps

  • No late cargo-test receipt was available, so successful compilation is supported by the diff and prior exact-head check evidence but not independently confirmed in this lane.
  • Model proof intent was rejected by deterministic validation.
  • The acceptance claim is compile-red before and compile-green after, but a current executable test receipt is not included in the shared evidence.
  • The focused ripr sensor failed with exit code 2, and the cargo-test receipt is absent in the supplied packet; therefore execution proof beyond the seeded branch cargo-check claim is not independently available here.
  • The local evidence does not include the final cargo-test receipt, while the ripr sensor failed with exit code 2.

@EffortlessSteven
EffortlessSteven merged commit 06e1ad2 into main Nov 10, 2026
79 checks passed
@EffortlessSteven
EffortlessSteven deleted the fix/14044-main-red-dup-field branch November 10, 2026 05:00
EffortlessSteven pushed a commit that referenced this pull request Nov 10, 2026
…licate fixes removed

#14047 and #14048 each removed one of the two duplicate initializers, leaving
the re-export shadow test owner without the field (E0063) on main.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW
EffortlessSteven added a commit that referenced this pull request Nov 10, 2026
…#4975) (#12933)

* ux(check): expose bounded cache reuse in verbose diff output (Closes #4975)

Carrier for #12566 (head c01723a), resolved against main b80ce95/0244de7d:
repo.rs hunk follows the fn move from #12497; blocked-store test blocks the
repo-file-facts layer dir so it no longer pins a file-fact schema version.

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

* Clone the file-fact cache stats into the check output instead of emptying the consumed-sources carrier

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

* fix(check): withhold nonportable cache failure details

* fix(check): preserve portable OS error details

* fix(check): keep admission file-fact cache stats when a same-run fallback rebuilds; define recomputed as misses plus corrupt

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

* fix(check): keep run order in merged cache failures, clean up test workspaces, scope the cache receipt in docs

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

* test(check): assemble host-path samples at run time for the local-context policy

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

* fix(main-health): restore the test_local_shadows initializer both duplicate fixes removed

#14047 and #14048 each removed one of the two duplicate initializers, leaving
the re-export shadow test owner without the field (E0063) on main.

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

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
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