Repository navigation
P2: Include WSL worktree roots in orphan sweep and retention - #1623
Conversation
…L) roots (#1401) The WSL root enumeration landed with #1544. Pin the issue's check on the non-owned root path WSL roots share: clean past keep-N is reclaimed, dirty and working are kept. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 12db5ac94b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // #1401: WSL roots are non-owned roots like this one; only the UNC | ||
| // mapping differs (worktree-wsl.test.js). Same guards must hold. | ||
| it("retention reclaims a clean settled worktree in a non-owned root, keeps dirty and live", async () => { |
There was a problem hiding this comment.
Exercise the WSL path in this regression test
This test only sets a normal local worktreeRoot, so gcScan reaches the generic custom-root path and never exercises WSL root derivation, Linux-to-UNC conversion, or WSL Git command wrapping. Consequently, a regression that prevents retention from finding or matching actual \\wsl$ worktrees would still leave this purported #1401 test passing; construct the project/worktree with WSL paths or provide seams that let the scan run with win32 semantics.
Useful? React with 👍 / 👎.
No description provided.