Skip to content

feat(node): Add build-time instrumentation opt-out to bundler plugins - #22756

Merged
chargome merged 2 commits into
developfrom
cg/orchestr-opt-out
Jul 28, 2026
Merged

feat(node): Add build-time instrumentation opt-out to bundler plugins#22756
chargome merged 2 commits into
developfrom
cg/orchestr-opt-out

Conversation

@chargome

@chargome chargome commented Jul 28, 2026

Copy link
Copy Markdown
Member

Adds a shared buildTimeInstrumentation.disable option to the build-time options base and wires it through the @sentry/node bundler plugins. When true, no build-time instrumentation is added to the bundle.

Nested under buildTimeInstrumentation to avoid colliding with the existing top-level disable and also to provide a space for adding more fine grained options if needed later on (disable instrumentation for certain modules for example?).

closes #22680

@chargome chargome self-assigned this Jul 28, 2026
@chargome
chargome requested a review from timfish July 28, 2026 11:51
@chargome
chargome marked this pull request as ready for review July 28, 2026 12:17
@chargome
chargome requested a review from a team as a code owner July 28, 2026 12:17
@chargome
chargome requested review from andreiborza, isaacs, msonnb, mydea and stephanie-anderson and removed request for a team, msonnb and stephanie-anderson July 28, 2026 12:17
Comment thread packages/server-utils/src/orchestrion/bundler/rollup.ts Outdated
Comment thread packages/core/src/build-time-plugins/buildTimeOptionsBase.ts Outdated
Comment thread packages/core/src/build-time-plugins/buildTimeOptionsBase.ts Outdated
@chargome
chargome merged commit dc348aa into develop Jul 28, 2026
269 checks passed
@chargome
chargome deleted the cg/orchestr-opt-out branch July 28, 2026 14:37
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.

Add shared build-time instrumentation opt-out to build options

3 participants