Skip to content

ref: Use op constants from conventions - #23742

Merged
msonnb merged 2 commits into
developfrom
ms/span-op-constants
Aug 31, 2026
Merged

msonnb merged 2 commits into
developfrom
ms/span-op-constants

Conversation

@msonnb

@msonnb msonnb commented Aug 28, 2026

Copy link
Copy Markdown
Member

replaces string literals with exported constants from conventions that have been released in the meantime.

@msonnb

msonnb commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

bugbot run

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 34889f6. Configure here.

@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 28.56 kB - -
@sentry/browser - with treeshaking flags 26.92 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 26.82 kB - -
@sentry/browser (incl. Tracing) 48.76 kB +0.09% +40 B 🔺
@sentry/browser (incl. Tracing + Span Streaming) 48.78 kB +0.09% +39 B 🔺
@sentry/browser (incl. Tracing, Profiling) 51.69 kB +0.07% +32 B 🔺
@sentry/browser (incl. Tracing, Replay) 88.24 kB +0.06% +48 B 🔺
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.63 kB +0.04% +31 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 92.94 kB +0.07% +57 B 🔺
@sentry/browser (incl. Tracing, Replay, Feedback) 105.86 kB +0.04% +32 B 🔺
@sentry/browser (incl. Feedback) 46.05 kB - -
@sentry/browser (incl. sendFeedback) 33.62 kB - -
@sentry/browser (incl. FeedbackAsync) 38.73 kB - -
@sentry/browser (incl. Metrics) 29.51 kB - -
@sentry/browser (incl. Logs) 29.8 kB - -
@sentry/browser (incl. Metrics & Logs) 30.43 kB - -
@sentry/react 30.3 kB - -
@sentry/react (incl. Tracing) 50.95 kB +0.05% +24 B 🔺
@sentry/vue 35.73 kB - -
@sentry/vue (incl. Tracing) 51.03 kB +0.12% +60 B 🔺
@sentry/svelte 28.59 kB - -
CDN Bundle 30.35 kB - -
CDN Bundle (incl. Tracing) 49.39 kB +0.15% +71 B 🔺
CDN Bundle (incl. Logs, Metrics) 32.58 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 51.26 kB +0.1% +47 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) 73.17 kB - -
CDN Bundle (incl. Tracing, Replay) 86.87 kB +0.06% +44 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.73 kB +0.05% +43 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) 92.8 kB +0.08% +66 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.65 kB +0.04% +33 B 🔺
CDN Bundle - uncompressed 89.95 kB - -
CDN Bundle (incl. Tracing) - uncompressed 147.22 kB +0.12% +166 B 🔺
CDN Bundle (incl. Logs, Metrics) - uncompressed 96.24 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 152.91 kB +0.11% +166 B 🔺
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 225.41 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 266.71 kB +0.07% +166 B 🔺
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 272.39 kB +0.07% +166 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 280.42 kB +0.06% +166 B 🔺
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 286.08 kB +0.06% +166 B 🔺
@sentry/nextjs (client) 53.52 kB +0.03% +14 B 🔺
@sentry/sveltekit (client) 49.2 kB +0.09% +43 B 🔺
@sentry/core/server 65.47 kB +0.01% +3 B 🔺
@sentry/core/browser 51.86 kB +0.02% +9 B 🔺
@sentry/node 123.47 kB +0.05% +56 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 85.23 kB - -
@sentry/node - without tracing 87.76 kB +0.05% +39 B 🔺
@sentry/node - without channel injection 103.13 kB +0.06% +57 B 🔺
@sentry/aws-serverless 96.07 kB +0.03% +21 B 🔺
@sentry/cloudflare (withSentry) - minified 200.72 kB +0.04% +75 B 🔺
@sentry/cloudflare (withSentry) 499.25 kB +0.03% +116 B 🔺

View base workflow run

@msonnb
msonnb marked this pull request as ready for review August 31, 2026 07:37
@msonnb
msonnb requested review from a team as code owners August 31, 2026 07:37
@msonnb
msonnb requested review from andreiborza, isaacs, logaretm, mydea, nicohrubec and s1gr1d and removed request for a team and nicohrubec August 31, 2026 07:37
msonnb and others added 2 commits August 31, 2026 11:11
The production code now sets ops via the SENTRY_OP attribute instead of
the `op` span option, so spy-based assertions on startSpan arguments
must expect the attribute. Also point the langchain integration test at
the conventions constant since the local alias was removed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@msonnb
msonnb force-pushed the ms/span-op-constants branch from 859d645 to 6b09e08 Compare August 31, 2026 09:12
@msonnb
msonnb merged commit 78bcb9b into develop Aug 31, 2026
284 checks passed
@msonnb
msonnb deleted the ms/span-op-constants branch August 31, 2026 09:34
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.

2 participants