Skip to content

test(e2e): Port Ember E2E apps to span streaming - #24168

Merged
Lms24 merged 1 commit into
developfrom
rolaabuhasna/js-3489/ember
Sep 10, 2026
Merged

test(e2e): Port Ember E2E apps to span streaming#24168
Lms24 merged 1 commit into
developfrom
rolaabuhasna/js-3489/ember

Conversation

@RulaKhaled

Copy link
Copy Markdown
Collaborator

Removes the traceLifecycle: 'static' pin from ember-classic, ember-embroider, and ember-vite, and rewrites their specs onto streamed spans.

Why

Ember router child spans become Router under streaming, so those assertions cannot stay as route:a -> route:b. Classic and embroider keep the fuller URL and child-span coverage; vite is thinner in the original suite and stays that way.

ember-classic-static is skipped. ember-strict-resolver already runs the full static transaction suite in default CI and already has a streamed variant from #23548, so a third Ember copy would only duplicate that.

Part of #23805

ember-classic, ember-embroider, and ember-vite drop the static lifecycle pin. Router children are named Router under streaming; pageload and navigation segments keep the parameterized route name. ember-classic-static is skipped because ember-strict-resolver already runs both lifecycles.

Co-Authored-By: Cursor Grok 4.6 <cursoragent@cursor.com>
@linear-code

linear-code Bot commented Sep 7, 2026

Copy link
Copy Markdown

JS-3489

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 28.8 kB - -
@sentry/browser - with treeshaking flags 27.11 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27 kB - -
@sentry/browser (incl. Tracing) 49.22 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 49.22 kB - -
@sentry/browser (incl. Tracing, Profiling) 52.12 kB - -
@sentry/browser (incl. Tracing, Replay) 88.76 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.95 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 93.44 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 106.37 kB - -
@sentry/browser (incl. Feedback) 46.3 kB - -
@sentry/browser (incl. sendFeedback) 33.86 kB - -
@sentry/browser (incl. FeedbackAsync) 38.97 kB - -
@sentry/browser (incl. Metrics) 29.82 kB - -
@sentry/browser (incl. Logs) 30.09 kB - -
@sentry/browser (incl. Metrics & Logs) 30.75 kB - -
@sentry/react 30.55 kB - -
@sentry/react (incl. Tracing) 51.42 kB - -
@sentry/vue 36.05 kB - -
@sentry/vue (incl. Tracing) 51.48 kB - -
@sentry/svelte 28.83 kB - -
CDN Bundle 30.55 kB - -
CDN Bundle (incl. Tracing) 49.74 kB - -
CDN Bundle (incl. Logs, Metrics) 32.82 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 51.7 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 73.48 kB - -
CDN Bundle (incl. Tracing, Replay) 87.29 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 89.18 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 93.22 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 95.21 kB - -
CDN Bundle - uncompressed 90.46 kB - -
CDN Bundle (incl. Tracing) - uncompressed 148.17 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 97.03 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 154.14 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 226.29 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 267.76 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 273.71 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 281.46 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 287.4 kB - -
@sentry/nextjs (client) 54.03 kB - -
@sentry/sveltekit (client) 49.65 kB - -
@sentry/core/server 38.63 kB - -
@sentry/core/browser 13.55 kB - -
@sentry/node 127.63 kB +0.02% +21 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 81.58 kB - -
@sentry/node - without tracing 88.71 kB +0.03% +21 B 🔺
@sentry/node - without channel injection 106.9 kB +0.02% +20 B 🔺
@sentry/aws-serverless 97.1 kB +0.03% +26 B 🔺
@sentry/cloudflare (withSentry) - minified 201.91 kB - -
@sentry/cloudflare (withSentry) 502.4 kB - -

View base workflow run

@RulaKhaled
RulaKhaled marked this pull request as ready for review September 8, 2026 12:15
@RulaKhaled
RulaKhaled requested review from Lms24 and mydea September 10, 2026 07:47

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm gonna merge this, since I'm working on another ember change (#24271) that needs span streaming e2e tests. Changes look good to me. Tracking the bug separately.

Comment on lines +14 to +20
name: 'route:index',
is_segment: true,
attributes: {
'sentry.op': { type: 'string', value: 'pageload' },
'sentry.origin': { type: 'string', value: 'auto.pageload.ember' },
'sentry.segment.name.source': { type: 'string', value: 'route' },
'url.template': { type: 'string', value: '/' },

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not part of this PR but this surfaces a bug in the Ember SDK: The name must be reflected either in url.template or (probably better for this case) router.navigation.route.id.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tracking in #24284

@Lms24
Lms24 merged commit dccf25d into develop Sep 10, 2026
46 checks passed
@Lms24
Lms24 deleted the rolaabuhasna/js-3489/ember branch September 10, 2026 08:20
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.

2 participants