Repository navigation
fix(aws-serverless): Fork isolation scope per invocation - #26191
Merged
Merged
Conversation
Closes: #26180 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
andreiborza
marked this pull request as ready for review
November 6, 2026 19:16
andreiborza
requested review from
chargome,
isaacs,
msonnb,
mydea and
nicohrubec
and removed request for
a team
November 6, 2026 19:16
Contributor
size-limit report 📦Compared: 6857180 (PR test merge using develop at 3963e60) Against: 3963e60 (develop) · base run #65264 ✅ Baseline matches: this diff contains only this PR's changes.
|
51 tasks done
3 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
wrapHandlernow forks the isolation scope for each invocation, for normal and streaming handlers. The timeout warning now has the user andaws.lambdacontext of its own invocation.Why
A warm Lambda kept one isolation scope, so the user, tags, and breadcrumbs of one invocation went to the events of later invocations.
Closes: #26180