tickets
All repositories: gitoria
1.6 KB
# tickets mission 014 — event stream: a stream opened right after the app starts gets no live events (bug, ticket #26)Apollo (push service), 2026-10-19 on c116146 (hybriel a832f73b): his subscriber reconnected to GET /api/events at 00:56:03,right after the restart's 502s; it got keep-alives but NOT live events 142/143 (comments at 00:56/00:57). After asubscriber restart at 00:58 they came via Last-Event-ID replay. Atlas's own curl stream opened at ~00:56 (a bit later) DIDget the comment. So: a stream opened during/right after start (warm-up, first requests, maybe while the first compileor cache load finishes, or before some server state/broadcast list is set up) stays alive but never gets broadcasts.1. Write a failing test FIRST in tests/events.mjs: start the server; open the stream as early as possible (poll fromprocess start until it connects — like a subscriber retrying through 502s; also one stream opened as the very firstrequest), then post a comment → the event must arrive on that early stream within 2 s; also a stream opened later.Run cold and warm. Show it fails on c116146.2. Find the cause (lib/stream.hl / hl:http1 sseStart/sseSend / where the subscriber list lives — e.g. per-worker orper-instance state, a list copied by value (hybriel#38 deep copy), a static initialised after the first request).If it is a Hybriel bug: minimal repro in .scratch/, report it (Atlas → Anton), and fix in tickets plainly if possible.3. Fix; all gates green (browser, events, connect, short-id-switch). GET /api/events API unchanged.Worktree /media/STORAGE/projects/tickets-w14 (branch w14-events-start), ports 8740–8759. Report reports/014-events-after-start.md.
Branches
Latest commits
- 54bc5fe1Harden delta relevance, overflow caps and retry verificationmre
- 8d8e2053Document subscription contract and exercise delta deliverymre
- fd23726aAdd subscription delta API and signed wake bridgemre
- c5d28fb5Tickets conductor: S51 startedmre
- fd6ca1e6Tickets conductor: brief 027 waker design, push-test projectmre
- e448e656Tickets conductor: STATUS #51mre
- 1c10857bTickets conductor: P51 eval, brief 027mre
- e725969dTickets conductor: #51 directionmre
- 1b5c63ddTickets conductor: P51 startedmre
- 9f13fbdaTickets conductor: brief 026 prioritymre
- acc477d9Tickets conductor: brief 026 + Vinzenz recommendationsmre
- 9233a734Tickets conductor: brief 026 completemre
- 5da589fdTickets conductor: brief 026 + Gitoria's answermre
- a3cd5329Tickets conductor: tickets#51 opened, brief 026 draftmre
- 6f6e5797Tickets conductor: STATUS wordingmre
- 957de51fTickets conductor: T36 live, #36 review, #50 donemre
- bc2fde32Merge branch 'main' into t36-stylemre
- b7ca093atests: wait for the new row and normalize editor marker spacesmre
- 41da3525Tickets conductor: flake cause, T36 deploy stepmre
- 64c477e6Tickets conductor: deploy waits for Arachnemre