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
- 0814ce6bTickets conductor: brief 025 tickets#36 style formmre
- 1b6916c4Tickets conductor: Atlas handover tickets#36mre
- aab95226Tickets conductor: worldapi-conductor paths, deploy blocker = read-only diskmre
- 6372b06dTickets conductor: worker port slotmre
- 836af31cTickets conductor: token pathsmre
- b03f11b6Tickets conductor: CONDUCTOR.md (project part), short STATUS.md, old STATUS to archive/2026-10-31mre
- a4123831tickets#42: the /connect and /login/callback error pages are app pages: the function routes redirect to /connect/failed/<code> and /login/failed/<code> (components/problem.hl, sentences in lib/problems.hl), htmlPage and its hand-written stylesheet are gone; gate tests/error-pages.mjsmre
- cefc7b4atickets: a startup error prints its message before exit 1 (hybriel#247)mre
- 99bd6570tickets: lib/migrate.hl writes no table of another topic any more: projects.hl rewriteSlug / addProjectNamed / hasMembers, tickets.hl moveToProject / ticketRecords / ticketRecordsOf, events.hl renameStates / eventRecords / eventRecordsOf; the migration calls them (tickets#47)mre
- b57161e3tickets: the markup names its own rules (Style.pMessage, Style.olTickets, ...) instead of hand-written class strings that copy a stylesheet rule; the shared bodies sit in lib/looks.hl (tickets#38)mre
- f767b24dtickets: 111 needless let became plain declarations (3 in ticket.hl, ticket_list.hl, comments.hl and 108 never-reassigned, not captured loop-body ones); the 212 really reassigned lets stay (tickets#44)mre
- 16c0d3b5tickets: the modal window is phone first: the full-screen sheet is the base rule, the centred window sits in the min-width 60rem block (tickets#39)mre
- 090ee809tickets: every component's styles in its own nested Style {} block; styles.hl keeps only the theme inherit, the accent and the site-wide rules (tickets#36)mre
- d395763ftickets: ident-access gate ports 8769/8768 (8797 is taken on loreana)mre
- afb9a403tickets: an ident access key (Authorization: Bearer idt_…) works in the API (ident#27 app side): lib/ident-access.hl copied from components, read keys GET only, ident down 503; gate tests/ident-access-tickets.mjsmre
- 48c1ba79tickets: md-paste-files gate with the file manager casesmre
- f04afc43tickets: MdEditor from components 59704ce (a file manager copy still attaches, pipe rows, tickets#49)mre
- 06599fa0tickets: MdEditor from components b0f1ec2 (a clipboard with text always pastes the text, tickets#49); real Ctrl+V gatemre
- 2e1b116ftickets: re-vendor Hybriel master acaceaf3 (framework ec8d6c1d): plugins/web patch queue while a page is built, anonymous session cookies refresh; gate waits for the comment editors to draw (W174) and clicks the form editor when it stands still; security gate: main's code runs on its own binary, lazy-session cookie checksmre
- 361bc0fetickets: re-vendor Hybriel 7a684920 (WIP, not deployed); on Error exits 1 at startup; migrate passes its log by reference; gate checks follow lazy sessions and the 413 refusalmre