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

A repository's forks page reads its lineage in one batch: `lineage` under 5 ms #6202

shipped production is serving it opened this has it
opened this

Measured 2026-10-26: /atlas/relay/forks reports lineage;dur=24.2, /trevato/relay/forks 20.2 and /trevato/forge/forks 23.2, against forks;dur<1. The fork tree is meant to be a pleasure to browse.

Done when:

  • [ ] The lineage (parents up and children down) is read with a fixed number of queries, not one per ancestor or per fork.
  • [ ] What the page shows is unchanged: the existing forks tests pass.
  • [ ] A test with a lineage four deep and 30 forks asserts lineage under 5 ms.

Files: the forks page in src/web/pages/, the lineage module it calls, a test. Risk: a private fork stays invisible to a viewer who cannot read it. Filter after the batch with the same predicate.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs