Repository navigation
fix(test): drop duplicated test_local_shadows field initializer (main red, #14044) - #14048
Conversation
#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>
|
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 22 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
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.
ripr static exposure checkCommit Took 29s. |
There was a problem hiding this comment.
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.
…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
…#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>
What
Main is red (#14044 chain):
cargo test -p ripr --lib analysis::scip::admission::tests --no-runfails with E0062field test_local_shadows specified more than onceatpython_tests.rs:2168. #14023's merge resolution and the already-landed #13988 placement both addedtest_local_shadows: Vec::new()to the samePythonOwnerinitializer inreexport_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 --testsclean on the branch.PythonOwnerliteral in the file. Hosted CI is the execution oracle.Rollback
Revert; the duplicate returns and main stays red.
Non-goals