Fix bin/dev route argument format#2309
Conversation
Pass --route as a single argument with = instead of two separate arguments. Without this, the DEFAULT_ROUTE value is treated as a standalone command rather than the value for --route, causing "Unknown argument: hello_world" error.
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
WalkthroughThe bin/dev script was modified to pass the default route argument using a combined format Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
@claude review this PR. |
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
|
@K4sku big thanks! perfect! |
- Add [16.2.1] section with release date 2026-01-18 - Add PR #2309 fix for bin/dev route argument parsing - Move PR #1868 benchmarking entry to 16.2.1 - Update version links at bottom of file Co-Authored-By: Claude Opus 4.5 <[email protected]>
## Summary - Add [16.2.1] section with release date 2026-01-18 - Add PR #2309 fix for bin/dev route argument parsing under Fixed - Move PR #1868 benchmarking entry to 16.2.1 under Developer (Contributors Only) - Update version links at bottom of file ## Test plan - [x] Pre-commit hooks pass - [x] Changelog formatting follows conventions - [x] Version links are correct 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-authored-by: Claude Opus 4.5 <[email protected]>
Summary
--routeargument inbin/devtemplate to use single argument format (--route=value) instead of two separate argumentsProblem
When running
./bin/devwithout arguments, the DEFAULT_ROUTE value (hello_world) was being treated as a standalone command rather than the value for--route, causing:Solution
Changed from:
To:
Test plan
./bin/devwithout arguments - should no longer error./bin/dev --route=custom_route- should still work with custom routesSummary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.