Skip to content

ci: publish authenticated drafts and recover original verified release builds - #1199

Merged
rowkav09 merged 3 commits into
mainfrom
fix/draft-release-publication
Oct 23, 2026
Merged

rowkav09 merged 3 commits into
mainfrom
fix/draft-release-publication

Conversation

@rowkav09

@rowkav09 rowkav09 commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

GitHub's REST by-tag endpoint returns 404 for the v0.2.1 draft, which prevents the final publication step after its builds succeed. Resolve authenticated drafts with gh release view and read their numeric release ID before applying the existing immutable-tag, asset checksum and downloaded-byte checks.

Add a main-only recovery workflow that reuses a completed original tag build. It requires successful source and Windows jobs plus original provenance, downloads those exact run artifacts, verifies the original workflow/tag/commit attestations, then publishes with the corrected helper. It cannot rebuild or move the release tag.

Validation: 15 focused publisher/recovery/workflow tests pass, including by-tag 404, invalid release IDs, wrong build/run/tag, running builds, absent provenance, corrupt assets and published-release refusal. Independent review found no blocker; read-only validation correctly refuses recovery while the original release build is running.

@codecov

codecov Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.47619% with 10 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
scripts/recover-release.js 89.89% 10 Missing ⚠️

📢 Thoughts on this report? Let us know!

@rowkav09 rowkav09 changed the title ci: resolve draft releases before verified publication ci: publish authenticated drafts and recover original verified release builds Oct 23, 2026
@rowkav09
rowkav09 merged commit b52490e into main Oct 23, 2026
20 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in nowplaying Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant