Skip to content

feat(solidstart): Export withSentry from @sentry/solidstart/vite - #25725

Merged
isaacs merged 1 commit into
isaacschlueter/js-3989-guard-server-runtime-entries-against-pulling-in-build-time-guardfrom
isaacschlueter/js-3989-guard-server-runtime-entries-against-pulling-in-build-time-solidstart
Oct 30, 2026
Merged

isaacs merged 1 commit into
isaacschlueter/js-3989-guard-server-runtime-entries-against-pulling-in-build-time-guardfrom
isaacschlueter/js-3989-guard-server-runtime-entries-against-pulling-in-build-time-solidstart

Conversation

@isaacs

@isaacs isaacs commented Oct 23, 2026

Copy link
Copy Markdown
Member

withSentry wraps the SolidStart config at build time. The root entry re-exports it, so the server runtime entry reaches @sentry/bundler-plugins and the orchestrion rollup transform. Any tool that traces or bundles the server entry then pulls that tooling in.

withSentry now also comes from @sentry/solidstart/vite, next to the Vite plugin. The root export stays, deprecated, until the next major version, so existing app.config.ts files keep working. The E2E apps use the new path.

Refs #25676


Stack created with GitHub Stacks CLI • Give Feedback 💬

@linear-code

linear-code Bot commented Oct 23, 2026

Copy link
Copy Markdown

JS-3989

@isaacs
isaacs added this pull request to stack #25727 October 23, 2026 21:20
@isaacs
isaacs requested a review from a team as a code owner October 23, 2026 21:20
@isaacs
isaacs requested review from chargome and s1gr1d and removed request for a team October 23, 2026 21:20
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Optional E2E tests

All optional checks were successful. 1 successful. See the run.

Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E solidstart-2 Test (optional) Successful in 43s Details

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: 207e9f7 (PR test merge using develop at 0341c0b)

Against: 30cfb4c (develop) · base run #64245

⚠️ Baseline mismatch: 2 develop commit(s) in the PR build are missing from the baseline. Their size changes also affect this comparison. Compare commits. Re-run once develop's baseline build for 0341c0b finishes.

Path Size % Change Change
@sentry/browser 30.39 kB - -
@sentry/browser - with treeshaking flags 28.53 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 28.42 kB - -
@sentry/browser (incl. Tracing) 52.71 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 52.72 kB - -
@sentry/browser (incl. Tracing, Profiling) 55.69 kB - -
@sentry/browser (incl. Tracing, Replay) 93.01 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 81.61 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 97.76 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 110.75 kB - -
@sentry/browser (incl. Feedback) 47.97 kB - -
@sentry/browser (incl. sendFeedback) 35.49 kB - -
@sentry/browser (incl. FeedbackAsync) 40.6 kB - -
@sentry/browser (incl. Metrics) 31.42 kB - -
@sentry/browser (incl. Logs) 31.72 kB - -
@sentry/browser (incl. Metrics & Logs) 32.44 kB - -
@sentry/react 32.27 kB - -
@sentry/react (incl. Tracing) 55.07 kB - -
@sentry/vue 38.66 kB - -
@sentry/vue (incl. Tracing) 55.73 kB - -
@sentry/svelte 30.42 kB - -
@sentry/remix (Remix 3 client bundle) 57.8 kB - -
CDN Bundle 32.18 kB - -
CDN Bundle (incl. Tracing) 53.23 kB - -
CDN Bundle (incl. Logs, Metrics) 34.45 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 55.18 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 75.86 kB - -
CDN Bundle (incl. Tracing, Replay) 91.44 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 93.38 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 97.56 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 99.55 kB - -
CDN Bundle - uncompressed 94.62 kB - -
CDN Bundle (incl. Tracing) - uncompressed 157.6 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 101.09 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 163.33 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 232.65 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 279.29 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 285.01 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 292.99 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 298.7 kB - -
@sentry/nextjs (client) 57.89 kB - -
@sentry/sveltekit (client) 53.22 kB - -
@sentry/core/server 44.24 kB - -
@sentry/core/browser 13.93 kB - -
@sentry/node 154.92 kB +0.02% +16 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 81.95 kB - -
@sentry/node - without tracing 96.13 kB +0.03% +21 B 🔺
@sentry/node - without channel injection 135.33 kB +0.02% +15 B 🔺
@sentry/aws-serverless 104.32 kB +0.03% +22 B 🔺
@sentry/cloudflare (withSentry) - minified 197.92 kB - -
@sentry/cloudflare (withSentry) 491.93 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 218.35 kB - -

View base workflow run

@nicohrubec nicohrubec 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.

lgtm, we should also update the docs to use the new setup and add a ticket to the v12 milestone

@isaacs
isaacs requested review from a team as code owners October 29, 2026 17:58
@isaacs
isaacs requested review from andreiborza, logaretm, msonnb and mydea and removed request for a team October 29, 2026 17:58
`withSentry` wraps the SolidStart config at build time. The root entry
re-exports it, so the server runtime entry reaches
`@sentry/bundler-plugins` and the orchestrion rollup transform. Any
tool that traces or bundles the server entry then pulls that tooling
in.

`withSentry` now also comes from `@sentry/solidstart/vite`, next to the
Vite plugin. The root export stays, deprecated, until the next major
version, so existing `app.config.ts` files keep working. The E2E apps
use the new path.

Refs #25676

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
isaacs added a commit to getsentry/sentry-docs that referenced this pull request Oct 29, 2026
@isaacs
isaacs force-pushed the isaacschlueter/js-3989-guard-server-runtime-entries-against-pulling-in-build-time-solidstart branch from e799694 to 4494191 Compare October 29, 2026 18:12
@isaacs
isaacs enabled stacked auto-merge (squash) October 30, 2026 19:08
@isaacs
isaacs merged commit 3e24a70 into develop Oct 30, 2026
51 checks passed
@isaacs
isaacs deleted the isaacschlueter/js-3989-guard-server-runtime-entries-against-pulling-in-build-time-solidstart branch October 30, 2026 21:08
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