fix claude turn teardown and start CI watchers immediately

This commit is contained in:
Eyejoker
2026-03-23 08:55:48 +09:00
parent 7100a13b39
commit 42d721a9ec
11 changed files with 232 additions and 11 deletions

View File

@@ -325,6 +325,9 @@ describe('agent-runner timeout behavior', () => {
expect(spawnEnv?.EJCLAW_IPC_DIR).toBe(
'/tmp/ejclaw-test-data/ipc/test-group/tasks/task-123',
);
expect(spawnEnv?.EJCLAW_HOST_IPC_DIR).toBe(
'/tmp/ejclaw-test-data/ipc/test-group',
);
expect(spawnEnv?.CLAUDE_CONFIG_DIR).toBe(
'/tmp/ejclaw-test-data/sessions/test-group/tasks/task-123/.claude',
);
@@ -356,6 +359,9 @@ describe('agent-runner timeout behavior', () => {
expect(spawnEnv?.EJCLAW_IPC_DIR).toBe(
'/tmp/ejclaw-test-data/ipc/test-group/tasks/task-watch-group',
);
expect(spawnEnv?.EJCLAW_HOST_IPC_DIR).toBe(
'/tmp/ejclaw-test-data/ipc/test-group',
);
expect(spawnEnv?.CLAUDE_CONFIG_DIR).toBe(
'/tmp/ejclaw-test-data/sessions/test-group/.claude',
);