Skip to content

feat(tanstackstart): Auto-wire orchestrion build-time instrumentation - #22902

Merged
chargome merged 2 commits into
developfrom
cg/tanstack-orchestrion
Jul 31, 2026
Merged

feat(tanstackstart): Auto-wire orchestrion build-time instrumentation#22902
chargome merged 2 commits into
developfrom
cg/tanstack-orchestrion

Conversation

@chargome

@chargome chargome commented Jul 31, 2026

Copy link
Copy Markdown
Member

sentryTanstackStart() now adds the orchestrion bundler plugin automatically. Gated on the shared buildTimeInstrumentation opt-out.

The plugin is added after the dev-mode early return, so it only runs in
production builds: it force-bundles the instrumented (CommonJS) deps via
ssr.noExternal, which the vite dev SSR module runner can't evaluate (tracked in #22857).

Also migrates the tanstackstart-react-orchestrion e2e app off the manual sentryOrchestrionPlugin() wiring. We can merge this test with the "regular" test app in a follow up.

closes #22688

@chargome chargome self-assigned this Jul 31, 2026
@chargome
chargome marked this pull request as ready for review July 31, 2026 09:02
@chargome
chargome requested a review from a team as a code owner July 31, 2026 09:02
@chargome
chargome requested review from andreiborza, nicohrubec and s1gr1d and removed request for a team July 31, 2026 09:02
@chargome

chargome commented Jul 31, 2026

Copy link
Copy Markdown
Member Author

bugborzer run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 84a2917. Configure here.

@chargome
chargome merged commit d013fc4 into develop Jul 31, 2026
50 checks passed
@chargome
chargome deleted the cg/tanstack-orchestrion branch July 31, 2026 12:01
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.

TanStack Start: auto-wire orchestrion bundler plugin

2 participants