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
- 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
- 467d7286Tickets conductor: T36 done, deploy questionmre
- fed5ca81ticket_list: remove repeated selected-state coloursmre
- 8542fc8aTickets conductor: T36 proof reviewedmre
- 35980936inbox: preserve desktop columns after list styles were scopedmre
- 2a5b8b91Tickets conductor: T36 cap stop, resumed for proofmre
- c077a5cbstyles: format Style with nested language rulesmre
- ccdde2beticket: format Style with nested language rulesmre
- d083535bticket_list: nest Style rules and bare media queriesmre
- c24608ebmarkdown: format Style with nested language rulesmre
- de964b3bsettings: format Style with nested language rulesmre
- 03c1de05new_project: format Style with nested language rulesmre
- bd76cfa6connect: format Style with nested language rulesmre
- 01fad593inbox: format Style with nested language rulesmre
- 79dc9392you: format Style with nested language rulesmre