docs(release-skill): document the new-npm-package publish gotcha#4219
Conversation
A brand-new @dashevo/* package breaks the release's NPM publish job: it publishes via trusted-publishers OIDC, which cannot bootstrap a package that has never existed on npm (--access public / --tolerate-republish are already set and are not the fix). Document the symptom, the one-time token-authenticated first publish + re-run that makes the run green, the CDN negative-cache read-404 caveat, and the prevention (first-publish new packages before the release that ships them). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 21 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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus 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 |
|
🕓 Ready for review — 31 ahead in queue (commit 8622d64) |
What was done
Adds a section to the project
releaseskill capturing a release-process gotcha hit while cutting4.1.0-beta.2.The gotcha:
release.yml's Release NPM packages job publishes via npm trusted-publishers OIDC, which can only publish to packages that already exist on npm — it can't bootstrap a brand-new@dashevo/*package. So the first release after someone adds a new npm package fails on that package withexit code 1/ registry404, even though--access publicand--tolerate-republishare already set (they are not the fix).This bit
@dashevo/document-history-contract(added in #4171) on both beta.1 and beta.2.The doc covers:
npm view … E404).npm publish --access public --tag <major.minor-suffix> --otp=…at the released version, thengh run rerun … --failedso--tolerate-republishskips everything and the run goes green.404caveat (confirm via thePUT 200line in~/.npm/_logs).Docs-only.
🤖 Generated with Claude Code