fix(whatsapp): prevent reconnect console flashes on Windows - #63288
fix(whatsapp): prevent reconnect console flashes on Windows#63288BlackishGreen33 wants to merge 1 commit into
Conversation
|
Thanks—this is a focused fix for a verified Windows reconnect gap. Current main still invokes the synchronous This is an automated hermes-sweeper review. |
|
Closing after the class-level fix in PR #70205 (commit 0dbf639): Windows console flashes were caused by Hermes daemons running console-less (pythonw / DETACHED_PROCESS parents), forcing every console-subsystem child to allocate its own visible window. Main now launches every daemon (gateway, Scheduled Task, UAC handoff, dashboard, desktop backend) with a hidden console that all descendants inherit — so the spawn sites this PR flags no longer have a reachable flash under any shipped launch path (interactive terminals never flashed; children inherit the visible console there). The sites you patched were genuinely unflagged, and the diagnosis was sound against the old launch topology — the ground just moved under it. Rather than keep growing per-site flags across an unbounded set of leaf spawns, we're standardizing on the parent-console fix. If a flash reappears on current main under a shipped launch path, that's a new bug — please file it with the flashing process name. Thanks for the contribution and the Windows attention; sorry this one got mooted at the root. |
What does this PR do?
Fixes #63212.
Prevents visible console windows from flashing during WhatsApp reconnects on Windows. The long-running bridge process was already started with the correct detached-process helper, but three short-lived subprocesses still ran without
CREATE_NO_WINDOW:node --versionrequirements checknpm installtaskkillbridge cleanupThis change uses the existing
windows_hide_flags()helper for those calls. It does not change command arguments, timeouts, output capture, process cleanup, or non-Windows behavior.Related Issue
Fixes #63212
Type of Change
Changes Made
windows_hide_flags()to the three short-lived WhatsApp subprocess calls.taskkillcalls.How to Test
The tests mock the Windows flag value and verify that all three subprocess calls receive it. I ran the focused tests on macOS; I did not claim a separate Windows machine test. The source issue includes real Windows process/window monitoring for the same change.
Checklist
0on non-Windows platforms.