Skip to content

fix: repair the release pipeline's changelog plugin resolution - #55

Merged
camcima merged 1 commit into
mainfrom
fix/release-changelog-plugin
Aug 19, 2026
Merged

fix: repair the release pipeline's changelog plugin resolution#55
camcima merged 1 commit into
mainfrom
fix/release-changelog-plugin

Conversation

@camcima

@camcima camcima commented Aug 19, 2026

Copy link
Copy Markdown
Owner

pnpm release in this repo currently fails before doing anything:

ERROR The requested module '@conventional-changelog/git-client'
does not provide an export named 'isPrereleaseVersion'

Found while auditing the changelog-generator setup across the libraries. This is the only one of the nine where the release pipeline is broken.

Cause

@release-it/conventional-changelog@12 depends on conventional-recommended-bump@12.1.0, which imports isPrereleaseVersion from @conventional-changelog/git-client. That export only exists in git-client 3.1.2+, but this lockfile resolved 3.1.0.

Why here and not elsewhere: ziggurat is the only repo that also runs release-it-pnpm, which pulls a second conventional-changelog stack (git-client@2.7.0, conventional-recommended-bump@11.2.0) alongside the first. That second stack is what held the resolution back. duraflows and werken use the same plugin without it and both dry-run clean — I verified each.

Fix

Refreshes the lockfile to git-client@3.1.2 and adds a pnpm.overrides entry so a future transitive update can't silently reintroduce it. The override is deliberate: this failure only surfaces when you attempt a release, which is the worst possible moment to find out, and the repo already uses pnpm.overrides elsewhere.

Lockfile + package.json only — no source, config, or release-behaviour changes.

Verification

Reproduced and fixed from the committed dependency state, not a loose install:

before after
pnpm install --frozen-lockfile then dry run isPrereleaseVersion error, aborts no error
changelog step never reached Writing changelog to CHANGELOG.md

Command used: npx release-it 0.2.1 --ci --dry-run --no-git --no-npm --no-github.release (nothing committed, tagged, or published).

Note: the dry run still prints two ERROR lines about creating the GitHub release via a link — that is release-it's normal fallback when GITHUB_TOKEN is unset, not a failure. Setting that token would make pnpm release fully self-contained here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JLxceiNFfXfpGoxdfQEZqw

`pnpm release` currently fails before doing anything:

    ERROR The requested module '@conventional-changelog/git-client'
    does not provide an export named 'isPrereleaseVersion'

@release-it/conventional-changelog@12 depends on
conventional-recommended-bump@12.1.0, which imports `isPrereleaseVersion`
from @conventional-changelog/git-client. That export only exists in
git-client 3.1.2 and later, but the lockfile resolved 3.1.0.

This repo is the only one of the group that also runs release-it-pnpm,
which pulls a second conventional-changelog stack (git-client 2.7.0 and
conventional-recommended-bump 11.2.0) alongside the first — which is what
pinned the resolution to the older version. duraflows and werken use the
same plugin without that second stack and are unaffected.

Refreshes the lockfile to git-client 3.1.2 and adds a pnpm override so a
future transitive update cannot silently reintroduce the break — the
failure only surfaces when a release is attempted, which is the worst
time to discover it.

Verified: with `pnpm install --frozen-lockfile`, a release-it dry run no
longer raises the module error and reports "Writing changelog to
CHANGELOG.md".

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JLxceiNFfXfpGoxdfQEZqw
Copilot AI lite review requested due to automatic review settings August 19, 2026 11:28

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.85%. Comparing base (3b2cb15) to head (8393c8c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #55   +/-   ##
=======================================
  Coverage   99.85%   99.85%           
=======================================
  Files          11       11           
  Lines         668      668           
  Branches      153      153           
=======================================
  Hits          667      667           
  Misses          1        1           
Flag Coverage Δ
unit 99.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@camcima
camcima merged commit 5b6fb81 into main Aug 19, 2026
11 checks passed
@camcima
camcima deleted the fix/release-changelog-plugin branch August 19, 2026 12:25
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