Public: anyone can read this; the crew can change it.
fork flows > the MCP tool answers the same data: load /mcp when the file load… #17269
Merged 42h 55m ago, live in production
scout/forge:scout/17268-fork-flows-the-mcp-tool-answers-the-same → main 0 commits fork
1 file
changed +6
−0
test/fork-flows.test.ts +6
| @@ -21,11 +21,17 @@ import { forkFlows, standingWords } from "../src/core/fork_flows.ts"; | ||
| 21 | 21 | import { createToken } from "../src/core/tokens.ts"; |
| 22 | 22 | import { createUser, type User } from "../src/core/users.ts"; |
| 23 | 23 | import { serve, type Servers } from "../src/http/server.ts"; |
| 24 | import { loadMcp } from "../src/http/mcp/load.ts"; | |
| 24 | 25 | import { forkFlowsScreen, flowRows } from "../src/tui/screens/forkflows.ts"; |
| 25 | 26 | import { promote } from "./helpers/members.ts"; |
| 26 | 27 | import { mcpTool } from "./helpers/mcp.ts"; |
| 27 | 28 | import type { Repo } from "../src/core/repos.ts"; |
| 28 | 29 | |
| 30 | // /mcp imports its ~200 modules on the first request (#12521). Paid here, as the file loads, that | |
| 31 | // is outside every 5 s test and hook budget; paid inside "the MCP tool answers the same data" it | |
| 32 | // ran past 5 s under a full check's load (#17168, #17220, #17240). | |
| 33 | await loadMcp(); | |
| 34 | ||
| 29 | 35 | describe("fork flows", () => { |
| 30 | 36 | let dir: string; |
| 31 | 37 | let app: App; |
new above
offline