Repository navigation
fix(publish): keep npm pack JSON parseable and publish the rest after npm - #2147
Open
eersnington wants to merge 1 commit into
Open
eersnington wants to merge 1 commit into
eersnington wants to merge 1 commit into
Conversation
Contributor
📟 Pip-Boy ·
|
| job | wall time | slowest step |
|---|---|---|
changes |
25s | checkout · 22s |
zizmor |
9s | checkout · 3s |
report |
27s | setup-node · 10s |
⏭ hygiene |
— | skipped |
⏭ footprint |
— | skipped |
⏭ native · ${{ matrix.platform }} |
— | skipped |
⏭ self-test |
— | skipped |
⏭ execute · ${{ matrix.platform }} |
— | skipped |
🔭 Full CI trace for this commit
One OpenTelemetry trace of CI and Pip-Boy for 0b34e9e: every job and step, with the sizes above attached. Run after CI finishes.
pnpm install --frozen-lockfile --filter 'pipboy...'
pnpm --filter pipboy pipboy trace --sha 0b34e9e37c487aea6ba6161b0417b880e00ff524Add --otlp <url> to send it to any OTLP/HTTP collector.
Agent instruction: From a rivet-dev/agentos checkout, run the commands above, then read the trace file the last command prints. List the slowest jobs and steps and explain where CI time went.
… npm The prepack script logged to stdout, which broke the JSON that prepare-packed-npm parses from npm pack --json. Log to stderr instead. Crates and the GitHub release went out even when npm failed, which left 0.5.0-rc.6 on crates.io without npm packages or a software mirror. Run release-assets and publish-crates only after npm and the software mirror succeed.
eersnington
force-pushed
the
fix/publish-npm-pack-json
branch
from
November 26, 2026 11:47
2f8b3d4 to
0b34e9e
Compare
This branch has not been deployed
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.
prepare-packed-npmparsesnpm pack --jsonstdout. The@rivet-dev/agentosprepack script (copy-wasm-commands.mjs) logged "Copied N WASM command binaries" to stdout, so the parse failed and the 0.5.0-rc.6 publish stopped before npm. The script now logs to stderr.release-assetsandpublish-cratesdid not depend on npm, so rc.6 reached crates.io and GitHub releases without npm packages or a software mirror. Both now run only afterpublish-npmandpublish-software-mirrorsucceed. Order: npm → software mirror → GitHub release and R2 sidecars → crates.npm publish --dry-run --tag rc.