Title: Port cloudflare-integration-tests to span streaming · Issue #24132 · getsentry/sentry-javascript · GitHub
Open Graph Title: Port cloudflare-integration-tests to span streaming · Issue #24132 · getsentry/sentry-javascript
X Title: Port cloudflare-integration-tests to span streaming · Issue #24132 · getsentry/sentry-javascript
Description: Port dev-packages/cloudflare-integration-tests to span streaming. Span streaming is the default, so every suite that still pins traceLifecycle: 'static' covers behaviour we no longer ship. Part of SDK-1425, one tracking issue per integra...
Open Graph Description: Port dev-packages/cloudflare-integration-tests to span streaming. Span streaming is the default, so every suite that still pins traceLifecycle: 'static' covers behaviour we no longer ship. Part of ...
X Description: Port dev-packages/cloudflare-integration-tests to span streaming. Span streaming is the default, so every suite that still pins traceLifecycle: 'static' covers behaviour we no longer ship. ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/24132
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Port cloudflare-integration-tests to span streaming","articleBody":"Port `dev-packages/cloudflare-integration-tests` to span streaming. Span streaming is the default, so every suite that still pins `traceLifecycle: 'static'` covers behaviour we no longer ship.\n\nPart of [SDK-1425](https://linear.app/getsentry/issue/SDK-1425/port-integration-tests-to-span-streaming), one tracking issue per integration test package.\n\n## Scope\n\n* 102 `traceLifecycle: 'static'` pins across 82 files\n* 2 suites already have a `-streamed` twin: `tracing/ignoreSpans-streamed` and `public-api/startSpan-streamed`\n* `tracing/d1` uses an env-gated `STREAMED` switch\n* This package has no shared span helpers. Every streamed test hand-rolls its own `getSpanContainer`, so the helper work comes first.\n\n## How to port a suite\n\n1. Remove the `traceLifecycle: 'static'` pin from every `Sentry.init` in the suite.\n2. If a `-streamed` twin exists, fold it back: delete the static original and rename the twin to the base name.\n3. Rewrite the assertions from transaction envelopes to span v2 against the shared helper added in the first sub-issue:\n * `event.transaction` becomes `span.name`\n * `contexts.trace.op` becomes the `sentry.op` attribute plus `span.is_segment`\n * `contexts.trace.data['x']` becomes `span.attributes['x']`, which has the shape `{ value, type }`\n * `transaction_info.source` becomes the `sentry.segment.name.source` attribute\n\nWatch for span names that become low cardinality under streaming: `http.server`, `http.client`, `db`, `cache` and `gen_ai`.\n\nReference suite: `suites/public-api/startSpan-streamed`.\n\n## Keep static trace lifecycle coverage\n\nKeep one suite on the static pin as a guard rather than duplicating each one. Name it in the PR.","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-09-07T08:44:19Z","url":"https://github.com/getsentry/sentry-javascript/issues/24132"}
| 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:68e0f563-b5bb-1977-2fa7-eb42cba41ef5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A43A:1C3A51:AC4C48:EBDF61:6B04530B |
| html-safe-nonce | a6ecb7a3d49b7f3283c9162cc6f844e10ee252072d17b42c70807d82c08e98ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDNBOjFDM0E1MTpBQzRDNDg6RUJERjYxOjZCMDQ1MzBCIiwidmlzaXRvcl9pZCI6Ijg0MzEwMzcxNzE5NjM4MTA1NzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 92497ff6f9e121288e075c6268e72be6269753577fc8900a7680641b354f123b |
| hovercard-subject-tag | issue:5372240135 |
| 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/24132/issue_layout |
| twitter:image | https://opengraph.githubassets.com/27c750dc9157c6260e4936ac5bc0b7882ddba288ac4da3217b202603fa6b1fa6/getsentry/sentry-javascript/issues/24132 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/27c750dc9157c6260e4936ac5bc0b7882ddba288ac4da3217b202603fa6b1fa6/getsentry/sentry-javascript/issues/24132 |
| og:image:alt | Port dev-packages/cloudflare-integration-tests to span streaming. Span streaming is the default, so every suite that still pins traceLifecycle: 'static' covers behaviour we no longer ship. Part of ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 910ca0e260cfec6aff11407d8dc6a0d3a4cd381a2ec9ada56627b063426892a0 |
| 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 | e086f9b7e88322eb2b41885a6ad425b215737fa5 |
| ui-target | canary-1 |
| 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