Repository navigation
test: packed one-copy check installs with npm and no peers, as users do - #435
Merged
Merged
Conversation
The one-copy check for @cortexkit/claustrum-client and subc-client ran 'bun install --production --omit peer', which still resolves Pi's peer tree (pi-ai -> AWS SDK). A freshly published AWS package whose own dependencies were not yet on npm broke the 2.2.2 release CI there. Users install with npm, and npm --omit=peer installs no AWS packages, so this step now runs npm install --omit=peer --omit=dev --ignore-scripts --no-audit --no-fund from the same packed tarballs, with Core forced to its packed tarball through overrides. The rest of the smoke stays on Bun.
ualtinok
force-pushed
the
test/smoke-copy-count-npm
branch
from
October 21, 2026 22:41
4ff0a41 to
95941af
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On 21 Oct the 2.2.2 release PR failed in the packed smoke because Bun resolved Pi's peer tree (pi-ai pulls the AWS SDK), and AWS had published client-bedrock-runtime and core before the @aws-sdk/types and credential-provider-process versions they require. npm with --omit=peer installs no AWS packages. The copy-count step now uses npm with --omit=peer --omit=dev --ignore-scripts, from the same packed tarballs, Core forced through overrides; the rest of the smoke stays on Bun. Still red when OpenCode pins claustrum-client 0.11.0 against Core's 0.12.0 (both copies named).
Summary by cubic
Switches the packed one-copy install smoke test from Bun to npm so it matches how users actually install OpenCode and Pi, making the check resilient to inconsistent registry states.
bun install --omit peerstill resolves Pi's peer tree, which dragged in the AWS SDK and broke the 2.2.2 release when AWS published a package before its own dependencies.npm install --omit=peer --omit=dev --ignore-scripts --no-audit --no-fundfrom the same packed tarballs, with Core forced to its packed tarball through overrides.claustrum-client0.11.0 against Core's 0.12.0.Written for commit 95941af. Summary will update on new commits.