Repository navigation
chore(worktrunk): project hooks provision a lane worktree - #4565
Conversation
A new worktree gets its venv on the primary checkout's interpreter and a copy of the testmon datafile before `wt switch --create` returns, so `devtools` selects from the first run. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Team Run ID: 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. Comment |
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: f0dead0077
ℹ️ 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".
#4566 (the devtools fold) deleted .config/wt.toml, added by #4565 minutes earlier, so every new worktree since has had no venv and no testmon seed and the daemon's worktrunk-based workspace create cannot provision. Restore the file as merged. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz Co-authored-by: Claude Fable 5.1 <[email protected]>
|
Closing out open Codex review threads on this PR (evidence checked against master at ef10e59):
Resolving the fixed, stale and refuted threads; tracked threads stay open. |
|
Closing out open Codex review threads on this PR (evidence checked against master at 8e6234c):
Resolving every thread listed; confirmed defects are fixed under the named bead. |
Summary
Adds
.config/wt.tomlsowt switch --create <branch>returns a worktree thatdevtoolscan use immediately.Problem
A fresh worktree has no venv and no testmon datafile;
uv syncwithout--pythonpicks the uv-managed CPython on this host, which lacks_sysconfigdataand cannot import anything, and testmon keys its graph on the interpreter version.Solution
Two blocking
pre-startsteps:uv sync --extra dev --frozen --python "$(readlink -f <primary>/.venv/bin/python)", then copy the primary checkout's datafile and rundevtools.testmon_provision(which discards a copy the installed testmon would not read).Verification
🤖 Generated with Claude Code
https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz