GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(core): Report user-set integrations and their options in SDK config by logaretm · Pull Request #26708 · getsentry/sentry-javascript

Conversation

@logaretm

@logaretm logaretm commented Nov 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Previously we dropped the default resolved options to trim down the payload, this PR continues that by dropping the default integrations and only reports what the user has set explicitly, including the explicitly set options.

Notable changes to the payload:

  • Move integrations into options, since now it represents what the user has passed explicitly.
  • Added a new top-level removed_default_integration metadata field, that is only present if the user uses a callback filter for integrations.
  • Ensured all integrations go through defineIntegration to capture their options and that all SDKs capture at the top-level rather than leaking defaults to upstream SDKs like Vue -> Browser.
 {
   "version": 3,
   "sdk": { "name": "sentry.javascript.node", "version": "11.16.0" },
   "environment": "production",
-  "integrations": [
-    { "name": "EventFilters" },
-    { "name": "FunctionToString" },
-    { "name": "LinkedErrors" },
-    { "name": "CaptureConsole" },
-  ],
+  "removed_default_integrations": ["Dedupe"],
   "options": {
     "environment": "production",
+    "integrations": [
+      { "name": "CaptureConsole", "options": { "levels": ["error"] } },
+    ],
     "tracesSampleRate": 0.2
   }
 }

This Builds on the #26677 PR stack, the changes seem like a lot but most are a couple of line changes.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@github-actions

github-actions Bot commented Nov 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: 5415f8f (PR test merge using develop at cc42580)

Against: 12203f5 (develop) · base run #67620

⚠️ Baseline mismatch: 5 develop commit(s) in the PR build are missing from the baseline. Their size changes also affect this comparison. Compare commits. Re-run once develop's baseline build for cc42580 finishes.

Path Size % Change Change
@sentry/browser 30.54 kB +0.69% +208 B 🔺
@sentry/browser - with treeshaking flags 28.74 kB +0.76% +214 B 🔺
@sentry/browser - with treeshaking flags tracing without tracing 28.6 kB +0.72% +202 B 🔺
@sentry/browser (incl. Tracing) 53.67 kB +0.37% +196 B 🔺
@sentry/browser (incl. Tracing Core) 40.59 kB +0.49% +195 B 🔺
@sentry/browser (incl. Tracing + Span Streaming) 53.67 kB +0.37% +194 B 🔺
@sentry/browser (incl. Tracing, Profiling) 56.57 kB +0.31% +173 B 🔺
@sentry/browser (incl. Tracing, Replay) 93.54 kB -0.01% -8 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 82.41 kB +0.02% +11 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 97.93 kB -0.01% -5 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 111.45 kB -0.03% -32 B 🔽
@sentry/browser (incl. Feedback) 48.49 kB +0.38% +183 B 🔺
@sentry/browser (incl. sendFeedback) 31.11 kB +0.66% +201 B 🔺
@sentry/browser (incl. FeedbackAsync) 36.17 kB +0.59% +210 B 🔺
@sentry/browser (incl. Metrics) 31.86 kB +0.65% +205 B 🔺
@sentry/browser (incl. Logs) 32.14 kB +0.63% +199 B 🔺
@sentry/browser (incl. Metrics & Logs) 32.8 kB +0.65% +209 B 🔺
@sentry/react 32.56 kB +0.63% +202 B 🔺
@sentry/react (incl. Tracing) 56.38 kB +0.38% +213 B 🔺
@sentry/vue 38.75 kB +0.59% +224 B 🔺
@sentry/vue (incl. Tracing) 56.68 kB +0.46% +258 B 🔺
@sentry/svelte 30.57 kB +0.7% +212 B 🔺
@sentry/effect (client) 42.25 kB +0.54% +224 B 🔺
@sentry/effect (client, incl. Tracing) 49.41 kB +0.5% +243 B 🔺
@sentry/effect (client, incl. Tracing, Logs, Metrics) 59.3 kB +0.39% +226 B 🔺
@sentry/remix (Remix 3 client bundle) 59.39 kB +0.31% +182 B 🔺
CDN Bundle 32.54 kB +0.89% +287 B 🔺
CDN Bundle (incl. Tracing) 54.15 kB +0.42% +222 B 🔺
CDN Bundle (incl. Logs, Metrics) 35.27 kB +0.67% +233 B 🔺
CDN Bundle (incl. Tracing, Logs, Metrics) 56.63 kB +0.3% +169 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 76.16 kB +0.07% +50 B 🔺
CDN Bundle (incl. Tracing, Replay) 91.89 kB +0.12% +101 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 94.43 kB -0.01% -2 B 🔽
CDN Bundle (incl. Tracing, Replay, Feedback) 97.35 kB +0.13% +121 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 99.81 kB +0.04% +30 B 🔺
CDN Bundle - uncompressed 94.92 kB +0.76% +711 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 160.25 kB +0.47% +739 B 🔺
CDN Bundle (incl. Logs, Metrics) - uncompressed 103.26 kB +0.7% +715 B 🔺
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 167.88 kB +0.45% +739 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 233.5 kB +0.32% +725 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 280.54 kB +0.27% +749 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 288.17 kB +0.27% +749 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 292.47 kB +0.26% +753 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 300.09 kB +0.26% +753 B 🔺
@sentry/nextjs (client) 60.09 kB +0.31% +183 B 🔺
@sentry/sveltekit (client) 55.02 kB +0.43% +235 B 🔺
@sentry/core/server 45.86 kB +0.1% +44 B 🔺
@sentry/core/browser 14.46 kB +0.35% +49 B 🔺
@sentry/node 156.27 kB +0.16% +244 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 83.45 kB -0.02% -14 B 🔽
@sentry/node - without tracing 89.22 kB +0.2% +173 B 🔺
@sentry/node - without channel injection 145.2 kB +0.18% +257 B 🔺
@sentry/aws-serverless 99.85 kB +0.14% +130 B 🔺
@sentry/cloudflare (withSentry) - minified 210.31 kB +0.44% +908 B 🔺
@sentry/cloudflare (withSentry) 488.28 kB +0.43% +2.07 kB 🔺
@sentry/cloudflare (withSentry, instrumented CommonJS package) - minified 213.25 kB +0.43% +908 B 🔺
@sentry/nextjs/cloudflare (withSentry) - minified 235.54 kB +0.39% +912 B 🔺

View base workflow run

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

One or more gzipped bundles increased by more than 500 bytes. If this increase is intentional, add the Accept Bundlesize Increase label to this PR to rerun and accept the check.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Optional E2E tests

Some optional checks were not successful. They do not block the merge. 2 not successful, 63 successful. See the run.

Check Status
❌ CI: Optional E2E Tests / E2E react-router-7-framework-instrumentation Test (optional) Failing after 1m Details
❌ CI: Optional E2E Tests / E2E nextjs-16-tunnel (cloudflare) Test (optional) Failing after 1m Details
Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E astro-7 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E cloudflare-agent Test (optional) Successful in 53s Details
✅ CI: Optional E2E Tests / E2E express-5 (deno) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E debug-id-sourcemaps Test (optional) Successful in 43s Details
✅ CI: Optional E2E Tests / E2E deno (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nestjs-12 (deno) Test (optional) Successful in 59s Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries Test (optional) Successful in 59s Details
✅ CI: Optional E2E Tests / E2E node-eve Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E astro-7 (static trace lifecycle) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E cloudflare-pi-durable Test (optional) Successful in 51s Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries (cloudflare) Test (optional) Successful in 52s Details
✅ CI: Optional E2E Tests / E2E cloudflare-workers-without-tracing-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E cloudflare-mastra Test (optional) Successful in 58s Details
✅ CI: Optional E2E Tests / E2E cloudflare-flue-send-to-sentry Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E cloudflare-think Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E cloudflare-think (ai v6) Test (optional) Successful in 58s Details
✅ CI: Optional E2E Tests / E2E node-mastra Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E express-5 (cloudflare) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions Test (optional) Successful in 44s Details
✅ CI: Optional E2E Tests / E2E nextjs-14-supabase Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps Test (optional) Successful in 46s Details
✅ CI: Optional E2E Tests / E2E nestjs-12 (cloudflare) Test (optional) Successful in 35s Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v2 Test (optional) Successful in 46s Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (cloudflare, latest) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions (latest) Test (optional) Successful in 39s Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (kv-cache) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (latest) Test (optional) Successful in 3m Details
✅ CI: Optional E2E Tests / E2E node-mastra (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nestjs-12 (bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext, bun) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-eve (orchestrion) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-tunnel (cloudflare) Test (optional) Successful in 38s Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v2 (MCP SDK OpenTelemetry) Test (optional) Successful in 45s Details
✅ CI: Optional E2E Tests / E2E node-eve (0.x) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-flue (latest) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (static / nuxt generate) Test (optional) Successful in 43s Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps kept) Test (optional) Successful in 36s Details
✅ CI: Optional E2E Tests / E2E express-5 (bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (development) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-flue Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps Test (optional) Successful in 36s Details
✅ CI: Optional E2E Tests / E2E solid-2-ssr (cloudflare) Test (optional) Successful in 37s Details
✅ CI: Optional E2E Tests / E2E node-pi-durable Test (optional) Successful in 42s Details
✅ CI: Optional E2E Tests / E2E solidstart-2-tunnel Test (optional) Successful in 51s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-cloudflare Test (optional) Successful in 47s Details
✅ CI: Optional E2E Tests / E2E solidstart-2 Test (optional) Successful in 57s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-tunnel Test (optional) Successful in 51s Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (turbo) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-fastify-6 Test (optional) Successful in 40s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-cloudflare Test (optional) Successful in 33s Details
✅ CI: Optional E2E Tests / E2E node-pi-durable (latest) Test (optional) Successful in 50s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E react-send-to-sentry Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry (static trace lifecycle) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-eve (content off) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v1 Test (optional) Successful in 36s Details
✅ CI: Optional E2E Tests / E2E cloudflare-pi-durable (latest) Test (optional) Successful in 51s Details
✅ CI: Optional E2E Tests / E2E cloudflare-workers-send-to-sentry Test (optional) Successful in 3m Details
✅ CI: Optional E2E Tests / E2E vue-3 (no Options API) Test (optional) Successful in 50s Details
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@logaretm
logaretm marked this pull request as ready for review November 20, 2026 16:17
@javascript-sdk-gitflow
javascript-sdk-gitflow Bot requested review from Lms24, andreiborza and msonnb November 20, 2026 16:18
@logaretm
logaretm requested a review from nicohrubec November 20, 2026 16:18
cursor[bot]
cursor Bot reviewed Nov 20, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/core/src/utils/sdkMetadata.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/nextjs/src/index.bun.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/core/src/integration.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@mydea

mydea commented Nov 23, 2026

Copy link
Copy Markdown
Member

can we extract the defineIntegration change into its own pr as that seems to me to be somewhat standalone/non experimental?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

nicohrubec
nicohrubec reviewed Nov 23, 2026
View reviewed changes
Comment thread packages/angular/src/sdk.ts
} from '@sentry/browser';
import type { Client, Integration } from '@sentry/core';
import {
_INTERNAL_captureOptionsSetByUser,

@nicohrubec nicohrubec Nov 23, 2026

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we want to already add this everywhere? we got all the sdk inits that matter for our experiment covered so I don't think there is a need to add these atm

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@logaretm logaretm Nov 23, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need but will have to do it anyways, so might as well just do it today. WDYT?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/react/src/reactrouterv6.tsx Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/core/src/integration.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/core/src/integration.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@logaretm
logaretm force-pushed the awad/sdk-config-integration-options branch from 1b0bb70 to 44220ff Compare November 23, 2026 14:55
@logaretm
logaretm changed the base branch from develop to awad/define-integration-capture-options November 23, 2026 14:55
@logaretm
logaretm added this pull request to stack #26780 November 23, 2026 14:55
@logaretm

logaretm commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

@mydea I split this as requested

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed Nov 23, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/core/src/integrations/reportSdkConfig.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@logaretm
logaretm requested a review from nicohrubec November 23, 2026 15:27
cursor[bot]
cursor Bot reviewed Nov 23, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/core/src/utils/sdkMetadata.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@logaretm
logaretm force-pushed the awad/sdk-config-integration-options branch from 130d48f to c57b7ba Compare November 23, 2026 15:50
cursor[bot]
cursor Bot reviewed Nov 23, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/core/src/integrations/reportSdkConfig.ts
return entries.length
? { name, options: Object.fromEntries(entries.map(([key, value]) => [key, describeOptionValue(value)])) }
: { name };
}

@cursor cursor Bot Nov 23, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrapped integrations report SDK-injected options as user's

Medium Severity

describeIntegration reports integration._options, but framework wrappers often spread an inner integration, for example SvelteKit's browserTracingIntegration spreading the browser one with instrumentNavigation: false, instrumentPageLoad: false. The inner _options gets copied onto the result, and defineIntegration only sets _options when it is still undefined, so the outer wrapper keeps the inner value. As a result, options injected by the SDK show up in the payload as if the user set them.

Additional Locations (1)
  • packages/core/src/utils/sdkMetadata.ts#L42-L51
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c57b7ba. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/core/src/utils/sdkMetadata.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

nicohrubec
nicohrubec approved these changes Nov 23, 2026
View reviewed changes
@logaretm
logaretm force-pushed the awad/sdk-config-integration-options branch from 8b69e03 to c5b2570 Compare November 23, 2026 16:12
cursor[bot]
cursor Bot reviewed Nov 23, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/core/src/integrations/reportSdkConfig.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

logaretm added 4 commits November 23, 2026 11:29
@logaretm
feat(core): Report user-set integrations and their options in SDK config
cf8a7d1
@logaretm
fix(core): Harden SDK config integration reporting
373e0cc
- Accept a single integration returned by an `integrations` function.
- Do not report integrations an SDK passes into the user's `integrations`
  function as set by the user.
- Report objects in integration options as placeholders, so live routers,
  stores and SDK clients are not sent.
@logaretm
fix(solid): Capture user options before adding Solid Cloudflare integ…
9a9261f
…rations

`defineCloudflareOptions` added `solidServerErrorsIntegration` before the
Cloudflare SDK captured the user's options, so it was reported as set by
the user.
@logaretm
fix(core): Report in-place callback changes and default integration o…
a57fadb
…ptions

- Read the defaults before the user's `integrations` function runs, so
  changes it makes to them in place are still reported.
- Report the options of a user-passed `defaultIntegrations` list, which
  `getIntegrationsToSetup` flags as default instances.
- Use single loops instead of chained array passes.
@logaretm
logaretm force-pushed the awad/sdk-config-integration-options branch from c5b2570 to a57fadb Compare November 23, 2026 16:32
cursor[bot]
cursor Bot reviewed Nov 23, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

There are 2 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a57fadb. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread packages/core/src/integrations/reportSdkConfig.ts
environment,
integrations: client.getIntegrationNames().map(name => ({ name })),
// Not an init() option, so it stays out of `options`.
...(removedDefaultIntegrations && { removed_default_integrations: removedDefaultIntegrations }),

@cursor cursor Bot Nov 23, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feat PR lacks integration or E2E test

Low Severity

This feat PR changes the SDK config payload: integrations moves into options and removed_default_integrations is added. Only unit tests cover it, with no integration or E2E test checking the payload a real SDK init sends. I flagged this because the review rules ask for one on feat PRs.

Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit a57fadb. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@logaretm
logaretm merged commit fede9ad into develop Nov 23, 2026
470 of 503 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@logaretm
logaretm deleted the awad/sdk-config-integration-options branch November 23, 2026 17:10
@sentry-release-bot sentry-release-bot Bot mentioned this pull request Nov 23, 2026
publish: getsentry/[email protected] getsentry/publish#10541
Closed
51 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments
@nicohrubec nicohrubec nicohrubec approved these changes
@andreiborza andreiborza Awaiting requested review from andreiborza
@Lms24 Lms24 Awaiting requested review from Lms24
@msonnb msonnb Awaiting requested review from msonnb

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@logaretm @mydea @nicohrubec
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.