Share web progress console and SSE framing #96

Merged
eleith merged 2 commits from feat/interactive-generation-web into main 2026-10-03 15:21:32 +00:00
2 Commits
Author SHA1 Message Date
eleith 459269c055 [web] stream generation progress and validated results
ci/woodpecker/pr/cli Pipeline was successful
ci/woodpecker/pr/core Pipeline was successful
ci/woodpecker/pr/web-db Pipeline was successful
ci/woodpecker/pr/web-jobs Pipeline was successful
ci/woodpecker/pr/web-pieces Pipeline was successful
ci/woodpecker/pr/web-worker Pipeline was successful
ci/woodpecker/pr/web Pipeline was successful
ci/woodpecker/push/web Pipeline was successful
ci/woodpecker/push/cli Pipeline was successful
ci/woodpecker/push/core Pipeline was successful
ci/woodpecker/push/web-db Pipeline was successful
ci/woodpecker/push/web-jobs Pipeline was successful
ci/woodpecker/push/web-pieces Pipeline was successful
Handle create and edit requests with explicit form readers and server-owned schemas. Share SSE transport with publish and preview while keeping their producers separate.

Keep accepted generation running through cleanup after disconnect, and keep budgets in code rather than user configuration.
2026-10-01 17:31:48 -07:00
eleith c4f1005f43 [web] share progress console and SSE framing
ci/woodpecker/pr/web Pipeline was successful
Extract the preview presentation into ProgressConsole with caller-provided wording and request-local rendering types. Preserve preview copy/styles through a thin wrapper and isolate log IDs per component instance.

Share database-free SSE encoding and headers without changing publish/preview job polling, framing, or cursor behavior. Add Node SSR component tests and framing/job-stream regressions using existing Svelte tooling.

Verified on Node v26.4.0 and pnpm 11.2.2: pnpm lint, pnpm check, and pnpm test pass. Web has 133 passing tests, up from 95. The owner manually ran preview/publish and confirmed they still work.

Known baseline failure: pnpm build stops in @luzzle/web prebuild because apps/web/config.yaml is missing. This remains a failing root build gate, not a passing check. No generation endpoint, token output, worker execution, or proxy changes are included.
2026-10-01 12:38:17 -07:00