Conversation
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughA shell script was updated to add three inspector port defaults (API_INSPECTOR_PORT=9230, PLUGIN_INSPECTOR_PORT=9231, FILES_INSPECTOR_PORT=9232) and to pass them to each worker's Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts (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 |
There was a problem hiding this comment.
Pull request overview
This PR updates the local Cloudflare Workers startup script to prevent Node inspector/debugger port conflicts when running API/Plugin/Files workers in parallel (common in local + CI Cloudflare test runs).
Changes:
- Introduces per-worker configurable inspector port defaults (9230/9231/9232).
- Passes the dedicated inspector port to each
wrangler devinvocation via--inspector-port.
609ab25 to
0f4a490
Compare
|



Summary (AI generated)
wrangler devinspector ports for API, Plugin, and Files workers inscripts/start-cloudflare-workers.sh.Motivation (AI generated)
Cloudflare local/CI backend testing can fail when multiple workers compete for the default inspector port (
127.0.0.1:9229).Business Impact (AI generated)
This reduces Cloudflare backend test flakiness and improves CI reliability for release validation.
Test Plan (AI generated)
bun test:cloudflare:backendbun lint:backendScreenshots (AI generated)
Checklist (AI generated)
bun run lint:backend && bun run lint.accordingly.
my tests
Generated with AI
Summary by CodeRabbit