Stop review worktree creation after PR fetch failure #434

Closed
opened 2026-04-26 23:33:03 +00:00 by barrettruth · 0 comments
barrettruth commented 2026-04-26 23:33:03 +00:00

Problem

The review worktree adapter starts git worktree add even if the preceding PR fetch fails. That hides the fetch error and can replace it with a misleading later worktree failed message.

Proposed solution

Check the fetch result first, surface the real fetch error, and only run git worktree add when the fetch step succeeds.

Notes

  • root tracker: #170
## Problem The review `worktree` adapter starts `git worktree add` even if the preceding PR fetch fails. That hides the fetch error and can replace it with a misleading later `worktree failed` message. ## Proposed solution Check the fetch result first, surface the real fetch error, and only run `git worktree add` when the fetch step succeeds. ## Notes - root tracker: #170
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/forge.nvim#434
No description provided.