Repository navigation
fix(cli): Send snapshot uploads over HTTP/1.1 to stop HTTP/2 stream resets - #2439
Merged
Merged
Conversation
…esets On Node 26, fetch uses HTTP/2, so the parallel objectstore PUTs of snapshots upload share one connection, and Sentry's edge resets all but a couple of them with ENHANCE_YOUR_CALM. Uploads with three or more images over 1 MiB fail with a bare "TypeError: fetch failed". Use the HTTP/1.1 dispatcher that chunk uploads already use (#2210), and show the network cause of a failed request.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
lcian
marked this pull request as ready for review
November 19, 2026 21:01
lcian
enabled auto-merge (squash)
November 19, 2026 21:03
lcian
disabled auto-merge
November 19, 2026 21:03
BYK
approved these changes
Nov 19, 2026
7 tasks done
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sentry snapshots uploadfails with a bareUnexpected error: TypeError: fetch failedonce a snapshot has three or more images over 1 MiB. Objectstore requests now go over HTTP/1.1, as chunk uploads already do since #2210, and a failed request shows its network cause.This is the same issue as #2201. Images over 1 MiB are PUT individually, 5 at a time, and on Node 26 they share one HTTP/2 connection, where Sentry's edge resets most streams with
ENHANCE_YOUR_CALM. I checked this with@sentry/api'sputObjectsand a logging fetch on 16 images of 6–8 MB: over HTTP/2, 3 of the first 5 PUTs were reset; over HTTP/1.1 with the same concurrency, all 16 uploaded in about 6 s. The objectstore client is unchanged up to@sentry/api2.16.0, so the fix stays in the CLI adapter.