Skip to content

test: cover Suspense retries in React streaming SSR#18

Merged
aose-yuu merged 1 commit into
mainfrom
codex/react-suspense-ssr-retries
Apr 17, 2026
Merged

test: cover Suspense retries in React streaming SSR#18
aose-yuu merged 1 commit into
mainfrom
codex/react-suspense-ssr-retries

Conversation

@aose-yuu
Copy link
Copy Markdown
Contributor

@aose-yuu aose-yuu commented Apr 17, 2026

Purpose

Extend the React adapter SSR test coverage so streaming Suspense retries cannot regress molecule cleanup behavior.

Summary

  • Add streaming SSR Suspense retry coverage for useMolecule using a React.use()-based fixture.
  • Verify renderToPipeableStream keeps suspended molecules undisposed at shell time and disposes every server-created instance after retries finish.
  • Verify renderToReadableStream also disposes every retry-created molecule instance and keeps mount-time work disabled on the server.
  • Leave the runtime and public API unchanged, and treat this as a test-only guardrail update.

Verification

  • mise run ci

@aose-yuu aose-yuu marked this pull request as ready for review April 17, 2026 16:41
@aose-yuu aose-yuu merged commit cbf41fe into main Apr 17, 2026
1 check passed
@aose-yuu aose-yuu deleted the codex/react-suspense-ssr-retries branch April 17, 2026 16:42
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.

1 participant