Make mutation failures actionable #648
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
fugitive
good first issue
help wanted
invalid
question
v0.1.0
v0.2.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!648
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/636-actionable-mutation-failures"
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?
Closes #636
Summary
context: detail.on_failurecallbacks so picker recovery paths receive actionable text.Messaging
merge failed: blocked by branch protection, callback receivingnilfailed to merge PR #42: blocked by branch protection, callback receiving the same stringdelete failed: no command outputfailed to delete release v1.2.3: no command outputmerge failed: cannot merge cleanly; stdout: pull request remains openmerge failed: cannot merge cleanlymerge failed: blocked (command: tea pr merge 42 --repo owner/repo)merge failed: blockedVerification
nvimv0.12.2, isolated XDG dirs,vim.pack, andlz.nagainsta2ae078reproduced the weak merge failure: log had generic mutation context andon_failurereceivednil.nvim/vim.pack/lz.nflow againsteb4fabeproducedfailed to merge PR #42: blocked by branch protectionin both the log and callback.just test spec/system_spec.lua spec/ops_spec.lua spec/sources_spec.luajust testjust lintnix develop .#ci --command just ci54bf3ca707eb4fabea0b