Skip to content

Find unpublished releases by ID and resume verified drafts - #18

Merged
Sparkz400 merged 1 commit into
mainfrom
codex/resume-verified-release-draft
Nov 2, 2026
Merged

Sparkz400 merged 1 commit into
mainfrom
codex/resume-verified-release-draft

Conversation

@Sparkz400

@Sparkz400 Sparkz400 commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

The release workflow uploaded beta.3 successfully, then GitHub returned 404 from the release-by-tag endpoint because that endpoint only returns published releases. The draft and its eight verified assets remain intact.

Resolve the draft with the CLI and use its numeric release ID for REST reads. Add a maintainer-triggered recovery path from main that checks out the existing tag, reruns the original source/CI/manifest/attestation checks, and publishes only a complete draft whose asset hashes match that verified build. Recovery does not upload or replace files, and rejects a different tag, non-beta release, changed assets or an already-published release. Tag and manual runs share a concurrency group.

Validation: actionlint; actual draft lookup by ID; all eight downloaded draft files pass the source, manifest, checksum and SPDX checks. The exact workflow guard accepts that complete draft and rejects seven modified metadata cases (published, wrong tag, non-beta, missing, changed, duplicate and extra assets). Required Windows/CodeQL checks run before merge. After merge, resume the retained beta.3 draft and verify the downloaded immutable release end to end. No production application behavior or existing tag changes.

@Sparkz400
Sparkz400 merged commit 4519900 into main Nov 2, 2026
4 checks passed
@Sparkz400
Sparkz400 deleted the codex/resume-verified-release-draft branch November 2, 2026 23:26
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