async_hooks: ensure AsyncLocalStore instances work isolated by Flarna · Pull Request #58149 · nodejs/node

@Flarna

Avoid that one AsyncLocalStore instance changes the state of another
AsyncLocalStore instance by restoring only the owned store instead
the complete AsyncContextFrame.

Flarna

legendecas

@Flarna

@Flarna

@Flarna Flarna added commit-queue-squash

Add this label to instruct the Commit Queue to squash all the PR commits into the first one.

dont-land-on-v20.x

PRs that should not land on the v20.x-staging branch and should not be released in v20.x.

labels

May 4, 2025

BridgeAR

@Flarna Flarna added the author ready

PRs that have at least one approval, no pending requests for changes, and a CI started.

label

May 5, 2025

legendecas

Qard

Qard approved these changes May 5, 2025

@Flarna Flarna added the commit-queue

Add this label to land a pull request using GitHub Actions.

label

May 6, 2025

@Flarna Flarna deleted the flarna/als-isolated branch

May 6, 2025 18:04

targos pushed a commit that referenced this pull request

May 16, 2025
Avoid that one AsyncLocalStore instance changes the state of another
AsyncLocalStore instance by restoring only the owned store instead
the complete AsyncContextFrame.

PR-URL: #58149
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>

aduh95 pushed a commit that referenced this pull request

Jun 10, 2025
Avoid that one AsyncLocalStore instance changes the state of another
AsyncLocalStore instance by restoring only the owned store instead
the complete AsyncContextFrame.

PR-URL: #58149
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>

mcollina pushed a commit to mcollina/node that referenced this pull request

Dec 12, 2025
Avoid that one AsyncLocalStore instance changes the state of another
AsyncLocalStore instance by restoring only the owned store instead
the complete AsyncContextFrame.

PR-URL: nodejs#58149
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>

mcollina pushed a commit to mcollina/node that referenced this pull request

Dec 12, 2025
Avoid that one AsyncLocalStore instance changes the state of another
AsyncLocalStore instance by restoring only the owned store instead
the complete AsyncContextFrame.

PR-URL: nodejs#58149
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>

aduh95 pushed a commit that referenced this pull request

Jun 10, 2025
Avoid that one AsyncLocalStore instance changes the state of another
AsyncLocalStore instance by restoring only the owned store instead
the complete AsyncContextFrame.

PR-URL: #58149
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>

mcollina pushed a commit to mcollina/node that referenced this pull request

Dec 12, 2025
Avoid that one AsyncLocalStore instance changes the state of another
AsyncLocalStore instance by restoring only the owned store instead
the complete AsyncContextFrame.

PR-URL: nodejs#58149
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>

mcollina pushed a commit to mcollina/node that referenced this pull request

Dec 12, 2025
Avoid that one AsyncLocalStore instance changes the state of another
AsyncLocalStore instance by restoring only the owned store instead
the complete AsyncContextFrame.

PR-URL: nodejs#58149
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>

mcollina pushed a commit to mcollina/node that referenced this pull request

Dec 12, 2025
Avoid that one AsyncLocalStore instance changes the state of another
AsyncLocalStore instance by restoring only the owned store instead
the complete AsyncContextFrame.

PR-URL: nodejs#58149
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>