Skip to content

Comments

fix: prevent infinite loop from unexpected server response (#1898)#2083

Open
yinonburgansky wants to merge 1 commit intosolidjs:1.xfrom
yinonburgansky:fix-deserialization-infinite-loop
Open

fix: prevent infinite loop from unexpected server response (#1898)#2083
yinonburgansky wants to merge 1 commit intosolidjs:1.xfrom
yinonburgansky:fix-deserialization-infinite-loop

Conversation

@yinonburgansky
Copy link
Contributor

  • Fix a regression introduced in SolidStart v1.3.0 that could cause an infinite loop when a server function returns unexpected response (for example, S3/XML error responses).
  • Prevents the browser from freezing or crashing when encountering such responses.
  • Add unit tests to prevent this regression from returning.
  • Tests exposed that serialization drains remaining chunks in the background and that async errors from that drain were not propagated to an end user error boundary/handler. Add a temporary catch-all in the test suite to suppress unhandled rejections until a proper error-propagation solution is implemented.

PR Checklist

Please check if your PR fulfills the following requirements:

)

- Fix a regression introduced in SolidStart v1.3.0 that could cause an infinite loop when a server function returns unexpected response (for example, S3/XML error responses).
- Prevents the browser from freezing or crashing when encountering such responses.
- Add unit tests to prevent this regression from returning.
- Tests exposed that serialization drains remaining chunks in the background and that async errors from that drain were not propagated to an end user error boundary/handler. Add a temporary catch-all in the test suite to suppress unhandled rejections until a proper error-propagation solution is implemented.
@changeset-bot
Copy link

changeset-bot bot commented Feb 24, 2026

🦋 Changeset detected

Latest commit: b666a2e

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

This PR includes changesets to release 1 package
Name Type
@solidjs/start 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

@netlify
Copy link

netlify bot commented Feb 24, 2026

Deploy Preview for solid-start-landing-page ready!

Name Link
🔨 Latest commit b666a2e
🔍 Latest deploy log https://app.netlify.com/projects/solid-start-landing-page/deploys/699d9a32b7e18600085f4e61
😎 Deploy Preview https://deploy-preview-2083--solid-start-landing-page.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lxsmnsyc lxsmnsyc self-assigned this Feb 24, 2026
Copy link
Member

@lxsmnsyc lxsmnsyc left a comment

Choose a reason for hiding this comment

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

LGTM

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 24, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@solidjs/start@2083

commit: b666a2e

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