Skip to content

Recover interrupted draft uploads from a complete release archive - #15

Merged
samuel-williams-shopify merged 1 commit into
mainfrom
preserve-complete-release-backup
Sep 21, 2026
Merged

samuel-williams-shopify merged 1 commit into
mainfrom
preserve-complete-release-backup

Conversation

@samuel-williams-shopify

@samuel-williams-shopify samuel-williams-shopify commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Preserve the gem, receipt, and both attestation bundles together in a release.tar asset before uploading individual release assets. Once that upload completes, a rerun can recover an interrupted draft even when the Actions artifact has disappeared. The archive uses RubyGems' existing tar support without adding a dependency.

Recovery verifies the archive digest, accepts only the four expected regular files, and then performs the existing source, package, and attestation checks. Preservation resumes missing uploads and rejects conflicting files or assets. Older complete releases still recover from their individual assets. If neither backup completed, manual restoration remains necessary.

Retains the current release-note extraction and version-only titles. Recovery instructions are maintained in the shared guide and generated agent context.

Validation: the full Sus suite, 100% measured coverage, RuboCop, and API documentation checks pass. Tests cover interrupted uploads with and without Actions artifacts, corrupted/conflicting backups, incomplete legacy drafts, unsafe archive entries, and preservation of release descriptions.

@samuel-williams-shopify
samuel-williams-shopify force-pushed the preserve-complete-release-backup branch 2 times, most recently from 835ae8b to f72aa5d Compare September 21, 2026 21:26
@samuel-williams-shopify
samuel-williams-shopify force-pushed the preserve-complete-release-backup branch from f72aa5d to dfd76ff Compare September 21, 2026 21:30
@samuel-williams-shopify
samuel-williams-shopify merged commit 5983cab into main Sep 21, 2026
17 checks passed
@samuel-williams-shopify
samuel-williams-shopify deleted the preserve-complete-release-backup branch September 21, 2026 21:33
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