gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitbc2fde32bc2fde32Merge branch 'main' into t36-stylemrebc2fde32/missions/014-events-after-start.md

1.6 KB

  1. # tickets mission 014 — event stream: a stream opened right after the app starts gets no live events (bug, ticket #26)
  2. Apollo (push service), 2026-10-19 on c116146 (hybriel a832f73b): his subscriber reconnected to GET /api/events at 00:56:03,
  3. right after the restart's 502s; it got keep-alives but NOT live events 142/143 (comments at 00:56/00:57). After a
  4. subscriber restart at 00:58 they came via Last-Event-ID replay. Atlas's own curl stream opened at ~00:56 (a bit later) DID
  5. get the comment. So: a stream opened during/right after start (warm-up, first requests, maybe while the first compile
  6. or cache load finishes, or before some server state/broadcast list is set up) stays alive but never gets broadcasts.
  7. 1. Write a failing test FIRST in tests/events.mjs: start the server; open the stream as early as possible (poll from
  8. process start until it connects — like a subscriber retrying through 502s; also one stream opened as the very first
  9. request), then post a comment → the event must arrive on that early stream within 2 s; also a stream opened later.
  10. Run cold and warm. Show it fails on c116146.
  11. 2. Find the cause (lib/stream.hl / hl:http1 sseStart/sseSend / where the subscriber list lives — e.g. per-worker or
  12. per-instance state, a list copied by value (hybriel#38 deep copy), a static initialised after the first request).
  13. If it is a Hybriel bug: minimal repro in .scratch/, report it (Atlas → Anton), and fix in tickets plainly if possible.
  14. 3. Fix; all gates green (browser, events, connect, short-id-switch). GET /api/events API unchanged.
  15. Worktree /media/STORAGE/projects/tickets-w14 (branch w14-events-start), ports 8740–8759. Report reports/014-events-after-start.md.

Branches

Latest commits

  • 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
  • 78073baamain: format Style with nested language rulesmre
  • 6a82097fTickets conductor: Arachne W228 on day35 flakemre