Skip to content

fix(node,vercel-edge,bundler-plugins): Ignore commit env vars set to their own name - #25244

Draft
mwarkentin wants to merge 1 commit into
developfrom
claude/gifted-faraday-nki4g5
Draft

mwarkentin wants to merge 1 commit into
developfrom
claude/gifted-faraday-nki4g5

Conversation

@mwarkentin

@mwarkentin mwarkentin commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Some builds have VERCEL_GIT_COMMIT_SHA set to the literal string VERCEL_GIT_COMMIT_SHA instead of a SHA. Release auto-detection took that value as the release name, so every build of the app uploaded its source maps into, and reported events against, one release that never changes.

Release detection in the bundler plugins and the Node and Vercel Edge SDKs now skips a commit env var whose value is its own name, warns, and moves on to the next candidate.

Claude-Session: https://claude.ai/code/session_01WgDm3ijhQZQUHGAFFqQzKQ

Before submitting a pull request, please take a look at our
Contributing guidelines and verify:

  • If you've added code that should be tested, please add tests.
  • Ensure your code lints and the test suite passes (yarn lint) & (yarn test).
  • Link an issue if there is one related to your pull request. If no issue is linked, one will be auto-generated and linked.

…their own name

Some builds have `VERCEL_GIT_COMMIT_SHA` set to the literal string
`VERCEL_GIT_COMMIT_SHA` instead of a SHA. Release auto-detection took that
value as the release name, so every build of the app uploaded its source
maps into, and reported events against, one release that never changes.

Release detection in the bundler plugins and the Node and Vercel Edge SDKs
now skips a commit env var whose value is its own name, warns, and moves on
to the next candidate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WgDm3ijhQZQUHGAFFqQzKQ
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 29.82 kB - -
@sentry/browser - with treeshaking flags 27.96 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.87 kB - -
@sentry/browser (incl. Tracing) 51.89 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 51.91 kB - -
@sentry/browser (incl. Tracing, Profiling) 54.84 kB - -
@sentry/browser (incl. Tracing, Replay) 91.64 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 80.51 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 96.36 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 109.34 kB - -
@sentry/browser (incl. Feedback) 47.35 kB - -
@sentry/browser (incl. sendFeedback) 34.87 kB - -
@sentry/browser (incl. FeedbackAsync) 39.98 kB - -
@sentry/browser (incl. Metrics) 30.85 kB - -
@sentry/browser (incl. Logs) 31.14 kB - -
@sentry/browser (incl. Metrics & Logs) 31.78 kB - -
@sentry/react 31.66 kB - -
@sentry/react (incl. Tracing) 54.22 kB - -
@sentry/vue 37.89 kB - -
@sentry/vue (incl. Tracing) 54.81 kB - -
@sentry/svelte 29.85 kB - -
@sentry/remix (Remix 3 client bundle) 56.88 kB - -
CDN Bundle 31.57 kB - -
CDN Bundle (incl. Tracing) 52.4 kB - -
CDN Bundle (incl. Logs, Metrics) 33.76 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 54.35 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.68 kB - -
CDN Bundle (incl. Tracing, Replay) 90.07 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 92.01 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 96.23 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 98.2 kB - -
CDN Bundle - uncompressed 93.05 kB - -
CDN Bundle (incl. Tracing) - uncompressed 155.64 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 99.59 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 161.59 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.63 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 275.8 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 281.74 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 289.51 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 295.44 kB - -
@sentry/nextjs (client) 56.59 kB - -
@sentry/sveltekit (client) 52.27 kB - -
@sentry/core/server 40.87 kB - -
@sentry/core/browser 13.73 kB - -
@sentry/node 151.78 kB +0.07% +105 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 83.77 kB - -
@sentry/node - without tracing 94.35 kB +0.12% +107 B 🔺
@sentry/node - without channel injection 129.96 kB +0.09% +110 B 🔺
@sentry/aws-serverless 102.51 kB +0.1% +96 B 🔺
@sentry/cloudflare (withSentry) - minified 210.34 kB - -
@sentry/cloudflare (withSentry) 521.4 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 228.01 kB - -

View base workflow run

This branch has not been deployed

No deployments
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