fix(release): retry npm rate limits#44
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe npm publishing helper now retries rate-limited ChangesNPM publish retry handling
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. 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 |
Summary
Adds bounded retry/backoff to npm package publishing when the registry returns E429. This lets the multi-platform release resume after npm throttles package creation.
Verification
bun typecheckinpackages/opencodeContext
The v1.0.1 npm publish partially succeeded but npm rate-limited at
dcode-ai-windows-x64. GitHub Release v1.0.1 succeeded and is already public.Summary by CodeRabbit