Title: Cloudflare Workers: no server segment span for a request interrupted by a streaming RSC error under span streaming · Issue #23932 · getsentry/sentry-javascript · GitHub
Open Graph Title: Cloudflare Workers: no server segment span for a request interrupted by a streaming RSC error under span streaming · Issue #23932 · getsentry/sentry-javascript
X Title: Cloudflare Workers: no server segment span for a request interrupted by a streaming RSC error under span streaming · Issue #23932 · getsentry/sentry-javascript
Description: What On Cloudflare Workers with span streaming enabled, a request whose response is interrupted by a crashing streaming RSC promise emits no http.server segment span for the route. Under traceLifecycle: 'static' the equivalent transactio...
Open Graph Description: What On Cloudflare Workers with span streaming enabled, a request whose response is interrupted by a crashing streaming RSC promise emits no http.server segment span for the route. Under traceLifec...
X Description: What On Cloudflare Workers with span streaming enabled, a request whose response is interrupted by a crashing streaming RSC promise emits no http.server segment span for the route. Under traceLifec...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/23932
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cloudflare Workers: no server segment span for a request interrupted by a streaming RSC error under span streaming","articleBody":"## What\n\nOn Cloudflare Workers with span streaming enabled, a request whose response is interrupted by a crashing streaming RSC promise emits no `http.server` segment span for the route. Under `traceLifecycle: 'static'` the equivalent transaction is sent.\n\nThe same scenario on Node (`nextjs-16`) does emit the server segment span, so this appears specific to the Workers runtime.\n\n## Evidence\n\nObserved in the `nextjs-16-cf-workers` E2E app while porting it to span streaming in #23926. The streamed event dump for a run of `streaming-rsc-error.test.ts` contains, all on trace `7e8fee9d`:\n\n```\nresolve page server component \"/streaming-rsc-error/[param]\" is_segment=false\nhttp://localhost:3030/streaming-rsc-error/123 is_segment=false (x7)\n/streaming-rsc-error/:param is_segment=true \u003c- client pageload\n```\n\nThe error (`I am a data streaming error`) is captured on that same trace. Server-side children are present, so the work is traced - but there is no `GET /streaming-rsc-error/[param]` segment span. Other routes in the same app do emit their server segments (`GET /parameterized/[one]/beep/[two]`, `GET /isr-test/[product]`, etc.), so it is not a blanket absence.\n\n`nextjs-16-cf-workers` passes on `develop` today with the transaction-based version of this spec, which is not skipped there.\n\n## Impact\n\nA request aborted by a streaming RSC error is not represented by a segment span on Workers under streaming, so it would not appear as a transaction in the product. Its children and its error are still sent, and are orphaned onto the client pageload's trace.\n\n## Status\n\nThe affected E2E test is skipped in #23926 with a pointer to this issue, rather than having its expectations relaxed. This app already carries several `test.skip`s with TODOs for Cloudflare Workers SDK work; this is another.","author":{"url":"https://github.com/chargome","@type":"Person","name":"chargome"},"datePublished":"2026-09-02T11:58:06Z","url":"https://github.com/getsentry/sentry-javascript/issues/23932"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2425fa34-9136-46c4-a104-149a24e768ed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 96EE:14476:17E51A:20256B:6B043729 |
| html-safe-nonce | b709abe84048bf235184cf1acb0bd823216c8b41e36d873119d392c57206698a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkVFOjE0NDc2OjE3RTUxQToyMDI1NkI6NkIwNDM3MjkiLCJ2aXNpdG9yX2lkIjoiMTIxOTE2NDA2MjYxMzc4MDI2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a66142368fed777112e19ee023a045e58219746fc3e822da0cf754e758daeb8 |
| hovercard-subject-tag | issue:5323578164 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/23932/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2f819eb02e00b96828f8d7275b46891650eb6e8112f6774029bbbdfd25a34133/getsentry/sentry-javascript/issues/23932 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2f819eb02e00b96828f8d7275b46891650eb6e8112f6774029bbbdfd25a34133/getsentry/sentry-javascript/issues/23932 |
| og:image:alt | What On Cloudflare Workers with span streaming enabled, a request whose response is interrupted by a crashing streaming RSC promise emits no http.server segment span for the route. Under traceLifec... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chargome |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width