Skip to content

fix(release): 🐛 Publish only pending source snapshots - #60

Merged
haskou merged 1 commit into
masterfrom
fix/release-queue
Sep 5, 2026
Merged

haskou merged 1 commit into
masterfrom
fix/release-queue

Conversation

@haskou

@haskou haskou commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Problem

The release queue replays historical merged PRs with no modern release marker. The latest master run attempted to republish #7 as 4.2.0 and failed while pushing a synthetic release commit containing an old workflow. This blocks publication of the current package changes.

Change

  • Only process merges after the last legacy release commit on the triggering first-parent history and contained in the triggering commit.
  • Tag the existing merge commit and record version/PR metadata in the annotated tag, avoiding synthetic commits with historical workflow changes.
  • Recognize both new annotation metadata and legacy release-commit metadata when resuming.
  • Reapply the recorded npm version on retries and restore package.json after publication so subsequent queued checkouts stay clean.
  • Add release-workflow regression tests to CI.

This is separate from #59 and is required to unblock its npm publication. Existing published versions and tags are preserved.

Validation

Three regression tests pass using temporary Git repositories: queue boundaries, tag identity/metadata, and legacy retry compatibility. Workflow YAML parses and every shell step passes bash -n.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-05T19:54:02.908366Z 440238c PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@haskou
haskou merged commit cd9fead into master Sep 5, 2026
3 checks passed
@haskou
haskou deleted the fix/release-queue branch September 6, 2026 20:08
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