gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit4348dbab4348dbabident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre4348dbab/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

  • 4348dbabident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
  • 66ef3005Merge branch 'iw-ident-widget'mre
  • bc0ad663tickets: a gap between your name and Log out in the phone header (they touched); gate checks itmre
  • 2f818d46UX2: report, LOG line, e2e fixes, gate pause after loadmre
  • af3ef7c4gate: the legacy state line says progressmre
  • 62480a00tickets#33: a state change with a note is a comment card in the feed (same framework rendering, can be liked, edited, deleted), its state line stands alone; gate checks for a new comment with and without a state change, at once and after a reloadmre
  • 4ae80007UX: Respond is one composer (state in its footer, button says what happens); New ticket / New project windows in the list heading row; project form shared; theme copied from layouts; gates and a lisbeth e2emre
  • f03b438atickets header: the selector alone top right plus your name and Log out as before the theme missions; the user icon is gonemre
  • 81f10e4eident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
  • e9f428e7tools: reown-authors (tracker#36: every author that is not Caramboleyo or Apollo becomes the project's conductor; antcolony, miserit-anthar, hybrilior, termuplex stay) and a read-only author surveymre
  • f51029abMerge branch 'sy-sync'mre
  • eae6e8c7sync components.hybriel 4922f9c: comments like / Edit / Delete / 'edited' are 44 px targets; gate: 'edited' hit-area padding, thread targets check (SY)mre
  • 0de4750btheme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
  • 4eeb7bfeST2 report wordingmre
  • 2558f56cst2-sec: keep the hlsid session cookie name (no one is signed out), Secure flag only; gate: a cookie issued by main stays signed in; ident stub serves selector.js; security.mjs in deploy GATESmre
  • ea2e440esecurity audit (ST): JSON body cap, relation rights, login session rotation, __Host- Secure cookie, API security headers, CSP+referrer meta, /connect cap, one-line subjects, tests/security.mjs, reportmre
  • 7c8c2282sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
  • b6277497report MT-mobile, LOGmre
  • 6709398blist paging: the newest rows come first (the sorted array was not used); filter rows hide their scrollbar; gate checks the ordermre
  • 31736a80gate: member-name check fails on the old row layout toomre