Make lookup failures fallible #658
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!658
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/646-fallible-lookups"
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?
Summary
nilplus a human-readable failure instead of converting failed commands intoREAD,UNKNOWN, or default merge methods.jqfiltering.Reproduction
Before coding, I loaded the checkout with system nvim via
vim.pack+lz.n, put failing fakegh,glab, andteabinaries first in PATH, and exercised repo info, PR state, and current-PR lookup paths.permission = READ.failed to fetch <Forge> repo info: authentication failed.state = UNKNOWN.failed to fetch <Forge> PR #42 state: authentication failed.lookup_failedwithfailed to look up <PRs> for branch topic: authentication failed.Verification
vim.pack,lz.n, and fake failinggh/glab/teajust test spec/sources_spec.luajust test spec/state_spec.luajust test spec/resolve_spec.luajust test spec/pickers_spec.luajust testnix develop .#ci --command just formatnix develop .#ci --command just ciCloses #646