Skip to content

svelte: cover svelte_build compile errors and render-time failures - #6432

Merged
TrapsterDK merged 1 commit into
mainfrom
svelte-build-errors-6179
Nov 4, 2026
Merged

TrapsterDK merged 1 commit into
mainfrom
svelte-build-errors-6179

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

Closes #6179

  • build_errors_test runs svelte_tool.mjs build on a fixture with an unclosed tag; asserts non-zero exit and an error naming src/Broken.svelte with line and column.
  • render_ssr_test and render_client_test use a component that throws at render; SSR render and client mount both reject with the thrown error.
  • Throwing app is its own manual package (app_errors/throwing) because Vite needs index.html at the package root.

Ran the three new tests locally: pass. Nested-Bazel consumer tests not run.

Assisted by Claude.

🤖 Generated with Claude Code

https://claude.ai/code/session_011u9TXHDZrfmzFQ2WT8QAKK

@TrapsterDK
TrapsterDK merged commit 3c05590 into main Nov 4, 2026
1 check failed
@TrapsterDK
TrapsterDK deleted the svelte-build-errors-6179 branch November 4, 2026 19:50
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.

svelte: svelte_build compile errors and render-time failures fail the run

1 participant