tpagectl: site delete lacks non-404 error passthrough test #557
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/thwap-pagesd#557
Loading…
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?
site deleteonly special-cases 404 (friendly "site not found" message), mirroring the same gap noted in #554 forsite get. The non-404 HTTP error passthrough path is untested — e.g. a 500 from the daemon, or the 403 "not authorized to delete this site" the handler returns on an owner mismatch, should surface as the raw error without the not-found wrapper.Suggested fix: add a test asserting a non-404 HTTPError propagates unchanged.
Ref: PR #555