GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(astro): Report the Astro SDK name with the Cloudflare Vite plugin by JPeer264 · Pull Request #26848 · getsentry/sentry-javascript Conversation
Member
part of #24840 DescriptionThis makes WhyWith that plugin, SDK name decisionsThe middleware sets the name at request time, the same as
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
There was an error while loading. Please reload this page.
size-limit report 📦Compared: fa3d73a (PR test merge using develop at 1b863a9) Against: cee40e6 (develop) · base run #67873
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Optional E2E testsAll optional checks were successful. 2 successful. See the run. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
6a1d884 to
652168c
Compare
652168c to
1f035be
Compare
With sentryCloudflareVitePlugin() of @sentry/cloudflare/vite, @sentry/astro adds no Worker wrap and no init of its own, so @sentry/cloudflare inits the client and events had the SDK name sentry.javascript.cloudflare. The other Cloudflare setups of @sentry/astro already report sentry.javascript.astro. The Astro middleware now sets the Astro SDK name on a client that has another name, and keeps the package of that SDK in the list, like the NestJS integration does. Co-Authored-By: Claude Fable 5.2 <[email protected]>
1f035be to
a9acbbb
Compare
There was an error while loading. Please reload this page.
… Cloudflare Vite plugin (#26925) part of #24839 ## Description This makes `@sentry/tanstackstart-react` report `sentry.javascript.tanstackstart-react` when the app uses `sentryCloudflareVitePlugin()` from `@sentry/cloudflare/vite`. `wrapFetchWithSentry` sets the name on the client and keeps `@sentry/cloudflare` in the SDK packages. ## Why With that plugin, `@sentry/cloudflare` inits the client, so events had the SDK name `sentry.javascript.cloudflare`. On Node, events already have the TanStack Start name. ## SDK name decisions `wrapFetchWithSentry` sets the name at request time, the same as the `@sentry/astro` middleware does (#26848). The alternative is a build-time change that gives the metadata to the `withSentry` wrap of `@sentry/cloudflare/vite`. Co-authored-by: Claude Fable 5.2 <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.