fix: harden paired follow-up requeue handling

This commit is contained in:
ejclaw
2026-04-09 09:41:31 +09:00
parent b0f51b0366
commit 1788ddd995
5 changed files with 167 additions and 5 deletions

View File

@@ -102,7 +102,8 @@ describe('executeBotOnlyPairedFollowUpAction', () => {
expect(first).toBe(true);
expect(second).toBe(true);
expect(closeStdin).toHaveBeenCalledTimes(2);
expect(closeStdin).toHaveBeenCalledTimes(1);
expect(closeStdin).toHaveBeenCalledWith();
expect(enqueue).toHaveBeenCalledTimes(1);
expect(log.info).toHaveBeenCalledWith(
expect.objectContaining({