Skip to content

fix: publish session-kit to npm in the release chain#451

Merged
xinyao27 merged 1 commit into
mainfrom
fix/release-publish-session-kit
Jul 17, 2026
Merged

fix: publish session-kit to npm in the release chain#451
xinyao27 merged 1 commit into
mainfrom
fix/release-publish-session-kit

Conversation

@xinyao27

Copy link
Copy Markdown
Contributor

The v2 share flow made @spool-lab/core and @spool-lab/cli depend on @spool-lab/session-kit at runtime, but the Release workflow neither built nor published it. The v0.6.0 publish-npm job failed with TS2307 in packages/core; even a green publish would have shipped a dependency that doesn't exist on npm.

  • release.yml: build session-kit before core; publish it with the same idempotent publish_if_missing guard
  • release.sh: bump session-kit in lockstep (same treatment as redact)
  • session-kit: 0.0.10.6.0 so its first publish matches the already-tagged release

After merge, re-dispatching the Release workflow on main completes the v0.6.0 npm publish (build artifacts + GitHub release already succeeded and re-upload idempotently).

@spool-lab/core and @spool-lab/cli gained a runtime dependency on
@spool-lab/session-kit in the v2 share flow, but the Release workflow
neither built nor published it — publish-npm failed on the v0.6.0 run
(TS2307 in core), and even a successful publish would have shipped a
dependency that does not exist on the registry.

- release.yml: build session-kit before core, publish it alongside
  redact/core/cli with the same idempotent skip
- release.sh: bump session-kit in lockstep like redact
- session-kit: 0.0.1 -> 0.6.0 so its first publish matches the release
@xinyao27
xinyao27 added this pull request to the merge queue Jul 17, 2026
Merged via the queue into main with commit 7f83f86 Jul 17, 2026
5 checks passed
@xinyao27
xinyao27 deleted the fix/release-publish-session-kit branch July 17, 2026 14:58
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