errors: owner_repo with an unknown owner surfaces bare "API error 404: GetUserByName" instead of a typed, explained error #173
Labels
No labels
breaking
bug
documentation
enhancement
epic
good first issue
help wanted
refactoring
resolution/duplicate
resolution/invalid
resolution/wontfix
security
severity/critical
severity/high
severity/low
severity/medium
status/abandoned
status/blocked
status/needs-decision
status/needs-info
status/needs-verification
testing
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sixfold-space/madtea#173
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?
Hit live today:
madt_issues action=create owner_repo=<org>/<repo>where the org exists on a different forge than the session's resolved one. The forge resolution was correct and by design (owner_reposelects a repository on the session's forge, never a different forge), but the failure surfaced as:That is a bare 404 wearing an internal endpoint name - from the tool whose comparison row promises "a typed, explained error instead of a bare 404". This exact mistake (pointing
owner_repoat a repo that lives on another forge) is one of the most foreseeable ways to hold it wrong in a multi-forge world, and the error names neither the owner it looked up, the forge it asked, nor the remedy.Wanted, roughly:
Acceptance:
owner_repocalls name the owner/repo tried, the forge host asked, and the fixGetUserByNameand friends) never reaches the user-facing message