🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@rywils
Copy link

@rywils rywils commented Dec 11, 2025

Summary:

Issue: #17345
packages/svelte/src/internal/server/render-context.js: rely on per-render AsyncLocalStorage (als.getStore()) and use a fallback_context only when ALS isn’t available (e.g., webcontainer). Removes the shared module-level context so overlapping SSR renders don’t clobber each other and trigger server_context_required.

Added .changeset/async-ssr-context.md marking svelte for a patch release.

pnpm install --frozen-lockfile
pnpm exec playwright install chromium
pnpm -C packages/svelte build
pnpm test (all 27 files passed; existing SSR/hydration warnings still surface but no failures)
pnpm lint

Branch fix-async-ssr has the code change and the new changeset untracked.

@changeset-bot
Copy link

changeset-bot bot commented Dec 11, 2025

🦋 Changeset detected

Latest commit: e875c1f

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

This PR includes changesets to release 1 package
Name Type
svelte 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

@Rich-Harris
Copy link
Member

Thank you — merged #17350 instead, so will close this

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.

2 participants