fix(sandbox): verify descriptor routes without Ollama recovery - #10556
fix(sandbox): verify descriptor routes without Ollama recovery#10556senthilr-nv wants to merge 1 commit into
Conversation
Signed-off-by: Senthil Ravichandran <senthilr@nvidia.com>
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall line coverage in commit 2a193d0 in the TypeScript / code-coverage/cliThe overall line coverage in commit 2a193d0 in the Updated |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 12 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughHermes Portable connect and probe flows now verify non-Ollama routes directly and recover only Ollama routes. Tests cover compatible endpoint execution and validation failures for missing or malformed Ollama inference receipts. ChangesHermes Portable routing
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: 🟡 Moderate · up to The localized routing change preserves Ollama recovery while allowing descriptor-backed providers to verify without an Ollama receipt, and the listed automated checks pass. Merge should wait for the one outstanding descriptor-backed Hermes Portable field probe. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
|
PR Review Advisor finished for commit |
Outcome
Hermes Portable probe-only connections now recover published inference only for
ollama-local. Descriptor-backed providers keep their existing verification-only route and no longer require an Ollama receipt.Reason
The merged Hermes Portable recovery path sent every probe-only provider through Ollama recovery. A
compatible-endpointregistry entry intentionally has no host-local Ollama receipt, so the route failed before its descriptor verification began.Related issues
Follow-up to #10505.
Changes
ollama-localon the published-runtime recovery path and preserve fail-closed missing or malformed receipt handling.Verification
npm run test:changed— 32 growth checks and 10 files / 130 affected tests passed.npm run checks:repository— passed.npm run build:cli— passed.npm run typecheck:cli— passed.2a193d0139108b88e8a10c661599255e11bba01cas Verified with reasonvalid.Review notes
Independent review approved the exact frozen three-file snapshot. Merge remains held for one exact descriptor-backed Hermes Portable field probe on this commit.
Signed-off-by: Senthil Ravichandran senthilr@nvidia.com
Summary by CodeRabbit
Bug Fixes
Tests