Skip to content

fix(ci): retry tagged releases on Node 24 - #27

Merged
wiedymi merged 1 commit into
mainfrom
agent/retry-tagged-releases
Jul 16, 2026
Merged

fix(ci): retry tagged releases on Node 24#27
wiedymi merged 1 commit into
mainfrom
agent/retry-tagged-releases

Conversation

@wiedymi

@wiedymi wiedymi commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • run npm trusted publishing on Node 24 so npm@latest satisfies its engine requirements
  • add a manual release-tag input for retrying an existing annotated tag without moving it
  • consistently check out, validate, publish, and create release notes from the selected tag

Root cause

The v0.2.1 release validation passed, but the publish job used Node 20 and attempted to install npm 12.0.1. npm 12 requires Node 22.22.2 or Node 24.15.0 and rejected the runner before package installation.

Validation

  • parsed .github/workflows/publish.yml with the installed YAML parser
  • git diff --check
  • confirmed v0.2.1 is an annotated tag

After merge, the workflow will be dispatched for the existing v0.2.1 tag.

@wiedymi
wiedymi marked this pull request as ready for review July 16, 2026 05:44
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying restty with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4a9dc41
Status: ✅  Deploy successful!
Preview URL: https://95c9414a.restty.pages.dev
Branch Preview URL: https://agent-retry-tagged-releases.restty.pages.dev

View logs

@wiedymi
wiedymi merged commit 080686b into main Jul 16, 2026
2 checks passed
@wiedymi
wiedymi deleted the agent/retry-tagged-releases branch July 16, 2026 05:45

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4a9dc41c19

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


concurrency:
group: release-${{ github.ref }}
group: release-${{ inputs.tag || github.ref }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Normalize the release concurrency key

In this workflow, a tag push for v0.2.1 resolves this group to release-refs/tags/v0.2.1, while the manual retry added here with input v0.2.1 resolves to release-v0.2.1; because cancel-in-progress: false only serializes runs with the same group, dispatching a retry while the tag-push run is still pending or running can let both runs reach npm publish/GitHub release creation for the same version concurrently. Use the same normalized tag value for both triggers.

Useful? React with 👍 / 👎.

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