Skip to content

feat(bundler-plugins): Add the call-site rewriter core - #26101

Merged
timfish merged 8 commits into
developfrom
feat/call-site-rewriter-core
Nov 26, 2026
Merged

timfish merged 8 commits into
developfrom
feat/call-site-rewriter-core

Conversation

@timfish

@timfish timfish commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Cloudflare, SvelteKit and TanStack Start each rewrite user modules at build time, each with its own parser and its own export handling, so a fix for one export form reaches only one SDK. This adds one core under @sentry/bundler-plugins/rewriter for them to share; the next PRs in this stack move the three SDKs onto it, and no SDK uses it in this PR. It parses with oxc, so raw TypeScript parses too, and it keeps all edits in one MagicString, so every rewrite returns a source map. Under Rolldown it parses with this.parse. Rollup's parser cannot read TypeScript, so other bundlers parse with oxc.

oxc loads with a dynamic import(). This goes against the lazy-loading rule in AGENTS.md, but if a platform has no oxc native binary, the build logs one warning and leaves modules unchanged instead of failing. The component-annotation code loads oxc the same way.

How to review: Start with rewriter.ts for the host and the rule model, then exports.ts, which holds the export forms that come from Cloudflare. There is one test file per module.

Unsure about: The dynamic import. Also, every SDK plugin still parses each file on its own. A follow-up PR will make sentryVitePlugin the host, so all rules share one parse per file.

Ref #25776

@timfish
timfish added this pull request to stack #26105 November 4, 2026 13:58
@timfish timfish changed the title feat/call site rewriter core feat(bundler-plugins): Add the call-site rewriter core Nov 4, 2026
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: 42a4a6f (PR test merge using develop at a12f1aa)

Against: a12f1aa (develop) · base run #68171

✅ Baseline matches: this diff contains only this PR's changes.

Path Size % Change Change
@sentry/browser 30.55 kB - -
@sentry/browser - with treeshaking flags 28.74 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 28.61 kB - -
@sentry/browser (incl. Tracing) 53.68 kB - -
@sentry/browser (incl. Tracing Core) 40.6 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 53.68 kB - -
@sentry/browser (incl. Tracing, Profiling) 56.57 kB - -
@sentry/browser (incl. Tracing, Replay) 93.6 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 82.4 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 98.46 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 111.41 kB - -
@sentry/browser (incl. Feedback) 48.41 kB - -
@sentry/browser (incl. sendFeedback) 31.12 kB - -
@sentry/browser (incl. FeedbackAsync) 36.18 kB - -
@sentry/browser (incl. Metrics) 31.87 kB - -
@sentry/browser (incl. Logs) 32.15 kB - -
@sentry/browser (incl. Metrics & Logs) 32.81 kB - -
@sentry/react 32.58 kB - -
@sentry/react (incl. Tracing) 56.42 kB - -
@sentry/vue 38.76 kB - -
@sentry/vue (incl. Tracing) 56.69 kB - -
@sentry/svelte 30.58 kB - -
@sentry/effect (client) 42.23 kB - -
@sentry/effect (client, incl. Tracing) 54.97 kB - -
@sentry/effect (client, incl. Tracing, Logs, Metrics) 66.32 kB - -
@sentry/remix (Remix 3 client bundle) 59.41 kB - -
CDN Bundle 32.39 kB - -
CDN Bundle (incl. Tracing) 54.05 kB - -
CDN Bundle (incl. Logs, Metrics) 35.14 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 56.52 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 76.1 kB - -
CDN Bundle (incl. Tracing, Replay) 91.85 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 94.38 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 97.33 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 99.8 kB - -
CDN Bundle - uncompressed 94.58 kB - -
CDN Bundle (incl. Tracing) - uncompressed 159.87 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 102.92 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 167.49 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 233.32 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 280.3 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 287.93 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 292.24 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 299.85 kB - -
@sentry/nextjs (client) 60.09 kB - -
@sentry/sveltekit (client) 55.03 kB - -
@sentry/core/server 45.84 kB - -
@sentry/core/browser 14.48 kB - -
@sentry/node 157.4 kB -0.01% -1 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 83.45 kB - -
@sentry/node - without tracing 89.81 kB - -
@sentry/node - without channel injection 146.37 kB -0.01% -1 B 🔽
@sentry/aws-serverless 100.44 kB - -
@sentry/cloudflare (withSentry) - minified 211.97 kB - -
@sentry/cloudflare (withSentry) 491.78 kB - -
@sentry/cloudflare (withSentry, instrumented CommonJS package) - minified 214.92 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 237.22 kB - -

View base workflow run

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Optional E2E tests

Some optional checks were not successful. They do not block the merge. 7 not successful, 49 successful. See the run.

Check Status
❌ CI: Optional E2E Tests / E2E nuxt-5 (bun) Test (optional) Failing after 1m Details
❌ CI: Optional E2E Tests / E2E nuxt-5 Test (optional) Failing after 1m Details
❌ CI: Optional E2E Tests / E2E nuxt-5 (kv-cache) Test (optional) Failing after 1m Details
❌ CI: Optional E2E Tests / E2E nuxt-5 (development) Test (optional) Failing after 2m Details
❌ CI: Optional E2E Tests / E2E nuxt-5 (deno) Test (optional) Failing after 1m Details
❌ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (static / nuxt generate) Test (optional) Failing after 1m Details
❌ CI: Optional E2E Tests / E2E nuxt-5 (cloudflare) Test (optional) Failing after 1m Details
Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E debug-id-sourcemaps Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E vinext-cf-workers (workers cache) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E hapi-21 (deno) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E hono-5 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps (delete all) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E hono-5 (bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions (latest) 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 hono-5 (cloudflare) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E astro-7 Test (optional) Successful in 2m 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 1m Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps (manual upload) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry (static trace lifecycle) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nextjs-16-tunnel (cloudflare) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E hapi-21 (bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-pi-durable (latest) 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 astro-7 (static trace lifecycle) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-14-supabase Test (optional) Successful in 3m Details
✅ CI: Optional E2E Tests / E2E node-eve (orchestrion) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v1 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-fastify-6 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-eve (0.x) 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 nuxt-4-sourcemaps (Vite server) 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 nuxt-5-sourcemaps Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-eve (content off) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v2 (MCP SDK OpenTelemetry) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v2 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (turbo) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E solidstart-2 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 tanstackstart-react-sourcemaps (no upload) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps kept) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-tunnel 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 solidstart-2 (no upload) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-tunnel (cloudflare) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps enabled by Sentry) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react (latest) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E solidstart-2 (manual upload) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E solidstart-2 (delete all) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (no upload) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E solidstart-2-tunnel Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-cloudflare Test (optional) Successful in 1m Details

@timfish
timfish force-pushed the feat/call-site-rewriter-core branch from 03fd861 to d2efbeb Compare November 4, 2026 14:23
@timfish
timfish force-pushed the feat/call-site-rewriter-core branch 2 times, most recently from fe24b4d to 8b2355d Compare November 25, 2026 20:31
@timfish
timfish marked this pull request as ready for review November 25, 2026 20:44
@timfish
timfish requested review from JPeer264 and isaacs November 25, 2026 20:49

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

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.

if (include.basename && !include.basename.test(basename(id))) return false;
if (include.contains && !include.contains.every(substring => code.includes(substring))) return false;
return true;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Rule matching ignores Vite query suffixes

Medium Severity

matches tests include.id and include.basename against the raw module id, while langFromId already strips query and hash via stripUrlQueryAndFragment. Vite IDs commonly look like +page.ts?t=123 or file.ts?v=hash, so patterns such as /\.ts$/ and /^\+page\.ts$/ fail to match and the module is left uninstrumented.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 8b2355d. Configure here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The SDK plugins test the raw id on develop too, so this keeps current behaviour; query ids can come in a follow-up.

if (classNode.id?.name) classes.set(classNode.id.name, classNode);
}
return classes;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Default-exported classes are not collected

Medium Severity

collectTopLevelClasses and findClassesExtending unwrap only export class via declarationOf, so export default class Foo extends Base {} never enters the class map. shapeFromAst in the same package does record that form. Callers that wrap named re-exports of Foo then miss the local class, skip wrappedLocals, and can wrap the default export a second time.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 8b2355d. Configure here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This code moved unchanged from the Cloudflare plugin on develop, so it is not new in this PR.

"types": "./build/types/rewriter/index.d.ts",
"import": "./build/esm/rewriter/index.js",
"require": "./build/cjs/rewriter/index.js"
},

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Rewriter export missing runtime-entries coverage

Low Severity

This was flagged because it is called out in the review rules file: a new ./rewriter export that can load on Node, while @sentry/bundler-plugins has no entry in CASES or BUILD_TIME_CASES in dev-packages/bundler-tests/tests/runtime-entries.test.ts. That test is what keeps server runtime entries from pulling in build-time tooling.

Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit 8b2355d. Configure here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

./rewriter is build-time code that only the SDK Vite plugins import, and BUILD_TIME_PATTERNS already fails any runtime entry that pulls in @sentry/bundler-plugins.

return wrappedName ? `${wrappedName} as ${name}` : name;
});
// A second call for another name of this declaration overwrites the same range again.
state.ms.overwrite(exportNode.start, declaration.start, `export { ${specifiers.join(', ')} };\n`);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

In Cloudflare we have wrapInlineClassExport, keep in mind that the snippet right now does not support classes as it would cut the class keyword from the export.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This only replaces the export text before the class, so the class keyword stays (export class A {} becomes export { __SENTRY_WRAPPED_A__ as A }; then class A {}). Testing it did show that @dec export class A {} gave invalid output. b449f6a now puts the export clause before the decorators and adds tests.

@timfish
timfish force-pushed the feat/call-site-rewriter-core branch from b449f6a to 65ef1b6 Compare November 26, 2026 10:46

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

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.

/** The declaration a top-level statement makes, looking through `export` (`export const x = ...`). */
export function declarationOf(node: BaseNode): BaseNode | null | undefined {
return node.type === 'ExportNamedDeclaration' ? (node as ExportNamedNode).declaration : node;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Default-exported classes are not found

Medium Severity

declarationOf only unwraps ExportNamedDeclaration, so findClassesExtending, collectTopLevelClasses, and collectDeclaringStatements never see export default class Foo {} or export default function foo() {}. shapeFromAst already records those named default classes, so the collectors disagree on the same module. A default-exported WorkerEntrypoint subclass is a common Cloudflare form and would not be found.

Additional Locations (2)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 65ef1b6. Configure here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The Cloudflare class scans on develop also skip export default class, so this is not new in this PR.

const warning = formatReport(state.report, id);
if (warning) options.logger?.warn(warning);
if (!state.ms.hasChanged()) return null;
return { code: state.ms.toString(), map: state.ms.generateMap({ hires: true }) };

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Source maps omit original file path

Low Severity

generateMap is called with only hires: true, even though transform already has the module id. MagicString then emits sources: [null] and no sourcesContent. The component-annotation transform in this same package passes source and includeContent so composed maps keep a real path. Debuggers and overlay tools can fail to map rewritten frames back to the user file.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 65ef1b6. Configure here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This matches the generateMap({ hires: true }) call the Cloudflare and SvelteKit plugins use on develop, and Vite fills in the source path when it combines the maps.

@timfish
timfish force-pushed the feat/call-site-rewriter-core branch from 65ef1b6 to 5ec67be Compare November 26, 2026 12:45

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

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.


const wrappedName = `__SENTRY_WRAPPED_${localName}__`;
state.wrappedLocals.set(localName, wrappedName);
state.ms.appendLeft(declaringNode.end, `\nconst ${wrappedName} = ${wrap(localName)};\n`);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Wrapped function exports introduce TDZ

Medium Severity

wrapLocalBinding always binds the wrapper with const, and wrapInlineExport re-points the export at that binding. A hoisted export function is then a live binding to a const still in the temporal dead zone, so a circular import that previously read the function during evaluation now throws and can stop the module from loading. The default-export path already uses var for this reason.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 5ec67be. Configure here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

A circular import that calls an entry export or load while its module is still loading is rare enough that we keep const, since var would only trade the error for undefined.

const decorators = state.ms.original.slice(start, exportNode.start);
// A second call for another name of this declaration overwrites the same range again.
state.ms.overwrite(start, declaration.start, `export { ${specifiers.join(', ')} };\n${decorators}`);
return true;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Overload signatures emit duplicate exports

Medium Severity

wrapInlineExport treats every export function with a matching name as a runtime declaration, including TypeScript overload signatures that have no body. Combined with findNamedExports, wrapping load emits a second export { __SENTRY_WRAPPED_load__ as load } and inserts const __SENTRY_WRAPPED_load__ = wrap(load) between the overload and its implementation, which is invalid TypeScript and a duplicate export.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 5ec67be. Configure here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Overload signatures parse as TSDeclareFunction, which declaredNames skips, so only the implementation is wrapped once and the signature is stripped with the other types.

@timfish
timfish force-pushed the feat/call-site-rewriter-core branch from 3208230 to f96f39e Compare November 26, 2026 13:34

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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 8 total unresolved issues (including 7 from previous reviews).

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 f96f39e. Configure here.

const wrappedName = `__SENTRY_WRAPPED_${exportedAs}__`;
prelude.push(`const ${wrappedName} = ${wrap(target)};`);
state.needsImport = true;
return `${wrappedName} as ${exportedAs}`;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Generated specifiers drop required quotes

Medium Severity

exportedName() now unwraps string literal export and import names, but wrapForeignExport and importAs interpolate those values as bare identifiers. String names that are not valid identifiers, including reserved words, produce invalid import/export clauses and broken __SENTRY_* bindings. The previous Identifier-only path left those specifiers unchanged.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit f96f39e. Configure here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

The Cloudflare and SvelteKit callers only pass identifier names to these helpers and skip string-literal locals, so no generated clause gets a name that needs quotes.

Three SDKs rewrite user modules at build time with three parsers and their own export handling. Fixes for one export form landed in one SDK only.

This adds one core under `@sentry/bundler-plugins/rewriter` for them to share. It parses with oxc, so raw TypeScript parses too, and it keeps the edits in one MagicString, so every rewrite carries a source map.

When the plugin context is Rolldown's, the host parses with its `this.parse`, which reads TypeScript. Rollup's cannot, so other bundlers parse with oxc. oxc loads with a dynamic import, so a platform without its native binary gets a warning and unchanged modules instead of a failed build.
CodeQL flagged `/[?#].*$/` as slow on ids with many `#` characters. `stripUrlQueryAndFragment` from `@sentry/core` splits at the first `?` or `#` instead.
@timfish
timfish force-pushed the feat/call-site-rewriter-core branch from 768623f to f54f2e3 Compare November 26, 2026 14:40
@timfish
timfish merged commit 71f41ed into develop Nov 26, 2026
395 of 402 checks passed
@timfish
timfish deleted the feat/call-site-rewriter-core branch November 26, 2026 14:59
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.

3 participants