Skip to content

Reuse the same GitHub release draft across publish jobs - #285

Merged
JJLiebig merged 2 commits into
mainfrom
fix/github-release-draft-identity
Nov 18, 2026
Merged

JJLiebig merged 2 commits into
mainfrom
fix/github-release-draft-identity

Conversation

@JJLiebig

Copy link
Copy Markdown
Owner

Reuse the oldest GitHub draft for the exact release tag when the published-release lookup returns 404. Use the selected release ID for asset listing, upload, and publication, and use the asset ID for digest fallback downloads. This also makes a partial upload resumable on the same draft. The publisher preserves existing verified bytes and release notes.

The publisher previously listed assets on a newly created draft and uploaded by tag. GitHub CLI resolved the tag to the older draft, where the shared installer assets already existed. This blocked the Windows asset job and final GitHub publication for 0.169.1 and 0.170.0.

The existing release lifecycle test reproduces the overwrite failure against the previous code. It now covers draft-only lookup, an existing duplicate, repeat uploads, byte conflicts, and late assets on older releases. All 12 release helper tests passed. Formatting and Python compilation passed. Hosted blocking PR CI is disabled.

Recover 0.170.0 from its original run’s retained artifacts after merging.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 89e15053-4fde-4be1-8632-a0a320715fd7
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@JJLiebig
JJLiebig merged commit 34b2294 into main Nov 18, 2026
1 check passed
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