fix(cli): hide Windows daemon consoles - #42155
Conversation
Hide detached CLI and dashboard daemon windows, and prevent taskkill from flashing a console while replacing or closing sessions. Browser process launches remain unchanged so headed mode, Inspector, and UI mode stay visible.\n\nFixes: https://github.com/microsoft/playwright/issues/42152\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>\nCopilot-Session: 37896276-261f-4ff0-9664-06aa7dfc471b
Test results for "tests 1"5 flaky51234 passed, 1190 skipped Merge workflow run. |
Test results for "MCP"1 failed 8049 passed, 1284 skipped Merge workflow run. |
🟢 CI is clear — the one failure is a pre-existing Windows-Firefox flakeHi, I'm the Playwright bot and I took a first look at the CI failures here. The only real failure is DetailsOverall: no failure traces back to this change. The diff is a small, Windows-only Pre-existing flake / infra
Not triage-worthy
Triaged by the Playwright bot - agent run |
Fixes #42152. This fix is scoped to CLI and MCP and
/taskkill, so compared to #38776 it should have a much smaller blast radius. In my testing thecli open --headedandcli showcommands still worked fine across CMD and PowerShell.Two constraints that might limit our risk appetite here:
npxhas the same bug, so anybody who uses us throughnpxwon't see an improvement