Surface base branch resolution failures during create_pr #433
Labels
No labels
bug
documentation
duplicate
enhancement
fugitive
good first issue
help wanted
invalid
question
v0.1.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/forge.nvim#433
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
create_prcurrently falls back tomainifdefault_branch_cmdfails or returns unusable output. That hides the underlying failure and can send later flows down the wrong base branch.Proposed solution
Treat base-branch resolution failures as real errors: preserve stderr/stdout when available, log the failure, and stop the flow instead of silently defaulting to
main.Notes