Skip to content

fix(e9): publish beta drafts by release ID - #160

Merged
gnanirahulnutakki merged 1 commit into
devfrom
gnanirahulnutakki/fix/e9-beta-draft-publish
Jul 14, 2026
Merged

fix(e9): publish beta drafts by release ID#160
gnanirahulnutakki merged 1 commit into
devfrom
gnanirahulnutakki/fix/e9-beta-draft-publish

Conversation

@gnanirahulnutakki

Copy link
Copy Markdown
Member

Root cause

v0.3.0-beta.1 safely failed at final publication because GitHub returns 404 for a draft through releases/tags/{tag}. Its signed artifacts remain in an unpublished draft; latest stable is unchanged.

Fix

  • resolve the workflow-created draft via gh release view <tag> --json databaseId
  • PATCH that ID with draft=false, prerelease=true, and raw string make_latest=false
  • require this draft-aware lookup and forbid the draft-invisible tags endpoint in the policy test

Validation

  • focused release policy/identity/release-PR tests
  • make ci
  • make release-check
  • manual red-team review of draft lookup, stable path preservation, and immutable recovery

No tag rewrite, force push, draft deletion, or manual publication is included. After green dev -> main promotion, the corrected workflow will publish a new signed v0.3.0-beta.2.

Closes #159
Refs #154, #156, #157

GSTACK-Checkpoint: 2026-07-14/e9-beta-draft-publish#1
Signed-off-by: Gnani Rahul <gnani.nutakki@gmail.com>
@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: aa9cca36-18f2-49af-8a83-63068200086e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch gnanirahulnutakki/fix/e9-beta-draft-publish

Comment @coderabbitai help to get the list of available commands.

@gnanirahulnutakki
gnanirahulnutakki merged commit ad0a819 into dev Jul 14, 2026
7 checks passed
@gnanirahulnutakki
gnanirahulnutakki deleted the gnanirahulnutakki/fix/e9-beta-draft-publish branch July 14, 2026 21:06
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