Repository navigation
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 18 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Code review (code-reviewer pass) at e09e45e Verdict: APPROVE. 3 files changed, 78 behind main (needs a sync before CI). First review of this PR. Slice completeness: internally complete.
Checked and fine: one tree per commit under an owner-checked, mode-0700 cache with an env-backed location and TTL; built once under an exclusive file lock into a temp directory and renamed into place; layout version in the directory name with a legacy-layout rebuild test; the concurrent test uses real spawned processes and the SIGTERM test waits on a ready file with a deadline (no fixed sleeps); Threads: none unresolved. |
Code review (code-reviewer pass) follow-up at 0e05c4b
Verified: |
|
Code review (code-reviewer pass) at 0e05c4b Verdict: APPROVE. 3 files changed, 0 behind main. Reviewed the author commit e4b02e8 since e09e45e. No unresolved threads.
Both delta items are implemented and each has a test that fails without it. |
|
Branch audit (zero-change deletion). This PR shows 0 changed files against |
Thinking Path
The reach base tree was a registered detached worktree removed only by
atexit, so a killed run held a worktree-cap slot. The tree is now exported per commit into a shared cache and is never registered. A layout version marks the tree, so a tree built by an older layout is rebuilt rather than reused. SIGTERM removes only this process's partial builds.What Changed
repo_tests/_reach_base.py: shared per-commit tree (nogit worktree add), layout version, SIGTERM cleanup of partial builds.repo_tests/reach_base_floor_19676_test.py: adapted to the new tree.repo_tests/reach_base_shared_tree_20875_test.py: new tests (concurrent workers, not a registered worktree, reuse, stale layout rebuilt, SIGTERM leaves no partial dir).Verification
Merged current
main(clean, no conflicts).repo_tests/reach_*_test.pyrun with-n 2, plus black, isort and flake8 on the touched files; results are in the PR checks. The reach floors were not repinned and_reach_roots_record.pywas not regenerated.Risks
Reach guards now read a cached tree. Mitigated by the layout version, which forces a rebuild on a layout change. SIGINT handling and a SIGKILL test (ACs 1 and 3) are not covered here.
Model Used
Claude Sonnet 5.5 (claude-sonnet-5-5)
Issue Link
Refs #20875
Milestone: M1 - Seamless install and consistent docs. Phase label:
phase:M1.7.Refs, not Closes: the SIGINT handler and the SIGKILL leftover and sweep tests (ACs 1 and 3, and AC 4 by test) are not delivered.
Changelog fragment
Checklist
CLAUDE.mdmain(notrelease)Single-issue rationale: this fixes one shared test-infrastructure file (
repo_tests/_reach_base.py) for one defect; nothing else shares it.