ref(google-cloud-serverless)!: Migrate import hook to makeOrchestrionLoader - #22863
Merged
Conversation
Contributor
size-limit report 📦
|
andreiborza
force-pushed
the
ab/js-3203-google-cloud-serverless-orchestrion-loader
branch
from
July 30, 2026 13:02
800bbbb to
2b3b94c
Compare
andreiborza
force-pushed
the
ab/js-3203-google-cloud-serverless-orchestrion-loader
branch
2 times, most recently
from
July 31, 2026 09:59
3b6d21e to
eb20860
Compare
…Loader Switch the `@sentry/google-cloud-serverless/import` loader to the orchestrion-based `makeOrchestrionLoader` and drop the obsolete `./loader` export.
andreiborza
force-pushed
the
ab/js-3203-google-cloud-serverless-orchestrion-loader
branch
from
July 31, 2026 12:55
eb20860 to
e95b672
Compare
andreiborza
marked this pull request as ready for review
July 31, 2026 12:57
andreiborza
requested review from
JPeer264,
isaacs,
mydea and
nicohrubec
and removed request for
a team,
isaacs and
mydea
July 31, 2026 12:57
msonnb
approved these changes
Jul 31, 2026
JPeer264
approved these changes
Jul 31, 2026
andreiborza
deleted the
ab/js-3203-google-cloud-serverless-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/google-cloud-serverless'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.