Repository navigation
fix(qa): verify paired Ollama nodes over the gateway - #115644
Merged
Merged
Conversation
steipete
marked this pull request as ready for review
July 29, 2026 06:03
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 29, 2026
vincentkoc
added a commit
that referenced
this pull request
Jul 29, 2026
…ifecycle-hooks * origin/main: (60 commits) fix(qa): verify paired Ollama nodes over the gateway (#115644) fix(active-memory): share one recall per run across retries (#115627) refactor: reuse doctor migration durability helpers (#115625) docs: fix unsupported pnpm approve-builds -g in global install (#106180) feat(openai): support GA realtime over ChatGPT OAuth (#115623) feat(agents): add code mode model acceptance matrix (#115305) fix(signal): reject malformed base64 attachment data (#114883) fix(onboard): reject remote flags in local mode (#115636) refactor: table-drive retired model migrations (#115618) fix(ui): fall back when profile hero avatar fails (#115600) feat: make self-learning automatic by default (#115576) fix(agents): report embedded deadlines as timeouts (#115319) fix(cli): keep JSON stdout valid through finalization (#115315) fix(agents): clarify code mode contract for small models (#115275) fix(linux): package media codecs for deb and AppImage (#115616) fix(gateway): redact CLI-imported history before dedupe (#115597) fix(gateway): bound stalled plugin shutdown (#115619) refactor(gateway): deduplicate message operation routing (#115615) fix(nodes): cancel paired local inference when callers disconnect (#115624) fix(googlechat): surface failed replies without duplicate sends (#115638) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes an issue where operators running paired-node Ollama QA would receive local handler-only evidence instead of proof that an authenticated Gateway can discover models and perform inference through a genuinely connected, approved node. Native QA scenarios also could not execute an E2E test because their default Vitest projects exclude E2E files.
Why This Change Was Made
Route only native scenario paths ending in .e2e.test.ts through the existing Gateway E2E Vitest configuration; preserve the exact existing command for all ordinary unit scenarios. Replace the existing paired-node scenario target with an isolated, deterministic source-Gateway E2E using public Gateway and test-state SDKs, genuine WebSocket device pairing, explicit canonical node command authorization, real node.invoke/node.invoke.result transport, and the provider-owned Ollama node handlers. The fake implements both documented Ollama show requests and the current owner request contract. No Ollama production behavior, node-loopback ownership, provider defaults, gateway protocol, or production configuration is changed.
User Impact
QA now demonstrates that a Gateway can actually route local Ollama model discovery and bounded inference to its approved node, without accidentally using the separate Gateway provider endpoint. The scenario also proves unauthorized HTTP requests are rejected, cloud and embedding models are filtered, loaded models sort first, and a usable chat model after 200 embedding-only models remains discoverable.
Evidence