feat(cloudflare)!: Enable build-time instrumentation by default in Vite plugin - #22950
Merged
chargome merged 3 commits intoAug 3, 2026
Merged
Conversation
…te plugin Enables orchestrion build-time instrumentation by default in the @sentry/cloudflare Vite plugin, matching the other metaframework SDKs. sentryCloudflareVitePlugin() now instruments supported dependencies (e.g. mysql) with zero config; opt out via buildTimeInstrumentation: false. Replaces the experimental _experimental.useDiagnosticsChannelInjection flag. Ref: #22764 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Member
Author
|
buglitzer moch |
There was a problem hiding this comment.
✅ 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 70d7e7a. Configure here.
Contributor
size-limit report 📦
|
chargome
marked this pull request as ready for review
August 3, 2026 12:29
chargome
requested review from
JPeer264,
andreiborza and
mydea
and removed request for
a team and
mydea
August 3, 2026 12:29
andreiborza
approved these changes
Aug 3, 2026
JPeer264
requested changes
Aug 3, 2026
JPeer264
left a comment
Member
There was a problem hiding this comment.
m: There should be some cloudflare-integration-tests which still have the vite.config.mts and the experimental config.
It seems the type tests are not triggered well enough - I'll change that in a future PR
Member
Author
|
@JPeer264 fixed, but typechecking |
JPeer264
approved these changes
Aug 3, 2026
Renaming to .ts broke the build: `@cloudflare/vite-plugin` is ESM-only and a `.ts` vite config is loaded via `require` here, so the extension must stay `.mts`. Drop only the now-removed `_experimental.useDiagnosticsChannelInjection` option; typecheck coverage for `.mts` configs is a separate follow-up. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
chargome
deleted the
charlygomez/js-3205-cloudflare-meta-sdk-auto-wiring
branch
August 3, 2026 14:14
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.
Enables orchestrion build-time instrumentation by default in the
@sentry/cloudflareVite plugin, matching the other metaframework SDKs.sentryCloudflareVitePlugin()now instruments supported dependencies (e.g.mysql) with zero config; opt out viabuildTimeInstrumentation: false.Replaces the experimental
_experimental.useDiagnosticsChannelInjectionflag.Ref: #22764