Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/server/src/mcp/toolkits/pair/handlers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import * as ServerSettings from "../../../serverSettings.ts";
import { PAIR_LEAD_PROTOCOL } from "../../../provider/RuntimeInstructions.ts";
import * as McpInvocationContext from "../../McpInvocationContext.ts";
import { PairToolkitHandlersLive } from "./handlers.ts";
import { MAX_PAIR_AWAIT_SECONDS } from "./logic.ts";
import { PairToolkit } from "./tools.ts";

const NOW = "2026-09-18T12:00:00.000Z";
Expand Down Expand Up @@ -723,7 +724,8 @@ describe("pair_await", () => {
const runningFiber = yield* Effect.forkChild(
runningHarness.call("pair_await", { maxSeconds: 5 }),
);
yield* TestClock.adjust("5 seconds");
// Any wait above zero runs to the lead's whole cap.
yield* TestClock.adjust(`${MAX_PAIR_AWAIT_SECONDS} seconds`);
yield* Fiber.join(runningFiber);
const runningCommands = yield* Ref.get(runningHarness.commands);
expect(runningCommands).toHaveLength(0);
Expand Down
Loading