Skip to content

vite: Handle error when importing sku render entrypoint#1551

Merged
askoufis merged 3 commits intomasterfrom
more-worker-error-handling
Apr 15, 2026
Merged

vite: Handle error when importing sku render entrypoint#1551
askoufis merged 3 commits intomasterfrom
more-worker-error-handling

Conversation

@askoufis
Copy link
Copy Markdown
Contributor

I noticed that there was no stack trace when an error occurs while importing the render entrypoint. This happens before route rendering, so the error handling in #1548 doesn't handle it.

This PR adds error handling for this case.

@askoufis askoufis requested a review from a team as a code owner April 15, 2026 01:34
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 15, 2026

⚠️ No Changeset found

Latest commit: aa57ef6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes changesets to release 1 package
Name Type
sku Minor

Click here to learn what changesets are, and how to add one.

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


const { sku } = scopeToFixture('vite-render-error');

const filterNodeInternalStackFrames = (stack: string) =>
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Node internal stack traces aren't useful and are flaky on CI (see here), so I've filtered them out.

Comment thread .changeset/shiny-peas-clean.md Outdated
@askoufis askoufis enabled auto-merge (squash) April 15, 2026 01:56
@askoufis askoufis merged commit 150881b into master Apr 15, 2026
4 checks passed
@askoufis askoufis deleted the more-worker-error-handling branch April 15, 2026 02:02
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