Title: Port Remix & Hydrogen E2E test apps to span streaming · Issue #23807 · getsentry/sentry-javascript · GitHub
Open Graph Title: Port Remix & Hydrogen E2E test apps to span streaming · Issue #23807 · getsentry/sentry-javascript
X Title: Port Remix & Hydrogen E2E test apps to span streaming · Issue #23807 · getsentry/sentry-javascript
Description: Port these E2E test applications to span streaming (7 apps). Apps create-remix-app-express create-remix-app-express-vite-dev create-remix-app-v2 create-remix-app-v2-non-vite hydrogen-react-router-7 remix-hydrogen remix-server-timing What...
Open Graph Description: Port these E2E test applications to span streaming (7 apps). Apps create-remix-app-express create-remix-app-express-vite-dev create-remix-app-v2 create-remix-app-v2-non-vite hydrogen-react-router-7...
X Description: Port these E2E test applications to span streaming (7 apps). Apps create-remix-app-express create-remix-app-express-vite-dev create-remix-app-v2 create-remix-app-v2-non-vite hydrogen-react-router-7...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/23807
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Port Remix & Hydrogen E2E test apps to span streaming","articleBody":"Port these E2E test applications to span streaming (7 apps).\n\n## Apps\n\n* create-remix-app-express\n* create-remix-app-express-vite-dev\n* create-remix-app-v2\n* create-remix-app-v2-non-vite\n* hydrogen-react-router-7\n* remix-hydrogen\n* remix-server-timing\n\n## What to do\n\nFor each app:\n\n1. Remove the `traceLifecycle: 'static'` pin added in #22590 from every `Sentry.init` (client entry, server instrument file, and `server.ts` where present).\n2. Rewrite the specs from transaction envelopes to span v2:\n * `waitForTransaction` becomes `waitForStreamedSpan` / `waitForStreamedSpans`\n * `event.transaction` becomes `span.name`\n * `contexts.trace.op` becomes `getSpanOp(span)` plus `span.is_segment`\n * `contexts.trace.data['x']` becomes `span.attributes['x']`, which has the shape `{ value, type }`\n * `transaction_info.source` becomes the `sentry.segment.name.source` attribute\n3. Streamed child spans arrive across several envelopes, so use `collectStreamedSpans` wherever a test asserts on children of a segment span.\n\nWatch the low-cardinality names for `http.server` and `http.client` spans on the server side.\n\nReference apps: `react-router-7-spa-streaming` and `nextjs-16-streaming`. Worked example: getsentry/sentry-javascript#23797.\n\n## Keep static trace lifecycle coverage\n\nBefore porting this group, duplicate `create-remix-app-v2` as-is into `create-remix-app-v2-static` and leave that copy on the current transaction-based specs. That keeps the static trace lifecycle covered once the rest of the group moves to streaming.\n\nThe copy is verbatim; only the app name changes:\n\n* `package.json` -> `name`\n* `start-event-proxy.mjs` -> `proxyServerName`\n* every `waitForTransaction` / `waitForError` / `waitForSession` call in `tests/`\n\nKeep `traceLifecycle: 'static'` in the copy's `Sentry.init` calls. The e2e matrix discovers apps by directory, so no CI config change is needed.\n\nThe representative is a suggestion: swap it if another app in the list exercises more of this SDK's instrumentation.","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-09-01T09:03:23Z","url":"https://github.com/getsentry/sentry-javascript/issues/23807"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2f677d1a-7ec4-c732-551c-fe32e4749c8f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA16:F4D72:198624:22B2BF:6B04301A |
| html-safe-nonce | 7168f456f795676f3cc39805e1d20d20f4db243a6920e44f07a2ff1ab8695573 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTE2OkY0RDcyOjE5ODYyNDoyMkIyQkY6NkIwNDMwMUEiLCJ2aXNpdG9yX2lkIjoiNjg2OTAzMTM0OTY1MTc3OTYxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5117d723a011fc78ab3c3c3bb435ae0d81659592f7f1254f004c2f9a9134486d |
| hovercard-subject-tag | issue:5309932975 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/23807/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3e6727e313b36afbaa877e2662f464a98714d42c45ac5354fea53dda898b38b3/getsentry/sentry-javascript/issues/23807 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3e6727e313b36afbaa877e2662f464a98714d42c45ac5354fea53dda898b38b3/getsentry/sentry-javascript/issues/23807 |
| og:image:alt | Port these E2E test applications to span streaming (7 apps). Apps create-remix-app-express create-remix-app-express-vite-dev create-remix-app-v2 create-remix-app-v2-non-vite hydrogen-react-router-7... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width