/** * Tests for OpenClawCliRuntimeAdapter healthCheck message-file lifecycle. * * Context: commit 89c91854 fixed a bug where healthCheck probe used the deleted * MessageFileRef.arg field instead of MessageFileRef.filePath. These tests * verify the REAL behavior the original PR claimed to cover but didn't: * * - The message file is actually created on disk and its path is passed to CLI * - The file is cleaned up on BOTH success and failure paths (finally block) * - Each probe gets a unique session ID * - workspaceDir controls where the temp file lands * * ERR-088 lesson: the prior version of this file asserted only * `expect(adapter).toBeDefined()` and `expect(...).not.toThrow()` while * hardcoding `/test/workspace` (which fails on non-root CI and on Windows). * A refactor deleting cleanupMessageFile would have left every test green. */ export {}; //# sourceMappingURL=openclaw-cli-runtime-adapter-message-file.test.d.ts.map