gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit506a4efd506a4efdmission 028: #94, identity rulemre506a4efd/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

  • 506a4efdmission 028: #94, identity rulemre
  • 78c7f48eRefine mpackdb holdmre
  • 3d7d89c8Record mpackdb hold until day38mre
  • f1bf7195#51 done; my subscription idmre
  • 9870b945status: #51 proof greenmre
  • e92173c6log: #51 live push proofmre
  • 72d87041log: Hermes push livemre
  • 1d69bf7dTickets conductor: park until Hermes pushmre
  • 80d8cfd1Tickets conductor: #51 livemre
  • 61641dd9Complete subscriptions deployment evidencemre
  • c980856cRecord successful subscriptions deployment and live checksmre
  • 4b4710adMerge branch 's51-subscriptions'mre
  • a731ef7eTickets conductor: S51 reviewed, deploy stepmre
  • 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
  • c0ac927aTickets conductor: S51 redo for push protocolmre
  • ff2e8701Finalize subscription build verification and handoff reportmre
  • 07c6daeeTickets conductor: push allowlist URLsmre