GeezerVison is showing github.com — feat(solidstart): Export `withSentry` from `@sentry/solidstart/vite` by isaacs · Pull Request #25725 · getsentry/sentry-javascript
Conversation
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 💬
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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 |
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
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
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
isaacs reacted with thumbs up emoji
`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) <[email protected]>
isaacs
added a commit
to getsentry/sentry-docs
that referenced
this pull request
Oct 29, 2026
This was referenced Oct 29, 2026
Uh oh!
There was an error while loading. Please reload this page.
isaacs
deleted the
isaacschlueter/js-3989-guard-server-runtime-entries-against-pulling-in-build-time-solidstart
branch
October 30, 2026 21:08
nicohrubec
pushed a commit
to getsentry/sentry-docs
that referenced
this pull request
Nov 17, 2026
Update the `@sentry/solidstart` entry point to use.
Re: getsentry/sentry-javascript#25725
- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
_Make sure you've checked the following before merging your changes:_
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
## LEGAL BOILERPLATE
<!-- Sentry employees and contractors can delete or ignore this section.
-->
Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.
## EXTRA RESOURCES
- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|