Skip to content

test: Avoid unnecessary definedness checks for attributes on SerializedStreamedSpan objects #22060

Merged
mydea merged 3 commits into
test/node-integration-suite-type-checkfrom
test/serialized-streamed-span-attributes-tests
Jul 8, 2026
Merged

test: Avoid unnecessary definedness checks for attributes on SerializedStreamedSpan objects #22060
mydea merged 3 commits into
test/node-integration-suite-type-checkfrom
test/serialized-streamed-span-attributes-tests

Conversation

@Lms24

@Lms24 Lms24 commented Jul 8, 2026

Copy link
Copy Markdown
Member

Adjusts tests to avoid checking for definedness on SerializedStreamedSpan attributes (following #22052)

@Lms24 Lms24 changed the title test/serialized streamed span attributes tests test: Avoid unnecessary definedness checks for attributes on SerializedStreamedSpan objects Jul 8, 2026
@Lms24 Lms24 marked this pull request as ready for review July 8, 2026 09:26
@Lms24 Lms24 requested review from a team as code owners July 8, 2026 09:26
@Lms24 Lms24 requested review from JPeer264, andreiborza and logaretm and removed request for a team July 8, 2026 09:26
@Lms24 Lms24 self-assigned this Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.59 kB - -
@sentry/browser - with treeshaking flags 26.03 kB - -
@sentry/browser (incl. Tracing) 46.27 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.03 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.03 kB - -
@sentry/browser (incl. Tracing, Replay) 85.56 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.17 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.26 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 102.91 kB - -
@sentry/browser (incl. Feedback) 44.76 kB - -
@sentry/browser (incl. sendFeedback) 32.38 kB - -
@sentry/browser (incl. FeedbackAsync) 37.51 kB - -
@sentry/browser (incl. Metrics) 28.67 kB - -
@sentry/browser (incl. Logs) 28.91 kB - -
@sentry/browser (incl. Metrics & Logs) 29.59 kB - -
@sentry/react 29.38 kB - -
@sentry/react (incl. Tracing) 48.53 kB - -
@sentry/vue 33.03 kB - -
@sentry/vue (incl. Tracing) 48.16 kB - -
@sentry/svelte 27.61 kB - -
CDN Bundle 30 kB - -
CDN Bundle (incl. Tracing) 48.26 kB - -
CDN Bundle (incl. Logs, Metrics) 31.57 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.57 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.81 kB - -
CDN Bundle (incl. Tracing, Replay) 85.73 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.04 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.55 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.83 kB - -
CDN Bundle - uncompressed 89.35 kB - -
CDN Bundle (incl. Tracing) - uncompressed 145.99 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.05 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 149.96 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 218.75 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.16 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 269.12 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 278.86 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 282.81 kB - -
@sentry/nextjs (client) 50.94 kB - -
@sentry/sveltekit (client) 46.68 kB - -
@sentry/core/server 78.38 kB - -
@sentry/core/browser 64.74 kB - -
@sentry/node-core 62.72 kB - -
@sentry/node 124.6 kB - -
@sentry/node (incl. diagnostics channel injection) 132.88 kB -0.01% -1 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 69.95 kB - -
@sentry/node/light 50.72 kB -0.01% -1 B 🔽
@sentry/node - without tracing 74.05 kB -0.01% -1 B 🔽
@sentry/aws-serverless 85.5 kB - -
@sentry/cloudflare (withSentry) - minified 181.68 kB - -
@sentry/cloudflare (withSentry) 449.39 kB - -

View base workflow run

@mydea mydea force-pushed the test/node-integration-suite-type-check branch from 2e57e43 to 3ceac73 Compare July 8, 2026 11:36
Lms24 and others added 2 commits July 8, 2026 13:37
Now that attributes is required on SerializedStreamedSpan, remove
unnecessary attributes?. checks in streamed span tests and helpers.

Co-Authored-By: Cursor <cursoragent@cursor.com>
Co-Authored-By: Cursor <cursoragent@cursor.com>
@mydea mydea force-pushed the test/serialized-streamed-span-attributes-tests branch from 9aff545 to 7131b28 Compare July 8, 2026 11:37
@mydea mydea merged commit 8bfef51 into develop Jul 8, 2026
589 of 591 checks passed
@mydea mydea deleted the test/serialized-streamed-span-attributes-tests branch July 8, 2026 12:47
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.

3 participants