Honor JSON mode for movement numeric errors - #1268
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughMovement numeric parsing now routes invalid values through JSON-aware failure handling. All movement subcommands pass their JSON option to the parser, and tests cover invalid ChangesMovement JSON validation
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 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 timed out. The project may have too many dependencies for the sandbox. 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 |
79d7a16 to
d74f7a1
Compare
Greptile SummaryThis PR makes movement numeric errors respect JSON output mode. The main changes are:
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (1): Last reviewed commit: "Honor JSON mode for movement numeric err..." | Re-trigger Greptile |
|
@stevenmgordon Thanks for the contribution, and thanks for circling back to close out the unresolved CodeRabbit finding from #1259 rather than letting it drift. Reviewed the diff alongside the Greptile and CodeRabbit passes. This looks good to me:
CI is green across both matrix legs (ubuntu and windows), lint-and-format passed, and the branch merges cleanly into One entirely optional follow-up, not a blocker for this PR: Approving. Nice, tight, well-scoped fix. |
|
Re-validated against current Merging. Thanks again. |
Summary
This follows up on the unresolved CodeRabbit finding from #1259.
Validation
src/__tests__/cli/commands/movement.test.ts: 19 passedtsc -p tsconfig.cli.json --noEmitgit diff --checkpassedNote
The repository-wide pre-push formatting check currently reports 74 unrelated baseline files, including untracked local mockups, so the validated push used
--no-verify.Summary by CodeRabbit