MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isBrick

Function isBrick

e2e/cloud/repro-transport-brick.test.ts:110–111  ·  view source on GitHub ↗
(r: RawResult)

Source from the content-addressed store, hash-verified

108const toolsListMessage = { jsonrpc: "2.0" as const, id: "brick-tools-list", method: "tools/list" };
109
110const isBrick = (r: RawResult): boolean =>
111 r.status >= 500 || /"code"\s*:\s*-32603/.test(r.body) || /Already connected/i.test(r.body);
112
113scenario(
114 "REGRESSION · concurrent SSE GET + POST after idle-dispose keeps the session alive",

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected