Repository navigation
fix(workspaces): folders without Git no longer get a copy of the whole project (backport #288) - #145
HaukeSchnau wants to merge 1 commit into
Conversation
…e project A new workspace for a plain folder copied the folder. Copies of large folders failed or ran into the size limit (a scheduled task retried a 174 GiB copy every day, and launches failed when du timed out), and no copy workspace exists on any host. Plain folders now take upstream's path: a folder that tracks Git folders or has a worktreeLayout gets upstream's task folder as before, and any other plain folder gets upstream's answer for a folder with nothing to check out. The composer offers managed workspaces only in jj checkouts, and a scheduled worktree task in such a folder saves as a root task, as upstream does.
Codex Review Summary: ✅ CompletedThis 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. |
|
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 58 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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e391ef73a0
ℹ️ 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".
| // A folder that is not a Git repository, Scratch included, cannot hold a worktree. | ||
| // Selected tracked repositories get worktrees whether or not the folder is a repository. | ||
| const workspaceStrategy: ScheduledTask["workspaceStrategy"] = | ||
| input.workspaceStrategy.type === "worktree" && |
There was a problem hiding this comment.
Handle saved workspace tasks for plain folders
For a non-isolated { type: "workspace" } task saved for a plain folder with no task-folder plan, this conversion only handles worktree. The scheduled-task editor preserves unchanged saved strategies, so the task continues to dispatch as workspace, which ThreadLaunchService.resolveLaunchStrategy now rejects for that folder. These tasks will keep failing on scheduled runs after upgrade; handle or clearly reject the saved strategy rather than leaving it enabled to fail repeatedly.
Useful? React with 👍 / 👎.
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action not completed
|
|
@coderabbitai review |
Action not completed
|
Mirror of schnau/t3code#290 for CodeRabbit. Discuss and merge it on Gitea; this pull request closes when that one does.