chore(ci): use http delete instead of curl DELETE #19

Merged
David merged 1 commit from chore/use-http-delete into main 2026-05-15 03:25:13 +02:00
Owner

Summary

Replace the best-effort curl --request DELETE in the Generic Package publish step with Nushell's native http delete --full --allow-errors. The new form checks the response status: 204 (deleted) and 404 (nothing to delete) are tolerated, anything else aborts the workflow with a clear message. This surfaces real registry-side errors (auth failure, rate limiting, etc.) that the curl form silently swallowed because there was no --fail flag and no exit-code check.

Test plan

  • Next push that triggers build-binary.yml should still see "DELETE returned 204" (or 404 on the very first publish of a new tag) and the subsequent PUT should succeed.
## Summary Replace the best-effort `curl --request DELETE` in the Generic Package publish step with Nushell's native `http delete --full --allow-errors`. The new form checks the response status: 204 (deleted) and 404 (nothing to delete) are tolerated, anything else aborts the workflow with a clear message. This surfaces real registry-side errors (auth failure, rate limiting, etc.) that the curl form silently swallowed because there was no `--fail` flag and no exit-code check. ## Test plan - [ ] Next push that triggers `build-binary.yml` should still see "DELETE returned 204" (or 404 on the very first publish of a new tag) and the subsequent PUT should succeed.
chore(ci): use http delete instead of curl DELETE
All checks were successful
Check / fmt + clippy + build + tests (pull_request) Successful in 17s
Create release / Create release from merged PR (pull_request) Has been skipped
5e54f2b7e6
Replaces the bare `curl --request DELETE` with Nushell's `http delete --full --allow-errors`. The new form checks the HTTP status (204 expected, 404 tolerated) and aborts the workflow on any other code, surfacing registry-side issues that curl was silently swallowing.
David merged commit f5844ffdfb into main 2026-05-15 03:25:13 +02:00
David deleted branch chore/use-http-delete 2026-05-15 03:25:13 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pandoras-box/monkey!19
No description provided.