Tests / tests (push) Failing after 2m30s
`curl -f` swallowed Gitea's error response, so the 3-attempt upload failure on the 6330 MiB ISO reported nothing diagnosable. Capture the status code via -w, print up to 2 KB of the response body for both HTTP-level and transport-level failures, and clear upload.json at the start of each attempt so a stale body cannot be misreported.