A Valid GitHub Release URL Does Not Confirm Your Files Uploaded Successfully
A developer discovered that GitHub Release URLs can appear fully functional even when asset uploads have silently failed, leaving releases with no actual files inside. This happens because creating a release and uploading assets are separate API calls, meaning the first can succeed while the second fails due to permissions, filename mismatches, or network errors. The author proposes a five-step verification process: confirming expectations, checking the asset list via API, re-downloading through the consumer's path, comparing SHA-256 hashes, and logging each result individually. Relying solely on a working URL as proof of a successful upload is insufficient, since it only confirms the release container exists, not its contents. Hash comparison is highlighted as the only reliable way to verify file integrity, as filenames and visual inspection cannot distinguish between different versions of the same file.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in