Repository navigation
[release] Correct versions in newly generated changelogs - #17094
Conversation
|
|
Codeowners approval required for this PR:
Show detailed file reviewers |
|
LGTM! |
There was a problem hiding this comment.
✅ Approved — No findings: the change correctly adds untracked changelogs to the files corrected after versioning, and the regression test covers it.
The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.
✅ All checks passed
🚀 Release: ✅ LGTM
No release artifacts are changed. The fix improves changelog version correction during releases.
🔒 Security: ✅ LGTM
Git is called through execFileSync with fixed argument arrays, so no input reaches a shell.
📖 AGENTS.md: ✅ LGTM
The change follows the repository conventions.
📋 Code Quality: ✅ LGTM
The file selection change is correct and covered by a real-Git regression test.
⚡ Performance: ✅ LGTM
No performance concerns.
📝 Documentation: ✅ LGTM
Internal release tooling; no documentation changes are needed.
Reviewed commit: 0256ce4a
@cloudflare/autoconfig
@cloudflare/build-output-utils
@cloudflare/codemods
@cloudflare/config
@cloudflare/containers-shared
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-functions
@cloudflare/pages-shared
@cloudflare/runtime-types
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-plugin
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
Follow-up to #17027.
The release script adjusts prerelease versions after
changeset version, but it only looked for tracked modifications. A package’s firstCHANGELOG.mdis untracked, so its dependency bullets could retain the intermediate versions. Include new, non-ignored changelogs without processing untracked manifests.The regression test uses a real Git repository to cover both new and existing changelogs and verifies that npm aliases are preserved. It fails for the new changelog with the old file selection. All 227 deployment-tool tests passed; lint and formatting passed for both changed files.
No changeset: this does not change any published package’s behavior.
Note
This is a contribution from Codex, an AI coding agent.