diff options
| author | Jesse Vincent <jesse@primeradiant.com> | 2026-05-23 16:36:45 -0700 |
|---|---|---|
| committer | Drew Ritter <drew@primeradiant.com> | 2026-06-16 10:09:44 -0700 |
| commit | 95aa3d5007882905418acc6f6dec3afd6bfd2b09 (patch) | |
| tree | 30d18476bf3726d5ae01e3c5fd993d42a24bc4ce /tests/codex-plugin-sync | |
| parent | 3cd2db9f8aa48cf7907c55adfaef2db540702209 (diff) | |
Align windows-lifecycle test with current brainstorm server layout
The test had drifted behind three server implementation changes and no
longer ran against the actual server:
- Server entrypoint renamed from server.js to server.cjs; the test still
invoked node on server.js and failed with MODULE_NOT_FOUND.
- Server state moved to a state/ subdirectory (state/server-info,
state/server.pid); the test still waited on .server-info and wrote
.server.pid at the session root.
- Owner-PID startup validation now keeps the server running when the
owner PID is dead at startup: it logs owner-pid-invalid, disables
owner monitoring, and falls back to the idle timeout. The test still
expected the server to self-terminate within 60s of a dead-at-startup
owner.
Update file/path references to match the current server, and rewrite
the dead-at-startup test to assert the current behavior: server
survives, log contains owner-pid-invalid, log does not contain a
spurious "owner process exited" line.
Verified locally: 9 passed, 0 failed, 3 skipped (Windows-only).
Diffstat (limited to 'tests/codex-plugin-sync')
0 files changed, 0 insertions, 0 deletions
