Repository navigation
fix: identify failing prerender input generators - #17105
akasakariko wants to merge 1 commit into
Conversation
|
Install the latest version of pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/2dcd247d950246df76cd2a57f95e7a2a68938095Open in Note This PR is from a fork. A maintainer must approve approve each commit before it can be built and installed. |
🦋 Changeset detectedLatest commit: 2dcd247 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Thank you but this isn't right — the problem isn't the lack of ceremony around the error, it's the fact that the error is occurring at all. Though we do need to fix the stack trace when |
Fixes #16756.
When a remote prerender inputs callback fails during a build, the error now names the export and its source module and preserves the original message and cause. This makes the reported missing-request-store error traceable to the user's inputs callback.
The context is added at the actual postbuild call, using the existing remote module file metadata. Tests cover synchronous and asynchronous failures, aliased exports, and repeated registration without rewriting the inputs callback.
Validation: 20 build-error tests pass; the complete Kit unit suite has 784 passed and 110 skipped. Format, lint, full workspace check, generated types, and the normal async test app production build passed. The full Playwright matrix was not run locally.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm testand lint the project withpnpm lintandpnpm checkChangesets
pnpm changesetand following the prompts. Changesets that add features should beminorand those that fix bugs should bepatch. Please prefix changeset messages withfeat:,fix:, orchore:.Edits