Repository navigation
fix(aws-serverless): Forward gzipped envelopes through the Lambda extension - #26978
Merged
Merged
Conversation
…ension Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
size-limit report 📦Compared: 0644874 (PR test merge using develop at 87d528a) Against: 87d528a (develop) · base run #68325 ✅ Baseline matches: this diff contains only this PR's changes.
|
Contributor
Optional E2E testsSome optional checks were not successful. They do not block the merge. 1 not successful, 64 successful. See the run.
Successful checks
|
andreiborza
marked this pull request as ready for review
November 30, 2026 13:07
andreiborza
requested review from
Lms24 and
chargome
and removed request for
JPeer264 and
isaacs
November 30, 2026 13:08
msonnb
approved these changes
Nov 30, 2026
chargome
approved these changes
Nov 30, 2026
52 tasks done
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.
What
The Lambda extension now forwards envelopes that the SDK sends gzipped. Before, it answered them with a 500 and dropped them.
Why
The Node transport gzips each envelope above 32 KB, which an error event with a deep stack trace reaches, so such events never got to Sentry while small envelopes (spans) did. This can be the cause of #26974.
Sentry traces
Lambda extension run locally with a fake Extensions API. One invocation sends a small error event, a second one sends an error event above 32 KB.
Before, only the small event arrives. The extension answers 500 for the large one:
After, the large event arrives too: