Skip to content

fix: don't fail on console log pending at teardown - #11619

Merged
sheremet-va merged 1 commit into
mainfrom
fix/pending-console-log-teardown
Oct 16, 2026
Merged

sheremet-va merged 1 commit into
mainfrom
fix/pending-console-log-teardown

Conversation

@sheremet-va

Copy link
Copy Markdown
Member

Fixes #11153

Since #9727 onUserConsoleLog is an awaited call, so a log sent while the worker closes is rejected and reported as an unhandled error. The message is already posted at that point, so the worker now ignores the teardown rejection.

@sheremet-va
sheremet-va merged commit a60b8e1 into main Oct 16, 2026
29 of 31 checks passed
@sheremet-va
sheremet-va deleted the fix/pending-console-log-teardown branch October 16, 2026 16:16
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EnvironmentTeardownError: Closing rpc while "onUserConsoleLog" was pending — intermittent on v4/v5, clean on v3, maxWorkers:1 does not help

1 participant