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 library functions in integration options without a fingerprint by logaretm · Pull Request #26898 · getsentry/sentry-javascript

Conversation

@logaretm

@logaretm logaretm commented Nov 25, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Router hooks like useEffect passed to integrations split the SDK config hash whenever the library build or the engine changed, fixed by letting integrations name those options in defineIntegration so they're reported as [Function].

Such changes should be picked up if we decide to report the framework version, so for the meanwhile this is not useful for us for any of our use-cases and is mostly noise.

It works like so:

export const reactRouterV6BrowserTracingIntegration = defineIntegration(_reactRouterV6BrowserTracingIntegration, {
  // these fields will NOT be fingerprinted for serialization.
  libraryOptions: ['useEffect', 'useLocation', 'useNavigationType', 'createRoutesFromChildren', 'matchRoutes'],
});

The reason for that API is instead of a global list everyone pays for in bytes, each SDK pays for it's own list which is much smaller.

I added a test that two different useLocation functions report the same payload while a user callback keeps its fingerprint.

Sorry, something went wrong.

Uh oh!

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

All reactions
logaretm added 2 commits November 25, 2026 11:49
@logaretm
feat(core): Report library functions in integration options without a…
3bceca7
… fingerprint

Router hooks passed to integrations change with the library build and the engine, not with the config, so their fingerprints split the SDK config hash. Integrations now name those options through a second `defineIntegration` argument.
@logaretm
ref(core): Take library options in a defineIntegration config object
e2b03e9
@github-actions

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

Uh oh!

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

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: 9960e7a (PR test merge using develop at 57ff420)

Against: 0ac5dd1 (develop) · base run #67994

⚠️ Baseline mismatch: 4 develop commit(s) in the baseline are missing from the PR build. Their size changes also affect this comparison. Compare commits. Rebase your PR onto the latest develop to compare against an up-to-date baseline.

Path Size % Change Change
@sentry/browser 30.55 kB +0.05% +15 B 🔺
@sentry/browser - with treeshaking flags 28.74 kB +0.05% +14 B 🔺
@sentry/browser - with treeshaking flags tracing without tracing 28.61 kB +0.05% +14 B 🔺
@sentry/browser (incl. Tracing) 53.68 kB +0.04% +18 B 🔺
@sentry/browser (incl. Tracing Core) 40.6 kB +0.04% +14 B 🔺
@sentry/browser (incl. Tracing + Span Streaming) 53.68 kB +0.04% +17 B 🔺
@sentry/browser (incl. Tracing, Profiling) 56.57 kB +0.03% +15 B 🔺
@sentry/browser (incl. Tracing, Replay) 93.6 kB +0.02% +10 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 82.4 kB +0.03% +17 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 98.46 kB +0.02% +12 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 111.41 kB +0.02% +15 B 🔺
@sentry/browser (incl. Feedback) 48.41 kB +0.03% +12 B 🔺
@sentry/browser (incl. sendFeedback) 31.12 kB +0.05% +15 B 🔺
@sentry/browser (incl. FeedbackAsync) 36.18 kB +0.05% +17 B 🔺
@sentry/browser (incl. Metrics) 31.87 kB +0.05% +13 B 🔺
@sentry/browser (incl. Logs) 32.14 kB +0.04% +12 B 🔺
@sentry/browser (incl. Metrics & Logs) 32.81 kB +0.05% +15 B 🔺
@sentry/react 32.58 kB +0.05% +16 B 🔺
@sentry/react (incl. Tracing) 56.42 kB +0.09% +49 B 🔺
@sentry/vue 38.76 kB +0.05% +18 B 🔺
@sentry/vue (incl. Tracing) 56.69 kB +0.04% +19 B 🔺
@sentry/svelte 30.58 kB +0.05% +13 B 🔺
@sentry/effect (client) 42.23 kB +0.04% +15 B 🔺
@sentry/effect (client, incl. Tracing) 54.97 kB +0.03% +14 B 🔺
@sentry/effect (client, incl. Tracing, Logs, Metrics) 66.32 kB +0.02% +13 B 🔺
@sentry/remix (Remix 3 client bundle) 59.41 kB +0.05% +25 B 🔺
CDN Bundle 32.39 kB +0.05% +15 B 🔺
CDN Bundle (incl. Tracing) 54.05 kB +0.04% +17 B 🔺
CDN Bundle (incl. Logs, Metrics) 35.14 kB +0.04% +14 B 🔺
CDN Bundle (incl. Tracing, Logs, Metrics) 56.52 kB +0.03% +16 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 76.1 kB +0.03% +17 B 🔺
CDN Bundle (incl. Tracing, Replay) 91.85 kB +0.02% +14 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 94.38 kB +0.02% +12 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 97.33 kB +0.02% +19 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 99.8 kB +0.02% +14 B 🔺
CDN Bundle - uncompressed 94.58 kB +0.03% +24 B 🔺
CDN Bundle (incl. Tracing) - uncompressed 159.87 kB +0.02% +25 B 🔺
CDN Bundle (incl. Logs, Metrics) - uncompressed 102.92 kB +0.03% +24 B 🔺
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 167.49 kB +0.02% +25 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 233.32 kB +0.02% +25 B 🔺
CDN Bundle (incl. Tracing, Replay) - uncompressed 280.3 kB +0.01% +25 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 287.93 kB +0.01% +25 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 292.24 kB +0.01% +25 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 299.85 kB +0.01% +25 B 🔺
@sentry/nextjs (client) 60.09 kB +0.03% +17 B 🔺
@sentry/sveltekit (client) 55.04 kB +0.04% +19 B 🔺
@sentry/core/server 45.84 kB +0.04% +18 B 🔺
@sentry/core/browser 14.48 kB +0.12% +17 B 🔺
@sentry/node 157.4 kB +0.02% +20 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 83.45 kB - -
@sentry/node - without tracing 89.81 kB +0.03% +18 B 🔺
@sentry/node - without channel injection 146.37 kB +0.01% +14 B 🔺
@sentry/aws-serverless 100.44 kB +0.02% +20 B 🔺
@sentry/cloudflare (withSentry) - minified 211.95 kB +0.02% +38 B 🔺
@sentry/cloudflare (withSentry) 491.75 kB +0.02% +66 B 🔺
@sentry/cloudflare (withSentry, instrumented CommonJS package) - minified 214.9 kB +0.02% +38 B 🔺
@sentry/nextjs/cloudflare (withSentry) - minified 237.19 kB +0.02% +38 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 25, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Optional E2E tests

All optional checks were successful. 77 successful. See the run.

Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E cloudflare-agent Test (optional) Successful in 41s Details
✅ CI: Optional E2E Tests / E2E nextjs-14-supabase Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E cloudflare-flue-send-to-sentry Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E deno (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E cloudflare-workers-send-to-sentry Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nestjs-12 (bun) Test (optional) Successful in 51s Details
✅ CI: Optional E2E Tests / E2E cloudflare-workers-without-tracing-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E fastify-5 (bun) Test (optional) Successful in 46s Details
✅ CI: Optional E2E Tests / E2E hono-5 Test (optional) Successful in 40s Details
✅ CI: Optional E2E Tests / E2E fastify-5 (deno) Test (optional) Successful in 38s Details
✅ CI: Optional E2E Tests / E2E hono-5 (bun) Test (optional) Successful in 41s Details
✅ CI: Optional E2E Tests / E2E astro-7 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E express-5 (deno) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E express-5 (bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16-tunnel (cloudflare) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E astro-6 (cloudflare) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E hono-5 (deno) Test (optional) Successful in 47s Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (cloudflare, latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E cloudflare-think (ai v6) Test (optional) Successful in 55s Details
✅ CI: Optional E2E Tests / E2E hono-5 (cloudflare) Test (optional) Successful in 45s Details
✅ CI: Optional E2E Tests / E2E cloudflare-pi-durable (latest) Test (optional) Successful in 41s Details
✅ CI: Optional E2E Tests / E2E node-eve (content off) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (turbo) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E solid-2-ssr (cloudflare) Test (optional) Successful in 32s Details
✅ CI: Optional E2E Tests / E2E node-eve (orchestrion) 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 nextjs-15 (latest) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nestjs-12 (cloudflare) Test (optional) Successful in 40s Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries (cloudflare) Test (optional) Successful in 41s Details
✅ CI: Optional E2E Tests / E2E node-eve (0.x) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E debug-id-sourcemaps Test (optional) Successful in 41s Details
✅ CI: Optional E2E Tests / E2E astro-6 (bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-flue (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nestjs-12 (deno) Test (optional) Successful in 1m 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-express-mcp-v2 Test (optional) Successful in 28s Details
✅ CI: Optional E2E Tests / E2E nuxt-5 Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E astro-6 (deno) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (development) Test (optional) Successful in 57s Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext, bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-mastra (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-pi-durable (latest) Test (optional) Successful in 45s Details
✅ CI: Optional E2E Tests / E2E nuxt-4-sourcemaps (Vite server) Test (optional) Successful in 38s Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v2 (MCP SDK OpenTelemetry) Test (optional) Successful in 27s Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (cloudflare) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions (latest) Test (optional) Successful in 34s Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v1 Test (optional) Successful in 26s Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E react-router-7-framework-instrumentation Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps enabled by Sentry) Test (optional) Successful in 38s Details
✅ CI: Optional E2E Tests / E2E node-fastify-6 Test (optional) Successful in 43s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-tunnel (cloudflare) Test (optional) Successful in 31s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (static / nuxt generate) Test (optional) Successful in 34s Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (no upload) Test (optional) Successful in 30s Details
✅ CI: Optional E2E Tests / E2E react-send-to-sentry Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps kept) Test (optional) Successful in 37s Details
✅ CI: Optional E2E Tests / E2E astro-7 (static trace lifecycle) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps Test (optional) Successful in 40s Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (kv-cache) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5 (deno) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries (latest) Test (optional) Successful in 44s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-tunnel Test (optional) Successful in 45s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E solidstart-2 (delete all) Test (optional) Successful in 51s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps (manual upload) Test (optional) Successful in 32s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps (delete all) Test (optional) Successful in 32s Details
✅ CI: Optional E2E Tests / E2E solidstart-2 (manual upload) Test (optional) Successful in 37s Details
✅ CI: Optional E2E Tests / E2E solidstart-2 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E solidstart-2 (no upload) Test (optional) Successful in 41s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps Test (optional) Successful in 39s Details
✅ CI: Optional E2E Tests / E2E vue-3 (no Options API) Test (optional) Successful in 47s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-cloudflare Test (optional) Successful in 42s Details
✅ CI: Optional E2E Tests / E2E vinext-cf-workers (workers cache) Test (optional) Successful in 34s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps (no upload) Test (optional) Successful in 33s Details
✅ CI: Optional E2E Tests / E2E solidstart-2-tunnel Test (optional) Successful in 52s Details
All reactions

Sorry, something went wrong.

Uh oh!

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

@logaretm
ref(core): Report library objects as placeholders and keep library pr…
f22de77
…imitives in integration options
@logaretm
logaretm requested a review from nicohrubec November 25, 2026 16:59
@logaretm
logaretm marked this pull request as ready for review November 25, 2026 16:59
@javascript-sdk-gitflow
javascript-sdk-gitflow Bot requested review from chargome and s1gr1d November 25, 2026 16:59
cursor[bot]
cursor Bot reviewed Nov 25, 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.

Fix All in Cursor

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

Reviewed by Cursor Bugbot for commit f22de77. Configure here.

Sorry, something went wrong.

Uh oh!

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

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

Uh oh!

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

nicohrubec
nicohrubec approved these changes Nov 26, 2026
View reviewed changes

@nicohrubec nicohrubec left a comment

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.

nice, makes sense to me to exclude these

Sorry, something went wrong.

Uh oh!

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

All reactions
@logaretm
logaretm merged commit a12f1aa into develop Nov 26, 2026
924 of 926 checks passed

Uh oh!

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

@logaretm
logaretm deleted the awad/sdk-config-library-options branch November 26, 2026 14:14
@sentry-release-bot sentry-release-bot Bot mentioned this pull request Nov 27, 2026
publish: getsentry/[email protected] getsentry/publish#10604
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
@chargome chargome Awaiting requested review from chargome
@s1gr1d s1gr1d Awaiting requested review from s1gr1d

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.

2 participants

@logaretm @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.