Skip to content

feat(frameworks)!: Use function op for framework functions - #23047

Open
msonnb wants to merge 3 commits into
developfrom
ms/framework-function-op
Open

feat(frameworks)!: Use function op for framework functions#23047
msonnb wants to merge 3 commits into
developfrom
ms/framework-function-op

Conversation

@msonnb

@msonnb msonnb commented Aug 5, 2026

Copy link
Copy Markdown
Member

Framework function spans previously each carried a granular, per-framework op (function.sveltekit.load, function.react_router.loader, function.nextjs, function.remix.document_request, function.server_action, function.tanstackstart, …). This unifies them onto the standardized function op from conventions

The detail that lived in the op now lives in sentry.origin and code.function.name (the wrapped function's real name), added where the origin alone no longer distinguishes spans.

Affected: sveltekit, react-router, nextjs, remix, solidstart, tanstackstart-react.

part of #22446

@msonnb

msonnb commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

c'mon, do something

@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 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 0306fef. Configure here.

Comment thread packages/remix/src/server/instrumentServer.ts
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 30.15 kB - -
@sentry/browser - with treeshaking flags 28.35 kB - -
@sentry/browser (incl. Tracing) 47.56 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 47.57 kB - -
@sentry/browser (incl. Tracing, Profiling) 52.31 kB - -
@sentry/browser (incl. Tracing, Replay) 86.94 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 76.34 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 91.63 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 104.3 kB - -
@sentry/browser (incl. Feedback) 47.47 kB - -
@sentry/browser (incl. sendFeedback) 34.98 kB - -
@sentry/browser (incl. FeedbackAsync) 40.12 kB - -
@sentry/browser (incl. Metrics) 31.22 kB - -
@sentry/browser (incl. Logs) 31.46 kB - -
@sentry/browser (incl. Metrics & Logs) 32.13 kB - -
@sentry/react 31.94 kB - -
@sentry/react (incl. Tracing) 49.81 kB - -
@sentry/vue 35.23 kB - -
@sentry/vue (incl. Tracing) 49.53 kB - -
@sentry/svelte 30.17 kB - -
CDN Bundle 32.17 kB - -
CDN Bundle (incl. Tracing) 47.87 kB - -
CDN Bundle (incl. Logs, Metrics) 33.71 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.23 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 73.06 kB - -
CDN Bundle (incl. Tracing, Replay) 85.48 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 86.79 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.31 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.61 kB - -
CDN Bundle - uncompressed 95.38 kB - -
CDN Bundle (incl. Tracing) - uncompressed 142.89 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.01 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 146.87 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 224.71 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 262.14 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 266.11 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 275.85 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 279.8 kB - -
@sentry/nextjs (client) 52.4 kB - -
@sentry/sveltekit (client) 48.02 kB - -
@sentry/core/server 65.59 kB - -
@sentry/core/browser 51.88 kB - -
@sentry/node 120.14 kB -0.01% -2 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 0 B added added
@sentry/node - without tracing 83.75 kB -0.01% -2 B 🔽
@sentry/aws-serverless 92.26 kB -0.01% -1 B 🔽
@sentry/cloudflare (withSentry) - minified 218.64 kB - -
@sentry/cloudflare (withSentry) 538.86 kB - -

View base workflow run

@msonnb
msonnb force-pushed the ms/framework-function-op branch from 0306fef to 502d908 Compare August 5, 2026 09:22
@msonnb
msonnb marked this pull request as ready for review August 5, 2026 09:47
@msonnb
msonnb requested a review from a team as a code owner August 5, 2026 09:47
@msonnb
msonnb requested review from nicohrubec and s1gr1d and removed request for a team August 5, 2026 09:47
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.

1 participant