FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

stream: fix cloned webstreams not being unref correctly by tsctx · Pull Request #51526 · nodejs/node · GitHub

/ node Public

stream: fix cloned webstreams not being unref correctly - #51526

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
tsctx:fix/webstreams-clone-hang
Jan 23, 2024
Merged

stream: fix cloned webstreams not being unref correctly#51526
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
tsctx:fix/webstreams-clone-hang

Conversation

tsctx commented Jan 19, 2024
edited
Loading

Copy link
Copy Markdown
Member

Fixes #44985.
Fixed a problem where the process would not terminate if structuredClone was used for webstream and body was not consumed.

The issue with #51255 has been fixed and adjusted so that #51486 does not happen.

nodejs-github-bot added needs-ci PRs that need a full CI run. web streams labels Jan 19, 2024

mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

mcollina requested review from KhafraDev and jasnell January 19, 2024 16:01
RafaelGSS mentioned this pull request Jan 19, 2024
tsctx force-pushed the fix/webstreams-clone-hang branch from 014f1ea to 0530d58 Compare January 20, 2024 13:49

H4ad commented Jan 22, 2024

Copy link
Copy Markdown
Member

@mcollina Should we fast track in favor of #51530 (comment)?

H4ad added author ready PRs that have at least one approval, no outstanding review comments, and a CI started. request-ci Add this label to start a Jenkins CI on a PR. labels Jan 22, 2024

Copy link
Copy Markdown
Member

@mcollina Should we fast track in favor of #51530 (comment)?

This doesn't need a fast track as it was opened >48 hours ago and has the required number of reviews. It does need a passing CI run, which I see has been requested.

github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jan 22, 2024

Copy link
Copy Markdown
Collaborator

H4ad commented Jan 22, 2024

Copy link
Copy Markdown
Member

@nodejs/build The fedora machines are failling in the latest jobs:

11:40:02 ERROR: Error cloning remote repo 'origin'
11:40:02 hudson.plugins.git.GitException: Could not init /home/iojs/build/workspace/node-test-commit-linux
11:40:02 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$5.execute(CliGitAPIImpl.java:1073)
11:40:02 	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:819)
11:40:02 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:170)
11:40:02 	at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$GitCommandMasterToSlaveCallable.call(RemoteGitImpl.java:161)
11:40:02 	at hudson.remoting.UserRequest.perform(UserRequest.java:211)
11:40:02 	at hudson.remoting.UserRequest.perform(UserRequest.java:54)
11:40:02 	at hudson.remoting.Request$2.run(Request.java:377)
11:40:02 	at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
11:40:02 	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
11:40:02 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
11:40:02 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
11:40:02 	at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
11:40:02 	at java.base/java.lang.Thread.run(Thread.java:833)
11:40:02 	Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from

targos commented Jan 22, 2024

Copy link
Copy Markdown
Member

Looks like the git clone is corrupt on test-digitalocean-fedora38-x64-2. I wiped out the workspace.

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

mcollina added the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 23, 2024
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jan 23, 2024
nodejs-github-bot merged commit 66556f5 into nodejs:main Jan 23, 2024

Copy link
Copy Markdown
Collaborator

Landed in 66556f5

tsctx deleted the fix/webstreams-clone-hang branch January 23, 2024 06:38
targos pushed a commit that referenced this pull request Feb 15, 2024
PR-URL: #51526
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
marco-ippolito mentioned this pull request Mar 1, 2024
richardlau pushed a commit that referenced this pull request Mar 25, 2024
PR-URL: #51526
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
richardlau mentioned this pull request Mar 25, 2024
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

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. needs-ci PRs that need a full CI run. web streams

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: using structuredClone with ReadableStream prevents process from exiting

6 participants


Back | FazBrowse Home | New Git URL