Repository navigation
chatmux-relay: reject empty option values - #11113
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe CLI now treats empty strings as missing values for value flags. The test suite covers an empty ChangesCLI value validation
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This localized CLI validation change rejects empty option values before they enter configuration or pairing flows, preserving the intended error behavior without introducing an actionable merge-blocking risk. 🚥 Pre-merge checks | ✅ 23 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (23 passed)
Full details: Description checkExplanation The description explains what changed and why, and it mentions a regression test. However, it does not follow the required template or provide testing details, demo video information, review-trigger confirmation, or checklist status. Resolution Add the required Summary and Testing sections. State the test commands and manual verification performed. Complete the Demo Video section or explain why it does not apply. Include the review trigger and update all applicable checklist items. Full details: Cmux Swift Actor IsolationExplanation PASS: The pull request changes only Full details: Cmux Swift Blocking RuntimeExplanation PASS — the pull request changes only Full details: Cmux Browser Automation Off-MainExplanation PASS: The pull request changes only Full details: Cmux Expensive Synchronous LoadExplanation PASS: The pull request changes only Full details: Cmux Cache Substitution CorrectnessExplanation PASS: The pull request changes only Full details: Cmux No Hacky SleepsExplanation PASS. The pull request changes only Full details: Cmux Algorithmic ComplexityExplanation PASS. The PR changes only Full details: Cmux Swift ConcurrencyExplanation PASS: The pull-request diff against Full details: Cmux Swift `@Concurrent`Explanation PASS: The pull request changes only Full details: Cmux Swift Package BoundariesExplanation PASS: The pull request changes only Full details: Cmux Swiftpm LockfilesExplanation PASS: The PR diff against origin/main contains only Full details: Cmux Swift LoggingExplanation PASS: The pull request changes only Full details: Cmux User-Facing Error PrivacyExplanation PASS — The production diff only adds an empty-string check to existing value validation and keeps the diagnostic Full details: Cmux Full InternationalizationExplanation PASS. The PR diff only adds an empty-string check and a regression-test argument in Full details: Cmux Swiftui State LayoutExplanation PASS: The pull request changes only Full details: Cmux Architecture RethinkExplanation PASS: The pull request changes only Full details: Cmux Swift Auxiliary Window Close ShortcutsExplanation PASS: The full PR diff from merge-base e45af14 changes only Full details: Cmux Source ArtifactsExplanation PASS. The pull request changes only Full details: Cmux No Test Or Debug Seam In Production SourceExplanation PASS: The pull request changes only Full details: Cmux No Ambient Global StateExplanation PASS: The custom check applies only to production Swift changes. The complete pull-request diff from
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
495477e chatmux-relay: reject empty option values (manaflow-ai#11113) e45af14 cmux-tui: preserve projection rail pointer routing
Reject empty values for value-taking CLI flags before they reach config or pairing flows. This matches clap non-empty value validation guidance and preserves privacy-safe diagnostics. Regression test is in the first commit; fix is in the second.
Summary by cubic
Rejects empty values for value-taking CLI flags in
chatmux-relayso they fail with arequires a valueerror instead of being accepted, matching clap's non-empty value validation and keeping diagnostics privacy-safe.Written for commit ba9a558. Summary will update on new commits.
Summary by CodeRabbit