Skip to content

[v22.x backport] worker: make Worker async disposable #58455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: v22.x-staging
Choose a base branch
from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented May 26, 2025

Backport of #58385

jasnell added 2 commits May 25, 2025 17:51
Signed-off-by: James M Snell <jasnell@gmail.com>
Signed-off-by: James M Snell <jasnell@gmail.com>
@jasnell jasnell requested a review from aduh95 May 26, 2025 01:04
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. v22.x v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch. worker Issues and PRs related to Worker support. labels May 26, 2025
@jasnell jasnell changed the title worker: make Worker async disposable [Backport] worker: make Worker async disposable May 26, 2025
@juanarbol
Copy link
Member

Maybe it is quite irrelevant, but this backport diverges a bit from the original PR (one extra commit) and each commit is missing its metadata (trailing, same as the original PR).

@jasnell
Copy link
Member Author

jasnell commented May 26, 2025

This was a manual commit put together before the other one landed. Will update it with the metadata later.

Manual Backport of nodejs#58385

Original metadata:
    PR-URL: nodejs#58385
    Reviewed-By: LiviaMedeiros <livia@cirno.name>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
    Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
@jasnell jasnell force-pushed the jasnell/backport-worker-dispose branch from 23474ab to a8ffbcd Compare May 26, 2025 01:19
Copy link
Member

@juanarbol juanarbol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a manual commit put together before the other one landed. Will update it with the metadata later.

Oh, I see. Although, all commits needs its trailers. I think a rebase and a ncu command for each patch will fix it. I'm approving considering that you'll add the git trailers for each commit as it should be.

@jasnell
Copy link
Member Author

jasnell commented May 26, 2025

i'm not planning on back porting both of the original commits since one is only relevant for 24.x. This one commit combines the base change along the 22.x version of the test that landed in the original.

@aduh95 aduh95 changed the title [Backport] worker: make Worker async disposable [v22.x backport] worker: make Worker async disposable May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-ci PRs that need a full CI run. v22.x v22.x Issues that can be reproduced on v22.x or PRs targeting the v22.x-staging branch. worker Issues and PRs related to Worker support.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants