Skip to content

Make new-version publish step idempotent on reruns - #2467

Draft
jaucourt with Copilot wants to merge 2 commits into
developfrom
copilot/fix-new-version-job-failure
Draft

Make new-version publish step idempotent on reruns#2467
jaucourt with Copilot wants to merge 2 commits into
developfrom
copilot/fix-new-version-job-failure

Conversation

Copilot AI commented Aug 26, 2026

Copy link
Copy Markdown

The new-version GitHub Actions job failed in npm publish with TLOG_CREATE_ENTRY_ERROR (409) when attempting to publish package versions that were already recorded. This change updates the release publish mode to avoid failing on reruns/duplicate publish attempts.

  • CI release publish behavior

    • Switched Lerna publish in scripts/github/deploy.sh from from-git to from-package.
    • This aligns publishing with package registry state (publish only versions not already present), reducing rerun fragility in new-version.
  • Scope

    • Single-line change in release automation script.
    • No changes to version calculation, tagging, changelog generation, or branch push behavior.
# scripts/github/deploy.sh
- lerna publish --registry=https://registry.npmjs.org/ from-git --yes --pre-dist-tag rc --no-verify-access
+ lerna publish --registry=https://registry.npmjs.org/ from-package --yes --pre-dist-tag rc --no-verify-access

Co-authored-by: jaucourt <287088+jaucourt@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job new-version Make new-version publish step idempotent on reruns Aug 26, 2026
Copilot AI requested a review from jaucourt August 26, 2026 13:36
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.

2 participants