gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitb487b05ab487b05aRecord verified direct push protocol handoffmreb487b05a/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

  • b487b05aRecord verified direct push protocol handoffmre
  • 74e34cc3Verify encrypted push secrets and direct push retry semanticsmre
  • a1ac5cd0Push subscription notices directly to signed HyperConductor chat endpointsmre
  • d662ad27Remove superseded waker service for direct chat push protocolmre
  • ff2e8701Finalize subscription build verification and handoff reportmre
  • 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