fix(runner): do not force-kill worker while its teardown is in progress - #42010
Conversation
Worker sends heartbeats while gracefully closing, so that a slow fixture teardown with "timeout: 0" is not force-killed. A hung worker does not send heartbeats and is still force-killed after the timeout. Fixes: microsoft#42007
Test results for "tests 1"6 flaky50739 passed, 1190 skipped Merge workflow run. |
Test results for "MCP"2 failed 7806 passed, 1266 skipped Merge workflow run. |
|
Hi, I'm the Playwright bot and I took a first look at the CI failures here. 🟢 Nothing looks caused by this PRBoth MCP failures are pre-existing Firefox flakes, on flows this PR doesn't touch. The "tests 1" report has only flaky tests, no real failures. You're clear. DetailsThis PR changes worker heartbeat / force-kill logic in the test runner ( Pre-existing flake / infra
Both are Firefox-only and reproduce across many PRs that can't be responsible, and the MCP dialog/dashboard flows don't touch worker teardown or force-kill — so this PR isn't implicated. Note
Triaged by the Playwright bot - agent run |
Summary
timeout: 0is not force-killed.Fixes #42007