Skip to content

Conversation

@runkids
Copy link
Owner

@runkids runkids commented Jan 8, 2026

  • Use GitHub API to wait for release assets to be fully uploaded
  • Check asset state and size before downloading
  • Add retry logic with exponential backoff for downloads
  • Download twice and verify SHA256 consistency
  • Fail early if asset is still being uploaded or modified

This prevents SHA256 mismatch errors during Homebrew installation that occur when the cask is updated before the DMG is fully available.

- Use GitHub API to wait for release assets to be fully uploaded
- Check asset state and size before downloading
- Add retry logic with exponential backoff for downloads
- Download twice and verify SHA256 consistency
- Fail early if asset is still being uploaded or modified

This prevents SHA256 mismatch errors during Homebrew installation
that occur when the cask is updated before the DMG is fully available.
@runkids runkids merged commit 947db88 into main Jan 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants