Skip to content

fix: render remote query redirects across layout boundaries - #16975

Draft
svelte-triage-bot[bot] wants to merge 1 commit into
version-3from
triage/kit-16974-remote-redirect-render
Draft

fix: render remote query redirects across layout boundaries#16975
svelte-triage-bot[bot] wants to merge 1 commit into
version-3from
triage/kit-16974-remote-redirect-render

Conversation

@svelte-triage-bot

Copy link
Copy Markdown
Contributor

What

  • avoid awaiting redirect navigation from a remote query that may be blocking component settlement
  • add regression coverage for redirects that leave the query page’s layout boundary
  • add a patch changeset

Awaiting _goto from the query caused a cycle: the query blocked the pending component update while the redirect navigation waited for that update to settle. The URL and page state changed, but the redirected component tree was not committed.

Fixes #16974

Testing

  • focused remote-query redirect tests in development mode: 3 passed
  • focused remote-query redirect tests in production-build mode: 3 passed
  • pnpm -F @sveltejs/kit test:unit
  • pnpm -F test-async check
  • pnpm lint
  • pnpm check
  • original StackBlitz reproduction linked to the local patched package

@pkg-svelte-dev

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from b383f36:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/b383f3637b9ccc393032bb1fcf0b83f94acf8b15

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16975

Note

This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed.

@changeset-bot

changeset-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b383f36

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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.

Redirecting in a remote query breaks when crossing layout boundaries and doesn't render the new page

0 participants