Skip to content

feat(cli): bundle Coana in 2.1 RC builds - #1756

Merged
John-David Dalton (jdalton) merged 1 commit into
v1.xfrom
fix/cli-release-build-ci
Nov 24, 2026
Merged

John-David Dalton (jdalton) merged 1 commit into
v1.xfrom
fix/cli-release-build-ci

Conversation

@jdalton

@jdalton John-David Dalton (jdalton) commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Coana reachability works in the 2.1 RC native CLI without a separate download. The SEA build downloads the pinned Coana CLI and analyzers from the Socket API, verifies each artifact, and embeds them for macOS arm64 and Linux arm64/x64. It fails clearly when the build token cannot access the artifacts.

This also restores the native release flow by preserving startup chunks, staging Socket Patch and cdxgen, and parsing release output. v1.x behavior is unchanged. The Coana update skill names the Publish CLI workflow without linking to Coana’s private repository.

@cursor

cursor Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Build packaging and a narrow type assertion only; no runtime behavior change beyond restored chunk splits.

Overview
Restores Rollup manualChunks entries in the dist CJS build so runtime.mts, env.mts, spawn-sync.mts, and spinner.mts again emit as separate bundles (runtime-constants, env-helpers, spawn-sync, spinner) instead of being folded into the generic utils chunk.

Also fixes parsePnpmLockfile’s return typing by casting through unknown to LockfileObject, so TypeScript accepts the narrowed record after the lockfile YAML parse.

Reviewed by Cursor Bugbot for commit a9482ce. Configure here.

@jdalton John-David Dalton (jdalton) changed the title fix(build): preserve CLI runtime chunk boundaries fix(cli): restore release builds and route tool updates Nov 24, 2026
@jdalton
John-David Dalton (jdalton) force-pushed the fix/cli-release-build-ci branch 2 times, most recently from d8bbc3f to cc051f1 Compare November 24, 2026 22:03
@jdalton John-David Dalton (jdalton) changed the title fix(cli): restore release builds and route tool updates feat(cli): bundle Coana in 2.1 RC builds Nov 24, 2026
@jdalton
John-David Dalton (jdalton) force-pushed the fix/cli-release-build-ci branch 3 times, most recently from 133611f to 0353223 Compare November 24, 2026 22:13
@jdalton
John-David Dalton (jdalton) merged commit 4e675c1 into v1.x Nov 24, 2026
25 checks passed
@jdalton
John-David Dalton (jdalton) deleted the fix/cli-release-build-ci branch November 24, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants