Skip to content

Commit f1ed683

Browse files
committed
test(feishu): add production-path integration tests for session-init conflict retry
Adds 8 integration tests that exercise the real runFeishuDispatchWithSessionInitConflictRetry wiring through handleFeishuMessage — both single-agent and broadcast dispatch paths. Single-agent tests: - no conflict → succeeds immediately - conflict retry → recovers on 2nd attempt - all retries exhausted → sends user notice - non-conflict errors → no retry - cause-nested conflict → recognized and retried Broadcast tests: - notice only for active agent when its retries exhaust - observer agent exhaustion does NOT trigger notice - per-agent independent retry recovery All 27 tests pass (10 unit + 8 integration + 9 broadcast).
1 parent 2982248 commit f1ed683

1 file changed

Lines changed: 443 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)