Repository navigation
fix(tests): main lib tests compile and the #10011 root parity helper uses the CLI's native root spelling - #10035
EffortlessSteven wants to merge 2 commits into
Conversation
…itializer Merge repair: #8989 (wave 2, Lane W) landed an app/test_stub.rs test initializer for RustTestStub without the already_present field that #8990 (wave 2, Lane X) added to the struct, so main HEAD fails cargo check --workspace --all-targets with E0063 and every open PR's merge ref inherits the red. Set already_present: false, matching the repair-ready stubs at app/test_stub.rs:1543 and :1600, so the test's repair-ready premise holds.
… CLI renders The #10011 parity helper built its expected CLI token from display_path, which folds a literal backslash to a slash. The CLI renders the native Unix root, so three root_tests failed on Linux for a literal-backslash root; the E0063 compile break on main had hidden them. Use root_path_display, the CLI's own spelling. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Ko9uTzfEN9vJcshsDpo2NB
|
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 1 minute. View limit details
Comment |
|
Independent review of head caf2c85 (fresh subagent, source-checked): no findings. It confirmed the CLI builds its Generated by Claude Code |
|
Closing as superseded. #10027 landed on main (6e162bd) with both of this PR's changes (the Generated by Claude Code |
Governing issue or accepted claim: main-health repair; follows #10031 (compile break from #8989 x #8990) and #10011 (#10009)
Acceptance delta (one sentence):
cargo test -p ripr --libcompiles and passes on main again, including the threemcp::repair::freshness_tests::root_testswitnesses for a literal-backslash Unix root.What changed
Two test-only commits, both required for a green lib-test run:
already_present: falsein theRustTestStubinitializer atapp/test_stub.rs:2394(the one-line change from fix(agent): name already_present in the Lane W repair-journey stub initializer #10031; fix(agent): stub names the repair journey it feeds (wave 2, Lane W) #8989 and fix(agent): stub rewrite idempotency and truthful grip wording (wave 2, Lane X) #8990 each passed against a base without the other). Carried here so this PR compiles; fix(agent): name already_present in the Lane W repair-journey stub initializer #10031 is superseded.mcp/repair_freshness_tests.rs: the mcp: project durable-attempt next_command with the portable root #10011 parity helper built the expected CLI root token withdisplay_path, which folds\to/. The CLI rendersroot_path_display(native Unix spelling), so for the literal-backslash root three tests failed on Linux. The compile error had hidden this; fix(agent): name already_present in the Lane W repair-journey stub initializer #10031's hosted run surfaced it (durable_selected_awaiting_mcp_projects_portable_continue_root,durable_selected_restart_failed_...,durable_selected_restart_open_gap_...). The helper now usesroot_path_displayfor the CLI token. The leak check still rejects the raw, slash-folded and shell-quoted spellings in the MCP projection.Proof
cargo test -p ripr --lib mcp::repair::freshness_tests::root_tests: 3 passed, 3 failed.cargo test -p ripr --lib mcp::repair: 66 passed, 0 failed; fullcargo test -p ripr --lib: 13794 passed, 0 failed, 1 ignored.cargo xtask precommitexit 0.No production code or output changes; no changelog entry (test-only).
Generated by Claude Code