Repository navigation
fix(inference): report gateway restart failure category - #12705
Conversation
Signed-off-by: Deepak Jain <[email protected]>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe gateway restart failure error now includes the specific failure layer. Tests verify the failure-layer text and confirm that restart exception details are not exposed. ChangesGateway restart errors
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The restart error identifies the failure layer without exposing raw exception details or suggesting recovery succeeded. No actionable merge risk remains in the reviewed changes. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit b90906b in the Show a line coverage summary of the most impacted files.
TypeScript / code-coverage/cliThe overall line coverage in commit b90906b in the Show a line coverage summary of the most impacted files.
Updated |
Signed-off-by: Deepak Jain <[email protected]>
…start-diagnostics
|
PR Review Advisor finished for commit Request review only when Require no Advisor blockers is green. |
|
Ready for review at When an inference switch updates an OpenClaw route but managed gateway restart fails, the command now includes the bounded failure category while preserving its recovery instruction. CI, the Advisor and CodeRabbit are green on this head, all commits are verified and no review threads are open. |
rsliter
left a comment
There was a problem hiding this comment.
Reviewed latest PR commit b90906b. The error exposes only the bounded restart failure category, preserves the committed-route warning and recovery command, and keeps raw restart details private. The focused 22-test suite passes. The trusted gate passes all 51 current checks, DCO, verified commits, CodeRabbit, mergeability, and risky-code test coverage.
Outcome
When an inference switch updates an OpenClaw route but managed gateway restart fails, the command now includes the bounded failure category while preserving its recovery instruction. This addresses the missing diagnostic; it does not claim the gateway restart succeeded.
Reason
The gateway restart helper already returns a failure layer, but inference set discarded that detail in the user-facing error. The report therefore ended immediately after the restart line without explaining which restart stage failed.
Related issues
Refs #12276
Changes
Verification
Review notes
The original Ubuntu 24 GPU scenario was not rerun. This change validates error reporting and the recovery instruction, not successful live model switching; exact-host validation remains outstanding. PR #12562 also updates separate provider-fixture sections in the same test file for native NVIDIA inference; this patch changes the distinct restart-failure assertion.
Signed-off-by: Deepak Jain [email protected]
Summary by CodeRabbit