Clarify delivery exit statuses by failure phase

This commit is contained in:
2026-11-01 19:26:30 +00:00
parent 7b5c1285a2
commit 6bed1cd691
4 changed files with 97 additions and 12 deletions

View File

@@ -26,8 +26,11 @@ selection and introduces authenticated, read-only credential preflight.
establish release-write or asset-write permission.
- The CLI keeps `RELEASEKIT_GITEA_TOKEN` as its default token environment
setting and preserves configured environment/file precedence. Selection,
credential, and inaccessible-destination errors return status 2; unavailable
verification and cancellation return status 1.
local credential-loading, and classified preflight configuration/access
errors return status 2; unavailable preflight and cancellation during
preflight/preparation return status 1. Later authorization failures follow
delivery outcomes. An unresolved write returns status 3, including when
cancellation prevents reconciliation; known delivery failures return 1.
- Binary `ci-deliver` checks credentials before application dependency
downloads and checks again during delivery. The automatic check now precedes
full local artifact size and digest verification; those checks still finish