Fix stale CLI retry CI contracts · openclaw/openclaw@0b02148
brokemac79
·
2026-05-31
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -408,7 +408,7 @@ describe("runCliAgent reliability", () => {
|
408 | 408 | |
409 | 409 | it("does not retry a resumed CLI session after the hard overall timeout", async () => { |
410 | 410 | supervisorSpawnMock.mockClear(); |
411 | | -const clearBeforeRetry = vi.fn(async () => undefined); |
| 411 | +const clearBeforeRetry = vi.fn(async () => false); |
412 | 412 | supervisorSpawnMock.mockResolvedValueOnce( |
413 | 413 | createManagedRun({ |
414 | 414 | reason: "overall-timeout", |
@@ -445,7 +445,7 @@ describe("runCliAgent reliability", () => {
|
445 | 445 | |
446 | 446 | it("does not retry a resumed recoverable failover without a reseed prompt", async () => { |
447 | 447 | supervisorSpawnMock.mockClear(); |
448 | | -const clearBeforeRetry = vi.fn(async () => undefined); |
| 448 | +const clearBeforeRetry = vi.fn(async () => false); |
449 | 449 | supervisorSpawnMock.mockResolvedValueOnce( |
450 | 450 | createManagedRun({ |
451 | 451 | reason: "no-output-timeout", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。