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

Boards show check and crew slots against capacity; Capacity is findable; /flow answers first (3.3 MB → capped) #16830

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

The owner, looking for why throughput is check-bound: "looking at the boards page i see a solid looking bar… but i cant see how it compares to available compute… cant see a capacity page.

Notes

opened this

The owner, looking for why throughput is check-bound: "looking at the boards page i see a solid looking bar… but i cant see how it compares to available compute… cant see a capacity page. the flow page is interesting but the data is just spammed and hard to consume."

Commit 1: boards slots, Capacity findable

  • Above the pipeline on /boards, checks and crew runs each show "N of M slots busy", how many wait, the oldest wait and the median wait over the last hour, and 24 h of running and queued at 15-min instants (read from the run table, nothing new sampled) with the configured slot count as a dashed line. FULL (danger) when every slot is busy and something waits. The line follows the live setting.
  • The crew line says when the pace allows fewer slots than crew.concurrency, and why (repoPace, the same source paceHold reads).
  • Capacity (/settings/capacity) gets its own Settings row under This forge, a palette entry, and a "Change capacity" button under the slots and on /flow.

Commit 2: /flow answers first

  • 3.18 of /flow's 3.3 MB was one uncapped list of 4,332 branches with no pull; it now renders in about 6 KB.
  • One sentence first ("The bottleneck is checks: N waiting, oldest Xm. A of B slots busy."), then one row per stage with anything in it, then the slots block; every other section folds to a one-line summary, lists capped at 10 with "and N more". The MCP flow card uses the same per-stage line.
  • test/flow-answer.test.ts holds /flow under 200 KB.

tsc, gate, design-lint (feel rules) clean; touched tests 195 pass.

🤖 Generated with Claude Code

4 earlier comments
commented

<!-- look-pages 65f18fb13c9c --> Look pages for 65f18fb, from the gate:

  • look pages (named): this pull changes src/web/flow_slots.ts, src/web/pages/flow-clog.ts, src/web/pages/flow-cpu.ts; a commit names /flow
commented

<!-- look-pages b31d44daf98c --> Look pages for b31d44d, from the gate:

  • look pages (named): this pull changes src/web/flow_slots.ts, src/web/pages/flow-clog.ts, src/web/pages/flow-cpu.ts; a commit names /flow
commented

<!-- look-pages a37368ea9077 --> Look pages for a37368e, from the gate:

  • look pages (named): this pull changes src/web/flow_slots.ts, src/web/pages/flow-clog.ts, src/web/pages/flow-cpu.ts; a commit names /flow
commented

All four review points addressed at ccd0b5985. On point 3 (the boards first-view budget): the legend is gone and "nothing waits" is dropped; boards lands at 342 words / 98 blocks (from 336/95). The remaining +6/+3 is the approved slots block at its least (two lines and the Change capacity button), noted in attention-budget.json. The owner asked for this block to make saturation visible at a glance, so I am accepting that raise as the conductor.

commented

<!-- look-pages ccd0b59853a9 --> Look pages for ccd0b59, from the gate:

  • look pages (named): this pull changes src/web/flow_slots.ts, src/web/pages/flow-clog.ts, src/web/pages/flow-cpu.ts; a commit names /flow
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs