Skip to content

test(angular, ember): Cover router span name fallbacks - #23548

Open
logaretm wants to merge 1 commit into
developfrom
awad/js-3417-router-span-name-tests
Open

test(angular, ember): Cover router span name fallbacks#23548
logaretm wants to merge 1 commit into
developfrom
awad/js-3417-router-span-name-tests

Conversation

@logaretm

@logaretm logaretm commented Aug 24, 2026

Copy link
Copy Markdown
Member

Covers the router span name fallback #23547 added, for the two SDKs it left untested.

@linear-code

linear-code Bot commented Aug 24, 2026

Copy link
Copy Markdown

JS-3417

@logaretm
logaretm force-pushed the awad/js-3417-router-span-name-tests branch 2 times, most recently from 3e2995c to 5ae2b30 Compare August 24, 2026 18:38
@logaretm
logaretm force-pushed the awad/js-3417-router-span-name-tests branch 2 times, most recently from 623edef to 549f0db Compare August 24, 2026 18:44
@github-actions

github-actions Bot commented Aug 24, 2026

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 28.57 kB - -
@sentry/browser - with treeshaking flags 26.92 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.82 kB - -
@sentry/browser (incl. Tracing) 48.55 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.57 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.47 kB - -
@sentry/browser (incl. Tracing, Replay) 88 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.44 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 92.69 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 105.41 kB - -
@sentry/browser (incl. Feedback) 45.81 kB - -
@sentry/browser (incl. sendFeedback) 33.36 kB - -
@sentry/browser (incl. FeedbackAsync) 38.47 kB - -
@sentry/browser (incl. Metrics) 29.52 kB - -
@sentry/browser (incl. Logs) 29.8 kB - -
@sentry/browser (incl. Metrics & Logs) 30.45 kB - -
@sentry/react 30.33 kB - -
@sentry/react (incl. Tracing) 50.76 kB - -
@sentry/vue 35.64 kB - -
@sentry/vue (incl. Tracing) 50.78 kB - -
@sentry/svelte 28.6 kB - -
CDN Bundle 30.32 kB - -
CDN Bundle (incl. Tracing) 49.07 kB - -
CDN Bundle (incl. Logs, Metrics) 32.54 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 50.94 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 72.96 kB - -
CDN Bundle (incl. Tracing, Replay) 86.57 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.44 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 92.33 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.27 kB - -
CDN Bundle - uncompressed 89.94 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.74 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 96.23 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.43 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 225.3 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.14 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.82 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.84 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 285.51 kB - -
@sentry/nextjs (client) 53.27 kB - -
@sentry/sveltekit (client) 48.97 kB +0.02% +6 B 🔺
@sentry/core/server 65.13 kB +0.04% +20 B 🔺
@sentry/core/browser 52.27 kB - -
@sentry/node 121.67 kB +0.09% +106 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 85.18 kB - -
@sentry/node - without tracing 87.52 kB +0.1% +81 B 🔺
@sentry/aws-serverless 95.93 kB +0.11% +96 B 🔺
@sentry/cloudflare (withSentry) - minified 199.28 kB - -
@sentry/cloudflare (withSentry) 495.43 kB - -

View base workflow run

@logaretm
logaretm marked this pull request as ready for review August 24, 2026 19:37
@logaretm
logaretm requested review from a team, chargome and nicohrubec and removed request for a team August 24, 2026 19:37
@logaretm
logaretm force-pushed the awad/js-3417-router-span-name-tests branch from 549f0db to a0c909b Compare August 25, 2026 15:43
Base automatically changed from awad/js-3417-emit-low-cardinality-router-span-names to develop August 25, 2026 16:47
@logaretm
logaretm requested review from a team as code owners August 25, 2026 16:47
Covers the router span name fallback end to end, not just at the unit
level. Both apps get a `sentryTest.variants` entry, which the e2e matrix
expands into a second matrix row that rebuilds the app with
`traceLifecycle: 'stream'` and runs the suite again.

Ember is built by Vite, so the lifecycle is a plain env var
(`VITE_TRACE_LIFECYCLE`). Angular can't read `process.env` in the browser
bundle, so it uses the builder's `fileReplacements` to swap
`trace-lifecycle.ts` for `trace-lifecycle.streamed.ts` under a new
`streamed` build configuration.

The assert command sets `E2E_TEST_TRACE_LIFECYCLE`, which the specs read:
the streamed specs skip unless it is set, and the transaction-based specs
skip when it is, since span streaming emits spans rather than
transactions.
@logaretm
logaretm force-pushed the awad/js-3417-router-span-name-tests branch from a0c909b to aacc8fa Compare August 25, 2026 16: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.

1 participant