Commit e5ea172
test(windows-ci): dump every cmd.exe + CommandLine on stale-watchdog test
CI failure from previous commit (after the timeout bump):
AssertionError: fake watchdog PID 8620 should be killed.
Driver stdout:
Driver stderr: [driver] before kill, fakePid=8620
[driver] after kill
The driver's `killAllStaleWatchdogs()` ran to completion but the fake
watchdog process is still alive. Either:
- PowerShell's `Get-CimInstance Win32_Process | Where-Object CommandLine -like
'*daemon-watchdog*'` returned nothing on the GitHub Actions runner image
- or it returned PIDs but taskkill couldn't act on them
To diagnose: the driver now dumps every cmd.exe process and its full
CommandLine value via `Get-CimInstance Win32_Process | Format-List` BEFORE
calling killAllStaleWatchdogs. The output lands in the test's assertion
message so the next CI failure will show exactly what PowerShell sees on
the runner image — and we can then fix the filter accordingly.
Local tests still pass (3/3).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f299aa1 commit e5ea172
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
| 116 | + | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
121 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
122 | 129 | | |
123 | 130 | | |
124 | 131 | | |
| |||
0 commit comments