PR Type
Enhancement, Bug fix
_
Description
– Introduced TOOLCHANGEPOLICYMANUALTOOLCHANGECUSTOM_PROBING for enhanced tool change handling.
– Renamed toolProbeOverrides to toolProbeCustomCommands for better clarity.
– Added functionality to pause operations when TOOLCHANGEPOLICYIGNOREM6_COMMANDS is active.
– Updated UI and backend logic to reflect the new tool change policy and command naming.
_
Changes walkthrough 📝
| Relevant files | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enhancement |
9 files
|
_
>
Need help?
/help how to ... in the comments thread for any questions about Qodo Merge usage.评论 (3)
#2 – codiumai-pr-agent-free[bot] 于 2025-02-10
PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
| ⏱️ Estimated effort to review: 3 🔵🔵🔵⚪⚪ |
| 🧪 No relevant tests |
| 🔒 No security concerns identified |
⚡ Recommended focus areas for review
Error Handling
|
#3 – codiumai-pr-agent-free[bot] 于 2025-02-10
PR Code Suggestions ✨
Explore these optional code suggestions:
| Category | Suggestion | Impact |
| Possible issue |
Validate custom probe commands_
Add validation for custom probe commands to prevent empty or malformed commands [src/app/widgets/Tool/Tool.jsx [574-578]](https://github.com/cncjs/cncjs/pull/905/files#diff-a401a7973526e77e8931e59448c9404d71669a3b2e31a615ef726bce6f023aecR574-R578)
– [ ] Apply this suggestion Suggestion importance[1-10]: 8__ Why: The suggestion significantly improves input validation by checking for empty lines and whitespace-only commands, preventing potential execution issues with invalid tool probe commands. |
Medium |
| General |
Add fallback for undefined messages_
Consider adding error handling for cases where [src/server/controllers/Marlin/MarlinController.js [477-480]](https://github.com/cncjs/cncjs/pull/905/files#diff-fbe0adc8dc9c94442f2b6132545200cdeb22e08a021ff2985fd2d6a339d2bb2bR477-R480)
– [ ] Apply this suggestion Suggestion importance[1-10]: 7__ Why: The suggestion adds a useful fallback message when both messageSlot.take() and originalLine are undefined, preventing potential runtime issues and improving user feedback during tool changes. |
Medium |
#1 – codesandbox[bot] 于 2025-02-10
#### Review or Edit in CodeSandbox
Open the branch in source=ghapp”>VS Code • source=ghapp”>Preview