ref(tanstackstart-react)!: Migrate import hook to makeOrchestrionLoader - #22866
Merged
andreiborza merged 1 commit intoJul 31, 2026
Conversation
Contributor
size-limit report 📦
|
andreiborza
force-pushed
the
ab/js-3203-tanstackstart-react-orchestrion-loader
branch
from
July 30, 2026 13:02
3409dc2 to
00c86c9
Compare
andreiborza
force-pushed
the
ab/js-3203-tanstackstart-react-orchestrion-loader
branch
2 times, most recently
from
July 31, 2026 09:59
1a8fcb4 to
f86f7d5
Compare
Switch the `@sentry/tanstackstart-react/import` loader to the orchestrion-based `makeOrchestrionLoader` and drop the obsolete `./loader` export.
andreiborza
force-pushed
the
ab/js-3203-tanstackstart-react-orchestrion-loader
branch
from
July 31, 2026 12:55
f86f7d5 to
847ca19
Compare
andreiborza
marked this pull request as ready for review
July 31, 2026 12:59
andreiborza
requested review from
a team,
JPeer264,
nicohrubec and
s1gr1d
and removed request for
a team
July 31, 2026 12:59
msonnb
approved these changes
Jul 31, 2026
JPeer264
approved these changes
Jul 31, 2026
andreiborza
deleted the
ab/js-3203-tanstackstart-react-orchestrion-loader
branch
July 31, 2026 13:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What
Part of the
@opentelemetry/instrumentationremoval stack (based on #22843).@sentry/tanstackstart-react's./importloader from the legacymakeOtelLoadersbuild util tomakeOrchestrionLoader, so the generatedimport-hook.mjsimports@sentry/server-utils/orchestrion/import-hookdirectly../loaderexport (the iitm--loaderentry, unused on Node >= 20.19).Why
Orchestrion is the only instrumentation path now, so the framework's
--importhook should register it directly instead of the removed iitm loader.--loaderno longer applies (minimum Node is 20.19.0) and orchestrion has no--loaderequivalent, so the./loaderexport is dead.