test(workshop): bind MCP scheduler in experience review fixture

Bind the existing lifecycle-owned test scheduler before Workshop review scenarios. Gateway startup already binds its scheduler; retain the production admission requirement and all behavioral assertions.

Reproduced all six failures on main at 2c97229f4c (114.80s). All 594 tests across the Workshop and agent-bundle-MCP families pass with the fixture fix (261.26s overall; E2E 80.73s). Core typecheck, formatting, whitespace checks, staged-content scans, and independent review pass.
This commit is contained in:
Peter Steinberger
2026-09-28 03:29:27 -07:00
parent da51d9edcc
commit 6dd3011e9f
@@ -9,6 +9,7 @@ import {
writeOpenAiResponsesText,
} from "../../../test/helpers/openai-responses-sse.js";
import { createDeferred } from "../../../test/helpers/promise.js";
import { bindSessionMcpRuntimeTestScheduler } from "../../agents/agent-bundle-mcp-manager.test-support.js";
import { resolveAgentRunSessionTarget } from "../../agents/run-session-target.js";
import { loadAgentRuntimePluginRegistryHandle } from "../../agents/runtime-plugins.js";
import { sanitizeToolUseResultPairingForModel } from "../../agents/session-transcript-repair.js";
@@ -69,6 +70,7 @@ type Scenario = "proposed" | "nothing" | "interrupted" | "rejected" | "failed";
beforeEach(async () => {
state = await createOpenClawTestState({ layout: "home", prefix: "workshop-owner-contract-" });
await bindSessionMcpRuntimeTestScheduler();
});
afterEach(async () => {
await state.cleanup();