Skip to content

test(e2e): Bring streaming cacheComponents app to parity with the static one - #23838

Draft
chargome wants to merge 1 commit into
test/e2e-nextjs-16-staticfrom
test/e2e-cachecomponents-streaming-parity
Draft

test(e2e): Bring streaming cacheComponents app to parity with the static one#23838
chargome wants to merge 1 commit into
test/e2e-nextjs-16-staticfrom
test/e2e-cachecomponents-streaming-parity

Conversation

@chargome

@chargome chargome commented Sep 1, 2026

Copy link
Copy Markdown
Member

Brings nextjs-16-streaming-cacheComponents to parity with nextjs-16-cacheComponents: ports the 4 missing tests plus the routes they need, and adds the webpack variant.

Ref #23802

@chargome chargome self-assigned this Sep 1, 2026
@linear-code

linear-code Bot commented Sep 1, 2026

Copy link
Copy Markdown

JS-3486

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 28.56 kB added added
@sentry/browser - with treeshaking flags 26.92 kB added added
@sentry/browser - with treeshaking flags tracing without tracing 26.82 kB added added
@sentry/browser (incl. Tracing) 48.86 kB added added
@sentry/browser (incl. Tracing + Span Streaming) 48.87 kB added added
@sentry/browser (incl. Tracing, Profiling) 51.79 kB added added
@sentry/browser (incl. Tracing, Replay) 88.35 kB added added
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.75 kB added added
@sentry/browser (incl. Tracing, Replay with Canvas) 93.04 kB added added
@sentry/browser (incl. Tracing, Replay, Feedback) 106 kB added added
@sentry/browser (incl. Feedback) 46.05 kB added added
@sentry/browser (incl. sendFeedback) 33.62 kB added added
@sentry/browser (incl. FeedbackAsync) 38.73 kB added added
@sentry/browser (incl. Metrics) 29.51 kB added added
@sentry/browser (incl. Logs) 29.8 kB added added
@sentry/browser (incl. Metrics & Logs) 30.43 kB added added
@sentry/react 30.3 kB added added
@sentry/react (incl. Tracing) 51.06 kB added added
@sentry/vue 35.73 kB added added
@sentry/vue (incl. Tracing) 51.13 kB added added
@sentry/svelte 28.59 kB added added
CDN Bundle 30.35 kB added added
CDN Bundle (incl. Tracing) 49.5 kB added added
CDN Bundle (incl. Logs, Metrics) 32.58 kB added added
CDN Bundle (incl. Tracing, Logs, Metrics) 51.41 kB added added
CDN Bundle (incl. Replay, Logs, Metrics) 73.17 kB added added
CDN Bundle (incl. Tracing, Replay) 87 kB added added
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.86 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) 92.93 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.83 kB added added
CDN Bundle - uncompressed 89.95 kB added added
CDN Bundle (incl. Tracing) - uncompressed 147.56 kB added added
CDN Bundle (incl. Logs, Metrics) - uncompressed 96.24 kB added added
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 153.25 kB added added
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 225.41 kB added added
CDN Bundle (incl. Tracing, Replay) - uncompressed 267.05 kB added added
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 272.73 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 280.75 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 286.42 kB added added
@sentry/nextjs (client) 53.68 kB added added
@sentry/sveltekit (client) 49.29 kB added added
@sentry/core/server 40.72 kB added added
@sentry/core/browser 13.42 kB added added
@sentry/node 123.83 kB added added
@sentry/node/import (ESM hook with diagnostics-channel injection) 81.4 kB added added
@sentry/node - without tracing 88.13 kB added added
@sentry/node - without channel injection 103.26 kB added added
@sentry/aws-serverless 96.47 kB added added
@sentry/cloudflare (withSentry) - minified 201.21 kB added added
@sentry/cloudflare (withSentry) 500.7 kB added added

…tic one

`nextjs-16-streaming-cacheComponents` covered only 5 of the 9 tests its static counterpart runs. It was missing the two on-demand Server Component capture tests, the `generateMetadata` prerender test and the whole hanging promise rejection regression spec, along with the routes those need.

Ports the missing tests over and adds the webpack variant. The hanging promise regression is only observable under webpack, because server components are wrapped by `wrappingLoader`, which Turbopack builds do not run, so without that variant the ported spec would never exercise it.

Ref #23802
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@chargome
chargome changed the base branch from develop to test/e2e-nextjs-16-static September 1, 2026 14:31
@chargome
chargome force-pushed the test/e2e-cachecomponents-streaming-parity branch from 3be9670 to 237d931 Compare September 1, 2026 14:33
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