Skip to content

test(subprocess): treat ESRCH as gone in waitGone - #41

Merged
whitelonng merged 1 commit into
masterfrom
ci/fix-spawn-waitgone-race
Aug 19, 2026
Merged

test(subprocess): treat ESRCH as gone in waitGone#41
whitelonng merged 1 commit into
masterfrom
ci/fix-spawn-waitgone-race

Conversation

@whitelonng

Copy link
Copy Markdown
Owner

A pid can exit between the kill-0 probe and the /proc read; readFileSync then reports ESRCH, which is the same terminal state the ENOENT arm already accepts. The loaded coverage lane hit this race on the master push run.

关联 Issue:

变更与验证
  • 变更:
  • 验证:

A pid can exit between the kill-0 probe and the /proc read; readFileSync
then reports ESRCH, which is the same terminal state the ENOENT arm
already accepts. The loaded coverage lane hit this race on the master
push run.
@whitelonng
whitelonng merged commit 0a75f8f into master Aug 19, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant