Skip to content

🐛 The tag editor opens in a tab left open across a deploy - #117

Merged
simonhull merged 1 commit into
mainfrom
fix/editor-code-ahead
Nov 18, 2026
Merged

simonhull merged 1 commit into
mainfrom
fix/editor-code-ahead

Conversation

@simonhull

Copy link
Copy Markdown
Owner

After a deploy, Edit tags in a tab loaded before it failed: the editor's code was fetched on first use, and the server no longer had that build's chunk (404, "Failed to fetch dynamically imported module"). Every route's code was already fetched when the shell starts; the editor's now comes with it (editorCode in EditorHost.svelte, asked for by the layout beside preloadCode), still out of the page load itself.

  • Regression test in oneTagEditor.e2e.ts: after the page settles, every /_app/immutable/ request answers 404, as after a deploy, and Edit tags still opens. It failed before the fix with the same 404s; 100/100 after, at 16 workers.
  • AGENTS.md: anything new loaded lazily joins the shell's start-up fetch.
  • mise run check passes (vitest 1916, e2e 142).

@simonhull
simonhull merged commit dd2f0a3 into main Nov 18, 2026
5 checks passed
@simonhull
simonhull deleted the fix/editor-code-ahead branch November 18, 2026 21:37
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