mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
Locks in the #1766 daemon-survives-parent-exit fix on Windows with a CI regression test. Validated on three independent Windows machines: - local Windows 11 (Reuven, PID 25532 alive 246s post parent exit) - reporter Zarkk1zz's machine (per the original issue thread) - GitHub Actions windows-latest runner (PID 7072 alive 5s post parent exit, @claude-flow/cli@3.7.0-alpha.3) The test is wired into the existing Build & Package (windows-latest) matrix job in .github/workflows/ci.yml. It installs @claude-flow/cli@alpha into RUNNER_TEMP, spawns the daemon via [System.Diagnostics.Process]::Start of cmd.exe /c node $cli daemon start (chosen over Start-Process -Wait because PS7 on pwsh hangs on inherited output streams), waits for the cmd parent to exit (max 120s), then asserts Get-Process -Id $daemonPid still finds the daemon 5s later. Original #1766 symptom was death within ~1s, so 5s is well past any plausible delayed-teardown race. Step-level timeout-minutes: 15 backstop. Phase markers (::group::) make future regression debugging easy — the log shows exactly which phase (install / spawn / verify / cleanup) failed and how long each took. Also adds a Post-witness validations section to verification.md with full runtime evidence, source/dist SHA-256 hashes, and an active reference to the new CI step. Kept outside the signed Ed25519 JSON manifest above so the existing witness signature stays valid. Closes the testing gap noted in #1766's PR description ("zero direct Windows verification of the fix"). Co-Authored-By: RuFlo <ruv@ruv.net>