Repository navigation
Conversation
|
[Medium impact] The changes affect local development worktrees and development browser profiles. The PR appears safe to merge, with a non-blocking improvement needed for failed worktree creation. Reviews (1) · Last reviewed commit: "dev.sh: add wt for parallel worktrees" · Reviewed by Greptile |
| git -C "$_root_dir" worktree add -b "$name" "$dest" HEAD | ||
| git -C "$_main_repo" worktree add -b "$name" "$dest/helium-chromium" HEAD |
There was a problem hiding this comment.
Failed creation blocks retries. Both branches are created before the large source copy and
gn_gen. If the copy runs out of disk space or gn_gen fails, the command exits without undoing those branches. Retrying the same name then hits the existing-branch check, even after he wt rm, which keeps branches. Add failure cleanup for branches and worktrees created by this invocation so developers can fix the cause and retry without manual Git cleanup.
No description provided.