Skip to content

Isolate headless SVG renders from editor reloads - #1131

Merged
raphael merged 1 commit into
mainfrom
fix-headless-livereload-isolation
Aug 20, 2026
Merged

Isolate headless SVG renders from editor reloads#1131
raphael merged 1 commit into
mainfrom
fix-headless-livereload-isolation

Conversation

@raphael

@raphael raphael commented Aug 20, 2026

Copy link
Copy Markdown
Member

Summary

  • keep automated SVG rendering disconnected from the shared interactive LiveReload port
  • preserve live updates for normal editor sessions and disconnect cleanly on unmount
  • cover the headless isolation contract with a browser-backed regression test

Validation

  • pnpm --dir cmd/mdl/webapp build
  • go test ./...
  • built the candidate CLI and regenerated all 11 AURA views after reproducing the v1.16.4 interruption

Review guide

The core contract is in cmd/mdl/webapp/src/index.tsx: only auto=1|true or save=1|true disables LiveReload. Interactive editor URLs are unchanged.

Prevent unrelated interactive MDL sessions from interrupting automated rendering through the shared LiveReload port.
@raphael
raphael merged commit 349cc47 into main Aug 20, 2026
4 checks passed
@raphael
raphael deleted the fix-headless-livereload-isolation branch August 20, 2026 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant