-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Description
Describe the bug
I'm not sure if this is intended behavior or not, but it doesn't seem like it. Nor do I know if it is a Svelte or SvelteKit bug, my apologies if I made this issue in the wrong repository.
When triggering a redirect from a remote function (a query in this case) while an error was thrown and catched within a svelte boundary, the new remote function doesn't trigger nor redirect correctly (throws a 307 redirect but the data isn't refreshed).
The issue is a bit hard to explain, so I've added detailed steps to the reproduction linked below which can help understand the issue better.
Reproduction
https://github.com/DarthGigi/svelte-boundary-error-redirect-mvce
Logs
System Info
System:
OS: macOS 26.3
CPU: (14) arm64 Apple M4 Pro
Memory: 12.59 GB / 48.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.13.1 - /opt/homebrew/opt/node@24/bin/node
npm: 11.8.0 - /opt/homebrew/opt/node@24/bin/npm
pnpm: 10.29.3 - /Users/gigi/Library/pnpm/pnpm
bun: 1.3.9 - /opt/homebrew/bin/bun
Deno: 2.6.9 - /opt/homebrew/bin/deno
Browsers:
Brave Browser: 144.1.86.148
Firefox: 147.0.3
Safari: 26.3
npmPackages:
@sveltejs/adapter-node: ^5.5.3 => 5.5.3
@sveltejs/kit: ^2.51.0 => 2.51.0
@sveltejs/vite-plugin-svelte: ^6.2.4 => 6.2.4
svelte: ^5.50.3 => 5.50.3
vite: ^7.3.1 => 7.3.1Severity
serious, but I can work around it
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels