Skip to content

fix(release): drop private testing package from changeset#3

Merged
glockyco merged 1 commit into
mainfrom
fix/changeset-private-package
Jun 4, 2026
Merged

fix(release): drop private testing package from changeset#3
glockyco merged 1 commit into
mainfrom
fix/changeset-private-package

Conversation

@glockyco

@glockyco glockyco commented Jun 4, 2026

Copy link
Copy Markdown
Owner

The 4.0.0 Release workflow failed at changeset version:

🦋 error Found mixed changeset assembly-reload-cancel
🦋 error Found ignored packages: @hotrepl/testing
🦋 error Found not ignored packages: @hotrepl/sdk
🦋 error Mixed changesets that contain both ignored and not ignored packages are not allowed

Under .changeset/config.json privatePackages.version: false, the private
@hotrepl/testing package is treated as ignored. Changesets forbids a single
changeset that mixes ignored and non-ignored packages, so the
assembly-reload-cancel changeset (which listed both @hotrepl/testing and
@hotrepl/sdk) aborted versioning before the Version PR could be created.

Private packages are neither versioned nor changelogged here, so the testing
entry was inert. Dropping it lets changeset version assemble cleanly:

  • @hotrepl/protocol 3.0.0 → 4.0.0
  • @hotrepl/sdk 3.0.0 → 4.0.0
  • @hotrepl/cli / @hotrepl/mcp → 3.0.1 (dependency-range patch)

Verified locally with bun changeset status.

Follow-up (not in this PR): CI has no changeset-wellformedness gate, so this
only surfaced post-merge in the Release workflow. A changeset status check at
PR time would catch it earlier, but needs fetch-depth: 0 and --since
handling to behave under the shallow CI checkout — worth a dedicated change.

The assembly-reload changeset listed both `@hotrepl/sdk` (published) and
`@hotrepl/testing`. Under `privatePackages.version: false`, changesets treats
`@hotrepl/testing` as ignored, and a single changeset may not mix ignored and
non-ignored packages — so `changeset version` aborted with "Mixed changesets
that contain both ignored and not ignored packages are not allowed", failing
the Release workflow before it could open the Version PR.

Private packages are neither versioned nor changelogged under this config, so
the testing entry was inert noise. Drop it; the FakeRuntime helpers it covered
are still described in the changeset body and ride the `@hotrepl/sdk` bump.

`changeset status` now assembles cleanly: protocol 4.0.0, sdk 4.0.0,
cli/mcp 3.0.1.
@glockyco glockyco merged commit d5dab4d into main Jun 4, 2026
5 checks passed
@glockyco glockyco deleted the fix/changeset-private-package branch June 4, 2026 19:15
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