Skip to content

chore(lint): Point no-unguarded-span-apis message back at @sentry/core/browser - #26876

Merged
mydea merged 1 commit into
developfrom
fix/unguarded-span-apis-message
Nov 25, 2026
Merged

mydea merged 1 commit into
developfrom
fix/unguarded-span-apis-message

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

What

The sdk/no-unguarded-span-apis error message, rule description, and file docs now point at @sentry/core/browser again as the place to import the guarded span-start APIs from.

Why

#23762 replaced @sentry/core/browser with @sentry/core in these strings, so the error told people to import from the same entrypoint it had just flagged. The rule's logic and tests didn't change, so this only fixes the wording.

via @mydea.

--

View Session [Sentry]

…e/browser

#23762 rewrote `@sentry/core/browser` to `@sentry/core` in the rule's docs and
error message, so the error told people to import from the same entrypoint it
had just flagged.

Co-Authored-By: Francesco Gringl-Novy <2411343+mydea@users.noreply.github.com>
@mydea
mydea marked this pull request as ready for review November 25, 2026 13:42
@mydea
mydea enabled auto-merge (squash) November 25, 2026 13:42
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: 9b43c07 (PR test merge using develop at fc11404)

Against: fc11404 (develop) · base run #67936

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

Path Size % Change Change
@sentry/browser 30.54 kB - -
@sentry/browser - with treeshaking flags 28.73 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 28.6 kB - -
@sentry/browser (incl. Tracing) 53.66 kB - -
@sentry/browser (incl. Tracing Core) 40.58 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 53.66 kB - -
@sentry/browser (incl. Tracing, Profiling) 56.56 kB - -
@sentry/browser (incl. Tracing, Replay) 93.59 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 82.38 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 98.42 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 111.39 kB - -
@sentry/browser (incl. Feedback) 48.4 kB - -
@sentry/browser (incl. sendFeedback) 31.11 kB - -
@sentry/browser (incl. FeedbackAsync) 36.16 kB - -
@sentry/browser (incl. Metrics) 31.86 kB - -
@sentry/browser (incl. Logs) 32.13 kB - -
@sentry/browser (incl. Metrics & Logs) 32.8 kB - -
@sentry/react 32.56 kB - -
@sentry/react (incl. Tracing) 56.37 kB - -
@sentry/vue 38.74 kB - -
@sentry/vue (incl. Tracing) 56.67 kB - -
@sentry/svelte 30.57 kB - -
@sentry/effect (client) 42.21 kB - -
@sentry/effect (client, incl. Tracing) 54.96 kB - -
@sentry/effect (client, incl. Tracing, Logs, Metrics) 66.31 kB - -
@sentry/remix (Remix 3 client bundle) 59.39 kB - -
CDN Bundle 32.38 kB - -
CDN Bundle (incl. Tracing) 54.04 kB - -
CDN Bundle (incl. Logs, Metrics) 35.13 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 56.5 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 76.08 kB - -
CDN Bundle (incl. Tracing, Replay) 91.84 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 94.37 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 97.31 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 99.78 kB - -
CDN Bundle - uncompressed 94.56 kB - -
CDN Bundle (incl. Tracing) - uncompressed 159.84 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 102.9 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 167.47 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 233.29 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 280.28 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 287.9 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 292.21 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 299.83 kB - -
@sentry/nextjs (client) 60.08 kB - -
@sentry/sveltekit (client) 55.02 kB - -
@sentry/core/server 45.83 kB - -
@sentry/core/browser 14.46 kB - -
@sentry/node 156.92 kB -0.01% -1 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 83.45 kB - -
@sentry/node - without tracing 89.78 kB -0.01% -3 B 🔽
@sentry/node - without channel injection 145.88 kB +0.01% +1 B 🔺
@sentry/aws-serverless 100.42 kB -0.01% -5 B 🔽
@sentry/cloudflare (withSentry) - minified 211.91 kB - -
@sentry/cloudflare (withSentry) 491.68 kB - -
@sentry/cloudflare (withSentry, instrumented CommonJS package) - minified 214.86 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 237.15 kB - -

View base workflow run

@mydea
mydea merged commit b7c65c3 into develop Nov 25, 2026
60 checks passed
@mydea
mydea deleted the fix/unguarded-span-apis-message branch November 25, 2026 13:45
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