Keep local HTML previews live across source changes#130
Conversation
…-refresh-20260725
|
Final integration refresh (2026-07-25): current main dab9b6d was merged normally into this branch; no rebase or force-push. Exact hosted head: 1ca2061. Focused desktop 17/17, server 18/18, web unit 51/51, and browser 25/25 passed. git diff --check passes and the task worktree is clean. Fresh hosted CI run https://github.com/ScientFactory/scient-desktop/actions/runs/30160244141 completed successfully, including format, lint, typecheck, full bun run test, stable browser, Linux geometry, desktop build/preload, release smoke, Linux and Windows HTML-preview smoke, and Windows process regression. No unresolved review threads remain. Existing documented manual limitations are unchanged and non-blocking. This candidate is integration-ready against main dab9b6d; this is not merge or release authorization. |
…-refresh-20260725
…-refresh-20260725
…-refresh-20260725
…-refresh-20260725
…-refresh-20260725
…-refresh-20260725 # Conflicts: # apps/server/src/wsRpc.ts # apps/web/src/wsTransport.ts
Summary
Fixes local HTML previews that became stale or stopped reopening after their source file was edited, including atomic-save workflows that replace a file without changing its path.
Exact integration state
50a784f4825e6cee9a0eb0d8de6a79cd093803e19aa3118cb38752542c872c6260fb42c31fe0b6f8fix/live-html-preview-refresh-20260725Security and reliability closure
All validated P2 findings were fixed before publication of this head:
Verification
Exact candidate
9aa3118cb38752542c872c6260fb42c31fe0b6f8passed locally:bun run scient:upstream-check --intakebun run testmatrix: 12/12 tasksgit diff --check; clean worktree; no generated artifactsExactly three fresh independent read-only final-head reviews completed after verification:
No unresolved P0, P1, or P2 finding remains.
Limitations
Rollback
Revert this PR's squash commit. There is no schema, data, credential, or migration rollback. Existing capability-backed one-shot preview behavior returns.