Skip to content

test: Disable span streaming in transaction-asserting tests#22577

Closed
Lms24 wants to merge 2 commits into
developfrom
test/opt-out-span-streaming
Closed

test: Disable span streaming in transaction-asserting tests#22577
Lms24 wants to merge 2 commits into
developfrom
test/opt-out-span-streaming

Conversation

@Lms24

@Lms24 Lms24 commented Jul 24, 2026

Copy link
Copy Markdown
Member

Prework for enabling span streaming by default without breaking existing transaction-asserting tests.

These tests explicitly stay on the static trace lifecycle for now. We'll gradually migrate them after span streaming is enabled by default.

Refs #22344

@Lms24
Lms24 force-pushed the test/opt-out-span-streaming branch from 28eb2fc to ab30932 Compare July 24, 2026 09:31
Lms24 and others added 2 commits July 24, 2026 11:49
Co-Authored-By: Cursor <cursoragent@cursor.com>
Account for the static trace lifecycle option in line-sensitive stack
context and source-map assertions.

Co-Authored-By: Cursor <cursoragent@cursor.com>
@Lms24
Lms24 force-pushed the test/opt-out-span-streaming branch from ab30932 to 9284001 Compare July 24, 2026 09:49
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 27.94 kB - -
@sentry/browser - with treeshaking flags 26.39 kB - -
@sentry/browser (incl. Tracing) 46.41 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.18 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.21 kB - -
@sentry/browser (incl. Tracing, Replay) 85.68 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.33 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.4 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 103.06 kB - -
@sentry/browser (incl. Feedback) 45.12 kB - -
@sentry/browser (incl. sendFeedback) 32.74 kB - -
@sentry/browser (incl. FeedbackAsync) 37.8 kB - -
@sentry/browser (incl. Metrics) 29.04 kB - -
@sentry/browser (incl. Logs) 29.26 kB - -
@sentry/browser (incl. Metrics & Logs) 29.96 kB - -
@sentry/react 29.74 kB - -
@sentry/react (incl. Tracing) 48.71 kB - -
@sentry/vue 33.38 kB - -
@sentry/vue (incl. Tracing) 48.39 kB - -
@sentry/svelte 27.96 kB - -
CDN Bundle 30.27 kB - -
CDN Bundle (incl. Tracing) 48.24 kB - -
CDN Bundle (incl. Logs, Metrics) 31.84 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.56 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 71.12 kB - -
CDN Bundle (incl. Tracing, Replay) 85.81 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.13 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.59 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.87 kB - -
CDN Bundle - uncompressed 90.09 kB - -
CDN Bundle (incl. Tracing) - uncompressed 145.16 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.8 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 149.14 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 219.57 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 264.4 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 268.37 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 278.1 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 282.06 kB - -
@sentry/nextjs (client) 51.23 kB - -
@sentry/sveltekit (client) 46.84 kB - -
@sentry/core/server 80.04 kB - -
@sentry/core/browser 52 kB - -
@sentry/node 123.08 kB -0.02% -19 B 🔽
@sentry/node (incl. diagnostics channel injection) 167.1 kB -0.01% -3 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 166 B - -
@sentry/node - without tracing 73.3 kB +0.01% +2 B 🔺
@sentry/aws-serverless 82.8 kB -0.01% -5 B 🔽
@sentry/cloudflare (withSentry) - minified 197.03 kB - -
@sentry/cloudflare (withSentry) 484.7 kB - -

View base workflow run

@Lms24

Lms24 commented Jul 24, 2026

Copy link
Copy Markdown
Member Author

Decided to split this up by test package.

@Lms24 Lms24 closed this Jul 24, 2026
Lms24 added a commit that referenced this pull request Jul 24, 2026
Prework for enabling span streaming by default without breaking the
remaining transaction-asserting tests.

The affected Bun, Deno, bundler, Ember, Node, and Vue tests explicitly
stay on the static trace lifecycle for now. This is the remaining-tests
slice of #22577 and is independent of the
other split PRs.

Refs #22344

Co-authored-by: Cursor <cursoragent@cursor.com>
Lms24 added a commit that referenced this pull request Jul 24, 2026
Prework for enabling span streaming by default without breaking existing
browser integration tests.

These tests explicitly stay on the static trace lifecycle for now. This
is the browser-integration-tests slice of
#22577.

Refs #22344
Lms24 added a commit that referenced this pull request Jul 24, 2026
Add the missing Cloudflare integration-test slice from #22577.

Non-streaming suites now explicitly stay on the static trace lifecycle,
while the suites that specifically exercise span streaming remain
unchanged. This is preparation to enabling span streaming by default.
Once enabled, we'll gradually migrate transaction-based tests over to
streaming.

Refs #22344

Co-authored-by: Cursor <cursoragent@cursor.com>
Lms24 added a commit that referenced this pull request Jul 24, 2026
Prework for enabling span streaming by default without breaking existing
E2E tests.

These test applications explicitly stay on the static trace lifecycle
for now. This is the E2E slice of #22577.

Refs #22344
Lms24 added a commit that referenced this pull request Jul 24, 2026
Prework for enabling span streaming by default without breaking existing
Node integration tests.

These tests explicitly stay on the static trace lifecycle for now. This
is the node-integration-tests slice of #22577 and is independent of the
other split PRs.

Refs #22344
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