Repository navigation
fix(test): remove the duplicated PythonOwner shadow initializer on main (#14044) - #14059
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzTr5S4jfQDq1e81UWt
|
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 6 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Head 1172075. I read the full diff, a one-line deletion of the second test_local_shadows: Vec::new(), in one PythonOwner literal in python_tests.rs. A separate subagent checked the exact head: all 13 PythonOwner literals in the file now have exactly one test_local_shadows, and the field is required on the struct, so none can be left without it. Local proof: cargo test -p ripr --lib python_tests --no-run exits 0 and cargo fmt --check -p ripr is clean. Hosted proof on this head is the remaining evidence.
Generated by Claude Code
ripr static exposure checkCommit Took 24s. |
Governing issue or accepted claim: #14044
Acceptance delta (one sentence): The ripr lib tests compile again on main because the
PythonOwnerinitializer inpython_tests.rshas exactly onetest_local_shadowsfield.What
On main at 4ff2cfc,
cargo test -p ripr --libfails to compile with E0062:test_local_shadowsis specified twice in onePythonOwnerinitializer (python_tests.rs, around lines 2154 and 2168). This is another merge-order interaction of same-surfacePythonOwneredits (see the earlier #14048 / #14047 / #14051 chain). This PR removes the second, trailing copy.Proof
cargo test -p ripr --lib python_tests --no-run(local,CARGO_INCREMENTAL=0,-j1) finishes with exit 0 on this branch. It failed with E0062 on main before the change.cargo fmt --check -p riprreports nothing.Generated by Claude Code