|
2026-09-24
| ||
| 00:54 | • Ticket [9d59ebbfe9] Bind the listener before registering repositories, not after status still Closed with 1 other change artifact: 41d6052892 user: zeitgeist | |
|
2026-09-04
| ||
| 09:52 | • Closed ticket [9d59ebbfe9]. artifact: 6053525544 user: ai-local | |
|
2026-09-02
| ||
| 16:45 | • Open ticket [9d59ebbfe9]. artifact: 7ca59a9e95 user: dmestas | |
| 16:42 | • Review ticket [9d59ebbfe9]. artifact: 8b2f0cf7e7 user: dmestas | |
|
2026-08-24
| ||
| 23:00 | • New ticket [9d59ebbfe9]. artifact: 68023e09bf user: dmestas | |
Bind the listener before registering repositories, not after
Measured on the demo fleet, 2026-08-24: 25 repositories, ~105s from process start to bound port. Worst single repo 18.4s (tcl), then sqlite 12.1s. During that window the site is not slow — it is not listening, so every request is a connection refusal rather than a page.
startup-latency bounds the worst offender: 'zit submanifest show' took 116s on tcl and 16s on sqlite where the code's comment claimed ~250ms, and it is capped at 2s now. That turns minutes into ~105s. It does not fix the shape.
THE FIX: bind first, register in the background. A request that arrives before its repository is ready should get a page saying so — the Indexing flag and its surfaces already exist for exactly that state — rather than a refused connection, which is indistinguishable from the forge being dead. Registration is per-repo independent, so it can also run concurrently under the existing ingest lane.
WHAT NOT TO DO: raise the probe timeout, or cache the probe result on disk. Both leave a startup path whose cost is a function of how much history the fleet holds, which is the actual defect.
Related: 'zit submanifest show' costing 116s on a 94k-artifact store may itself be worth a zit issue — it is answering a yes/no question about whether any S-bearing artifact exists.
Landed (bind-first): the listener binds first and registration runs after it in the background. On the demo the port answered 5s after restart and the 26 repositories registered in 16s; a request for a not-yet-registered repository answers 503 with Retry-After and a self-refreshing page, never a 404.