ci(sdk-smoke): drop invalid --no-frozen-lockfile from pnpm add - #388
Conversation
The nightly "SDK publish smoke" job has been failing on every scheduled run:
ERROR Unknown option: 'frozen-lockfile'
Process completed with exit code 1
`--no-frozen-lockfile` is an option of `pnpm install`, not `pnpm add`. pnpm 10
rejects unknown options outright, so the step aborted before it ever installed
the target SDK version — the job never actually smoke-tested anything.
The flag was also unnecessary: `pnpm add` rewrites the lockfile by design, which
is exactly the "mutate one dep" behaviour the original comment was reaching for.
Verified against pnpm 10.33.0 (the version this workflow pins):
pnpm add is-odd@3.0.1 --no-frozen-lockfile -> ERROR Unknown option
pnpm add is-odd@3.0.1 -> + is-odd 3.0.1
CI=true pnpm add is-even@1.0.0 -> + is-even 1.0.0
Neither repo has an .npmrc pinning frozen-lockfile, so no override is needed.
percolator-indexer has the identical bug; fixed there in a companion PR.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 6 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Verified on a real run — and it uncovered a deeper problemI dispatched this workflow on the branch: run 29781838519. The flag fix works end to end: No more
|
Problem
The nightly SDK publish smoke job has been failing on every scheduled run (e.g. 29731320027, and the 2026-07-19 run before it):
Root cause
--no-frozen-lockfileis an option ofpnpm install, notpnpm add. pnpm 10 rejects unknown options outright, so the Override SDK dep step aborted before installing the target SDK version.This matters beyond the red X: the job never actually smoke-tested the published SDK. It failed at dependency setup, so a genuine publish regression would have looked identical to this flag bug.
The flag was also unnecessary —
pnpm addrewrites the lockfile by design, which is exactly the "mutate one dep, not reproduce a build" behaviour the original comment described.Verification
Against pnpm 10.33.0 (the version this workflow pins):
pnpm add is-odd@3.0.1 --no-frozen-lockfileERROR Unknown option: 'frozen-lockfile'pnpm add is-odd@3.0.1+ is-odd 3.0.1CI=true pnpm add is-even@1.0.0+ is-even 1.0.0CI=truematters because pnpm defaultsfrozen-lockfileto true forinstallunder CI — but that default does not apply toadd. Neither repo has an.npmrcpinning it, so no override is needed.Related
percolator-indexer has the identical bug — companion PR filed there. Its copy of this workflow was also missing the
env:hardening this repo already has, so that PR carries an injection fix too.🤖 Generated with Claude Code