Skip to content

Make release asset recovery idempotent#12

Merged
JacobLinCool merged 2 commits into
mainfrom
a/release-idempotent-assets
Jul 19, 2026
Merged

Make release asset recovery idempotent#12
JacobLinCool merged 2 commits into
mainfrom
a/release-idempotent-assets

Conversation

@JacobLinCool

Copy link
Copy Markdown
Member

Summary

  • verify existing GitHub Release asset names, uploaded state, byte lengths, and SHA-256 digests
  • skip the 190 MB upload when canonical registry artifacts already match
  • fail closed on malformed metadata while replacing only legitimate mismatches
  • document and test the idempotent recovery contract

Verification

  • pnpm run github:verify
  • pnpm run lint
  • pnpm run typecheck
  • exact-match check against the published v0.1.0 Release metadata
  • public npm/GitHub tarballs compare byte-for-byte and GitHub attestation verification succeeds

@JacobLinCool
JacobLinCool merged commit 5b162e8 into main Jul 19, 2026
1 check passed
@JacobLinCool
JacobLinCool deleted the a/release-idempotent-assets branch July 19, 2026 11:43
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.

1 participant