onionwire/.forgejo
Sirius DevOps ef78be4035
Some checks failed
ci / test (push) Has been cancelled
fix(release): refuse to publish 0-byte assets + log on-disk sizes
Run 309 reported success but uploaded 0 bytes for both aarch64 assets
(a 0.85s 'upload' of an 18MB file). The Pack step had just listed
18258736 bytes and sha256sum -c'd OK, so the failure is in the handoff,
not the build.

- publish-release.sh now fails loudly on a 0-byte asset instead of
  publishing a release that silently breaks every download
- the workflow logs pwd, GITHUB_WORKSPACE, ls -l dist/ and the byte count
  of each dist file immediately before publishing

Ruled out: the api_curl retry wrapper. Reproduced from inside a
node:20-bullseye container (curl 7.74, same as CI) — wrapper and plain
curl both uploaded 994 bytes correctly through Cloudflare.
2026-09-10 14:20:45 -04:00
..
workflows fix(release): refuse to publish 0-byte assets + log on-disk sizes 2026-09-10 14:20:45 -04:00