mirror of
https://github.com/instructkr/claw-code.git
synced 2026-04-05 23:54:50 +08:00
Replace with_current_dir+render_diff_report() with direct render_diff_report_for(&root) calls in the three diff-report tests. The env_lock mutex only serializes within one test binary; cargo test --workspace runs binaries in parallel, so set_current_dir races were possible across binaries. render_diff_report_for(cwd) accepts an explicit path and requires no global state mutation, making the tests reliably green under full workspace parallelism.