You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Port cloudflare-integration-tests to span streaming #24132
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 integration test package.
Scope
102 traceLifecycle: 'static' pins across 82 files
2 suites already have a -streamed twin: tracing/ignoreSpans-streamed and public-api/startSpan-streamed
tracing/d1 uses an env-gated STREAMED switch
This package has no shared span helpers. Every streamed test hand-rolls its own getSpanContainer, so the helper work comes first.
How to port a suite
Remove the traceLifecycle: 'static' pin from every Sentry.init in the suite.
If a -streamed twin exists, fold it back: delete the static original and rename the twin to the base name.
Rewrite the assertions from transaction envelopes to span v2 against the shared helper added in the first sub-issue:
event.transaction becomes span.name
contexts.trace.op becomes the sentry.op attribute plus span.is_segment
contexts.trace.data['x'] becomes span.attributes['x'], which has the shape { value, type }
transaction_info.source becomes the sentry.segment.name.source attribute
Watch for span names that become low cardinality under streaming: http.server, http.client, db, cache and gen_ai.
Activity
linear-code commentedon Sep 7, 2026
JS-3602
test(cloudflare): Port the remaining static suites to span streaming (#…
github-actions commentedon Oct 8, 2026
A PR closing this issue has just been released 🚀
This issue was referenced by PR #25112, which was included in the 11.6.0 release.