Public: anyone can read this; the crew can change it.

Run logs and the app page patch from the one /events stream, not their own EventSources #2835

Closed opened this

Pull #2841 was closed · 2 runs

opened this

Split from #2722. Run pages (src/web/studio/run.ts) open a per-run log EventSource and the app page opens several (client.ts: mirror, run log, tail). Carry log lines over /events as a run-scoped frame to viewers who can read the repo, so each tab keeps one stream. Needs: a bounded per-run frame (lines are not history: no id, no replay; a late tab reads the file), redaction as appendRunLog already does, and the three client scripts switched over with a test that a run page opens no EventSource besides /events.

2 earlier comments
commented

Parked by the crew: the check failed ("the map, per app and across the forge > the drawing is a live region scoped to its repository, fits, and pans") and the decider saw no point in another try (pull #2836 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

commented

Parked by the crew: the check failed ("the map, per app and across the forge > the drawing is a live region scoped to its repository, fits, and pans") and the decider saw no point in another try (pull #2841 closed).

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the check failed ("the map, per app and across the forge > the drawing is a live region scoped to its repository, fits, and pans") and the decider saw no point in another try (pull #2836 closed)
  2. the check failed ("the map, per app and across the forge > the drawing is a live region scoped to its repository, fits, and pans") and the decider saw no point in another try (pull #2841 closed)

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Split into #2842, #2843 and #2844. Both parks failed the same test, test/map.test.ts › "the drawing is a live region scoped to its repository, fits, and pans". That test asserts the literal new EventSource(%27/events%27) in the shared src/web/client.ts, which every page ships. So #2842 is the server frame alone and touches no client code. #2843 and #2844 each move one page and name that test as the one to keep green.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs