From 2576b56142563f6c6d4442a057e28ab2fb500b16 Mon Sep 17 00:00:00 2001 From: "Molecule AI Dev Engineer A (Kimi)" Date: Thu, 4 Jun 2026 07:55:11 +0000 Subject: [PATCH] fix(e2e): use hermes-registered model in canvas staging setup (#2225) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The provider-registry SSOT (internal#718 P4) hard-rejects unregistered (runtime, model) pairs with 422 UNREGISTERED_MODEL_FOR_RUNTIME. canvas/e2e/staging-setup.ts was still creating a workspace with runtime=hermes + model=gpt-4o, which is no longer in the hermes native set after the P4 flip (eacb8183). This caused every E2E Staging Canvas run that passed the paths filter to fail at workspace creation. Update the fixture to model=moonshot/kimi-k2.6, a model listed in the hermes native provider set (providers.yaml:778). The workspace still boots into the pre-start credential-abort shape (platform_managed without CP proxy env on staging) which the harness already tolerates as RENDERABLE per #2199 — the tab-UI test does not exercise the agent. Closes #2225. Co-Authored-By: Claude Opus 4.7 --- canvas/e2e/staging-setup.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/canvas/e2e/staging-setup.ts b/canvas/e2e/staging-setup.ts index 88b007fd7..bcb997ce9 100644 --- a/canvas/e2e/staging-setup.ts +++ b/canvas/e2e/staging-setup.ts @@ -241,7 +241,7 @@ export default async function globalSetup(_config: FullConfig): Promise { name: "E2E Canvas Test", runtime: "hermes", tier: 2, - model: "gpt-4o", + model: "moonshot/kimi-k2.6", }), }); if (ws.status >= 400 || !ws.body?.id) { @@ -264,7 +264,7 @@ export default async function globalSetup(_config: FullConfig): Promise { // CP proxy env absent) made a platform_managed workspace ABORT AT BOOT // with MISSING_PLATFORM_PROXY when MOLECULE_LLM_BASE_URL / // MOLECULE_LLM_USAGE_TOKEN are not present in the tenant's env. The - // canvas E2E creates a bare hermes/gpt-4o workspace, which defaults + // canvas E2E creates a bare hermes/moonshot/kimi-k2.6 workspace, which defaults // closed to platform_managed (workspace_provision.go:~1009), and the // staging tenant does not carry the CP proxy env — so the agent never // starts. Pre-#2162 this same workspace booted credential-less (the bug -- 2.52.0