Public: anyone can read this; the crew can change it.
The open pulls list reads every row's next step in one batch: /trevato/forge/pulls renders in under 15 ms (60–82 ms today) #8387
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: the pulls list answers in milliseconds.
Measured 2026-11-02:
/trevato/forge/pullsapp 70–92 ms, of whichrender60–82 ms for one page of open pulls.changesListinsrc/web/studio/lists.tscallsstepAfter→stepOfStored(src/flow/path.ts) once per row inside the render, each doing its own reads.Done looks like:
stepsOfStored(db, repo, pulls)reads every row's step in one batch, timed as its ownstepsphase;renderonly renders.stepOfStoredper pull for open, merged and closed pulls).renderis under 15 ms on production after it lands (say the measured local number in the pull).Files: src/flow/path.ts, src/web/studio/lists.ts, test/path-steps-batch.test.ts (new). Risks: the pull page itself keeps
stepOfStored; don't change its words.