Skip to content

fix(node-core): ignore vercel AbortError by default on unhandled rejection#18973

Merged
nicohrubec merged 2 commits intodevelopfrom
nh/ignore-vercel-v6-abort-error
Jan 26, 2026
Merged

fix(node-core): ignore vercel AbortError by default on unhandled rejection#18973
nicohrubec merged 2 commits intodevelopfrom
nh/ignore-vercel-v6-abort-error

Conversation

@nicohrubec
Copy link
Member

@nicohrubec nicohrubec commented Jan 26, 2026

When a stream aborts in Vercel V6 an AbortError is thrown. Adding this to the default ignored errors in the onUnhandledRejectionIntegration integration. We already did this previously, but the exception name thrown by Vercel changed from V5 to V6. More context can be found in this issue.

Closes #17675

@nicohrubec nicohrubec changed the title fix(node-core): ignore vercel AbortError by default on unhandled rejeciton fix(node-core): ignore vercel AbortError by default on unhandled rejection Jan 26, 2026
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 25.32 kB - -
@sentry/browser - with treeshaking flags 23.83 kB - -
@sentry/browser (incl. Tracing) 42.14 kB - -
@sentry/browser (incl. Tracing, Profiling) 46.78 kB - -
@sentry/browser (incl. Tracing, Replay) 80.75 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 70.4 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 85.47 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 97.65 kB - -
@sentry/browser (incl. Feedback) 42.04 kB - -
@sentry/browser (incl. sendFeedback) 30.01 kB - -
@sentry/browser (incl. FeedbackAsync) 35.01 kB - -
@sentry/browser (incl. Metrics) 26.43 kB - -
@sentry/browser (incl. Logs) 26.57 kB - -
@sentry/browser (incl. Metrics & Logs) 27.24 kB - -
@sentry/react 27.05 kB - -
@sentry/react (incl. Tracing) 44.37 kB - -
@sentry/vue 29.76 kB - -
@sentry/vue (incl. Tracing) 43.93 kB - -
@sentry/svelte 25.33 kB - -
CDN Bundle 27.89 kB - -
CDN Bundle (incl. Tracing) 42.93 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 43.75 kB - -
CDN Bundle (incl. Tracing, Replay) 79.68 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 85.11 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 86.03 kB - -
CDN Bundle - uncompressed 81.6 kB - -
CDN Bundle (incl. Tracing) - uncompressed 127.14 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 129.97 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 243.74 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 256.54 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 259.35 kB - -
@sentry/nextjs (client) 46.73 kB - -
@sentry/sveltekit (client) 42.51 kB - -
@sentry/node-core 52.02 kB +0.02% +9 B 🔺
@sentry/node 165.72 kB +0.01% +6 B 🔺
@sentry/node - without tracing 93.79 kB +0.01% +8 B 🔺
@sentry/aws-serverless 109.3 kB +0.01% +8 B 🔺

View base workflow run

@github-actions
Copy link
Contributor

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 9,130 - 9,102 +0%
GET With Sentry 1,699 19% 1,700 -0%
GET With Sentry (error only) 6,100 67% 6,128 -0%
POST Baseline 1,224 - 1,209 +1%
POST With Sentry 594 49% 578 +3%
POST With Sentry (error only) 1,082 88% 1,040 +4%
MYSQL Baseline 3,289 - 3,271 +1%
MYSQL With Sentry 482 15% 409 +18%
MYSQL With Sentry (error only) 2,666 81% 2,637 +1%

View base workflow run

@nicohrubec nicohrubec marked this pull request as ready for review January 26, 2026 13:06
@nicohrubec nicohrubec requested a review from RulaKhaled January 26, 2026 13:06
@nicohrubec nicohrubec changed the title fix(node-core): ignore vercel AbortError by default on unhandled rejection fix(node-core): ignore vercel AbortError by default on unhandled rejection Jan 26, 2026
Copy link

@cursor cursor bot left a comment

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.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@nicohrubec nicohrubec merged commit a8677e0 into develop Jan 26, 2026
152 checks passed
@nicohrubec nicohrubec deleted the nh/ignore-vercel-v6-abort-error branch January 26, 2026 13:21
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.

VercelAI instrumentation causing AI_NoOutputGeneratedError on aborts

2 participants