René's URL Explorer Experiment


Title: Guard server runtime entries against pulling in build-time tooling · Issue #25676 · getsentry/sentry-javascript · GitHub

Open Graph Title: Guard server runtime entries against pulling in build-time tooling · Issue #25676 · getsentry/sentry-javascript

X Title: Guard server runtime entries against pulling in build-time tooling · Issue #25676 · getsentry/sentry-javascript

Description: Since server-side tracing in v11 relies on build-time instrumentation, build tooling keeps leaking into server runtime bundles: bundler plugins, oxc-parser, orchestrion's bundler transforms, Vite/webpack/Babel and WASM. Each time this su...

Open Graph Description: Since server-side tracing in v11 relies on build-time instrumentation, build tooling keeps leaking into server runtime bundles: bundler plugins, oxc-parser, orchestrion's bundler transforms, Vite/w...

X Description: Since server-side tracing in v11 relies on build-time instrumentation, build tooling keeps leaking into server runtime bundles: bundler plugins, oxc-parser, orchestrion's bundler transforms, Vi...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/25676

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Guard server runtime entries against pulling in build-time tooling","articleBody":"Since server-side tracing in v11 relies on build-time instrumentation, build tooling keeps leaking into server runtime bundles: bundler plugins, `oxc-parser`, orchestrion's bundler transforms, Vite/webpack/Babel and WASM. Each time this surfaces as a different user-facing breakage, depending on what consumes the server entry. Some examples:\n\n- #22794: the Next.js server entry reached `withSentryConfig`, which pulled orchestrion WASM into a workerd bundle (CompileError)\n- #23034: `meriyah` missing from Next standalone output\n- #23243: SvelteKit pulls in `@babel/core`\n- #24775: Nuxt/Nitro inlining breaks\n- #25470: SvelteKit 3 / Azure bundling of `pg`\n\nUsers usually find these, often in production deploys, and nothing stops the same shape from coming back. `dev-packages/bundler-tests` only covers a basic fixture and does not check what a runtime entry may reach.\n\n### Proposal\n\n1. **Add a runtime import-graph guard in CI.** For every server runtime entry, resolve the full import graph (esbuild metafile and/or `@vercel/nft`, which matches what Next standalone and similar tools trace). Fail if the graph reaches build-only code, e.g. `@sentry/bundler-plugins`, `oxc-parser`, `@sentry/server-utils/orchestrion/bundler/*`, `vite`, `webpack`, `rollup`, `@babel/*` or `*.wasm`. The entries to check:\n   - `@sentry/node` (`.`)\n   - each meta-framework's server entry (nextjs, nuxt, sveltekit, astro, react-router, remix, tanstackstart, solidstart)\n   - `@sentry/cloudflare`, `@sentry/bun`, `@sentry/deno` and `@sentry/vercel-edge`\n\n   The set of runtime entries is small and enumerable, so the guard is cheap to maintain and turns this class of regressions into a PR-time failure.\n\n2. **Fix the violations the guard finds.** One known case is `@sentry/astro`: its `.` export (node condition → `index.server`) is both the Astro integration (`export default sentryAstro`, used in `astro.config`) and the server runtime SDK. Through `packages/astro/src/integration/index.ts`, the runtime entry therefore imports `@sentry/bundler-plugins/vite`, `@sentry/server-utils/orchestrion/vite`, `fs` and `createRequire`. Fixing it needs a separate config entry (or an equivalent split), so it needs a decision on how to stay backwards compatible with `import sentry from '@sentry/astro'` in `astro.config`.\n\nOut of scope here: changing package `dependencies`, e.g. #24849 (`@sentry/node` depending on `@sentry/bundler-plugins`). That affects install footprint, not what ends up in bundles, and changing it would be breaking.\n","author":{"url":"https://github.com/mydea","@type":"Person","name":"mydea"},"datePublished":"2026-10-23T07:08:47Z","url":"https://github.com/getsentry/sentry-javascript/issues/25676"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:bc58a2dc-7e58-0eb3-7456-16d79f941717
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB5B0:13A804:10159E4:16952D0:6B044A99
html-safe-noncec24c397abea9d9c0cbd6ca6ae1829a118c8bc32586b1718a0d46de2f4c7a8760
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUIwOjEzQTgwNDoxMDE1OUU0OjE2OTUyRDA6NkIwNDRBOTkiLCJ2aXNpdG9yX2lkIjoiNDA4MTY4MTYxNDE3Mjg2NzIyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac09331b1f13cc4ed2e4b4052d9acfd4414a462360e849fcaba8dc6faf7e4792e2
hovercard-subject-tagissue:5993538811
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/25676/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ca4e5c5a5a9cd08ebee57635494936c4253a7826b30c378e9052e8c1243bc318/getsentry/sentry-javascript/issues/25676
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ca4e5c5a5a9cd08ebee57635494936c4253a7826b30c378e9052e8c1243bc318/getsentry/sentry-javascript/issues/25676
og:image:altSince server-side tracing in v11 relies on build-time instrumentation, build tooling keeps leaking into server runtime bundles: bundler plugins, oxc-parser, orchestrion's bundler transforms, Vite/w...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemydea
hostnamegithub.com
expected-hostnamegithub.com
Noned4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/25676#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F25676
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F25676
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/25676
Reloadhttps://github.com/getsentry/sentry-javascript/issues/25676
Reloadhttps://github.com/getsentry/sentry-javascript/issues/25676
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests54 (54)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/25676
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/25676
#25726https://github.com/getsentry/sentry-javascript/pull/25726
Guard server runtime entries against pulling in build-time toolinghttps://github.com/getsentry/sentry-javascript/issues/25676#top
#25726https://github.com/getsentry/sentry-javascript/pull/25726
https://github.com/mydea
mydeahttps://github.com/mydea
on Oct 23, 2026https://github.com/getsentry/sentry-javascript/issues/25676#issue-5993538811
@sentry/nextjs server entry re-exports withSentryConfig, pulling the orchestrion webpack plugin's WASM into the runtime bundle (CompileError on Cloudflare Workers) #22794https://github.com/getsentry/sentry-javascript/issues/22794
meriyah.mjs missing at runtime in Next.js "standalone" builds since 10.59.0 (server-utils → meriyah not fully traced by nft) #23034https://github.com/getsentry/sentry-javascript/issues/23034
@sentry/sveltekit: server entry statically re-exports the Vite plugin, pulling @babel/core into the runtime module graph #23243https://github.com/getsentry/sentry-javascript/issues/23243
@sentry/nuxt 11: CommonJS packages inlined for build-time instrumentation break in the Nitro bundle #24775https://github.com/getsentry/sentry-javascript/issues/24775
[SvelteKit 3] Sentry 11.8 build-time instrumentation breaks PostgreSQL bundling in Azure Functions #25470https://github.com/getsentry/sentry-javascript/issues/25470
#24849https://github.com/getsentry/sentry-javascript/issues/24849
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Oct 23, 2026https://github.com/getsentry/sentry-javascript/issues/25676#issuecomment-6359518643
Linear Codehttps://linear.app
JS-3989https://linear.app/getsentry/issue/JS-3989
mydeahttps://github.com/mydea
isaacshttps://github.com/isaacs
on Oct 23, 2026https://github.com/getsentry/sentry-javascript/issues/25676#event-34027330026
isaacshttps://github.com/isaacs
on Oct 29, 2026https://github.com/getsentry/sentry-javascript/issues/25676#event-34617041028
test(bundler-tests): Guard server runtime entries against build-time …https://github.com/getsentry/sentry-javascript/commit/a837f5a912aa8cc82e06ae410a02f1f2f209a88e
a837f5ahttps://github.com/getsentry/sentry-javascript/commit/a837f5a912aa8cc82e06ae410a02f1f2f209a88e
test(bundler-tests): Guard server runtime entries against build-time …https://github.com/getsentry/sentry-javascript/commit/8cbb9ca00de99004d43e9f2a12e5f36491fd7c99
8cbb9cahttps://github.com/getsentry/sentry-javascript/commit/8cbb9ca00de99004d43e9f2a12e5f36491fd7c99
feat(solidstart): Export `withSentry` from `@sentry/solidstart/vite`https://github.com/getsentry/sentry-javascript/commit/44941917c7c070995ced2d6cbf787cc40987e86b
4494191https://github.com/getsentry/sentry-javascript/commit/44941917c7c070995ced2d6cbf787cc40987e86b
feat(astro): Add `@sentry/astro/integration` entry for the Astro inte…https://github.com/getsentry/sentry-javascript/commit/39bcd928e33970b981df290183ca3055bcccd3f7
39bcd92https://github.com/getsentry/sentry-javascript/commit/39bcd928e33970b981df290183ca3055bcccd3f7
isaacshttps://github.com/isaacs
on Oct 30, 2026https://github.com/getsentry/sentry-javascript/issues/25676#event-34724276326
isaacshttps://github.com/isaacs
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#25726https://github.com/getsentry/sentry-javascript/pull/25726
on Oct 30, 2026https://github.com/getsentry/sentry-javascript/issues/25676#event-34732745488
isaacshttps://github.com/isaacs
on Oct 30, 2026https://github.com/getsentry/sentry-javascript/issues/25676#event-34732749941
test(bundler-tests): Guard server runtime entries against build-time …https://github.com/getsentry/sentry-javascript/commit/d045e1c26d128f5b9f29e1f5d497bd0df12310eb
d045e1chttps://github.com/getsentry/sentry-javascript/commit/d045e1c26d128f5b9f29e1f5d497bd0df12310eb
feat(solidstart): Export `withSentry` from `@sentry/solidstart/vite` (#…https://github.com/getsentry/sentry-javascript/commit/3e24a705c0f8cdff3b0fde88cdcfb524f4ada555
#…https://github.com/getsentry/sentry-javascript/pull/25725
3e24a70https://github.com/getsentry/sentry-javascript/commit/3e24a705c0f8cdff3b0fde88cdcfb524f4ada555
feat(astro): Add `@sentry/astro/integration` entry for the Astro inte…https://github.com/getsentry/sentry-javascript/commit/f74a45dfa4eac8872de49b5b7f9d3b4fa0eb1036
f74a45dhttps://github.com/getsentry/sentry-javascript/commit/f74a45dfa4eac8872de49b5b7f9d3b4fa0eb1036
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Nov 5, 2026https://github.com/getsentry/sentry-javascript/issues/25676#issuecomment-6658241287
GitHub Actionshttps://help.github.com/en/actions
#25726https://github.com/getsentry/sentry-javascript/pull/25726
11.11.0 releasehttps://github.com/getsentry/sentry-javascript/releases/tag/11.11.0
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/25676
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/25676
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.