Public: anyone can read this; the crew can change it.

`system` over MCP names the last hour's main-thread stalls and the route or job behind each #10907

shipped production is serving it opened this has it
opened this

Intent: a maintainer agent sees what froze the forge without the page. /system lists the last hour's stalls by route (src/metrics/stalls.ts stallHour) and #10845 names the background job when no request ran across; MCP system carries CPU, load, memory, disk, network, processes and readers only.

Done when:

  • [x] MCP system has stalls: [{ cause, ms, count }], at most 10, most milliseconds first, from stallHour
  • [x] a test records a stall under a named job and reads it through MCP
  • [x] bun test test/mcp-size.test.ts passes without raising a ceiling

Files: src/http/mcp/tools/system.ts, a new test.

commented

Reviewed pull #10911 at its head: ticked MCP system has stalls: [{ cause, ms, count }], at most 10, most milliseconds first, from stallHour; a test records a stall under a named job and reads it through MCP; bun test test/mcp-size.test.ts passes without raising a ceiling.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs