Skip to content

fix(release): serialize canonical draft creation - #258

Merged
syzsunshine219 merged 1 commit into
MemTensor:mainfrom
syzsunshine219:codex/fix-draft-release-dedup
Aug 18, 2026
Merged

fix(release): serialize canonical draft creation#258
syzsunshine219 merged 1 commit into
MemTensor:mainfrom
syzsunshine219:codex/fix-draft-release-dedup

Conversation

@syzsunshine219

@syzsunshine219 syzsunshine219 commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Automatically create Draft Releases only for merged MemTensor:release/vX.Y.Z → main pull requests.
  • Keep workflow_dispatch as the explicit smoke/recovery entry point.
  • Serialize automatic and manual Draft Release mutations through one job-level concurrency group with queue: max and no cancellation.
  • Tighten the release-branch parser to require the exact release/vX.Y.Z form.

Incident prevented

Merging both v1.0.8 → main and release/v1.0.8 → main emitted two merged-PR events. Their different concurrency groups allowed both jobs to create and mutate the same Draft Release concurrently, so asset upload and cleanup interfered with each other. Bare v* and fork release PRs now skip the release job; canonical and manual runs queue instead of racing.

Verification

  • Regression assertions failed against the previous dual-trigger/raw-group workflow.
  • npm run test:release-workflow: 20/20 passed.
  • Project Harness Full Gate passed on 553b5d342df0cda6dc4877836a794f6162e1edf6.
  • Independent diff review found no P0/P1 issues; the requested exact boolean-grouping regression assertion is included.

@syzsunshine219

Copy link
Copy Markdown
Collaborator Author

Project Harness review handoff marker. Only reviews submitted strictly after this GitHub timestamp qualify.

@syzsunshine219
syzsunshine219 marked this pull request as ready for review August 18, 2026 16:14
@syzsunshine219
syzsunshine219 merged commit 7f22c9c into MemTensor:main Aug 18, 2026
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