Skip to content

fix(release): 🐛 Synchronize package version after publication - #75

Merged
haskou merged 2 commits into
masterfrom
fix/release-version-sync
Sep 16, 2026
Merged

haskou merged 2 commits into
masterfrom
fix/release-version-sync

Conversation

@haskou

@haskou haskou commented Sep 16, 2026 •

Copy link
Copy Markdown
Owner

The release workflow publishes a bumped package version but restores package.json afterward, leaving the repository at 4.0.1 while npm latest is 7.0.2. Update the manifest to 7.0.2 and synchronize it automatically after the release queue completes.

Synchronization reads npm latest, starts from the current remote branch, changes only package.json, and pushes a dedicated chore(release) commit. Rejected pushes retry from the updated remote without force-pushing; matching versions are a no-op, while registry failures, invalid versions, and downgrades fail explicitly. The sync commit does not match the legacy release baseline marker or create another release.

Validation: nine release-workflow tests pass, including real local Git remotes, idempotency, preservation of newer commits, concurrent push recovery, registry failure, malformed versions and downgrade protection. Package and documentation builds pass; workflow YAML and Bash syntax checks pass. Independent review found no actionable issues.

Review follow-up: reject concurrent package renames after every checkout, and retain the successfully published version if npm latest is temporarily stale. Both cases have regression tests.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 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-16T18:47:27.546163Z 8defc33 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 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@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: 8defc33cdf

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

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
@haskou
haskou merged commit 931385a into master Sep 16, 2026
2 checks passed
@haskou
haskou deleted the fix/release-version-sync branch September 16, 2026 18:50
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