summaryrefslogtreecommitdiff
path: root/tests/opencode/test-plugin-loading.sh
diff options
context:
space:
mode:
authorJesse Vincent <jesse@primeradiant.com>2026-05-23 16:36:45 -0700
committerJesse Vincent <jesse@primeradiant.com>2026-05-23 16:36:45 -0700
commiteef50b96f0b4f4d449eb66850f68635c7ee0439f (patch)
treefb4c48da606bcea36c45f4a2815baf1409c3a09d /tests/opencode/test-plugin-loading.sh
parente1d3f71e0d8123c42938e52e052cce2227dd0e48 (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/opencode/test-plugin-loading.sh')
0 files changed, 0 insertions, 0 deletions