test: persist codex collab terminal message · openclaw/openclaw@a5aadea
shakkernerd
·
2026-05-13
·
via Recent Commits to openclaw:main
File tree
extensions/codex/src/app-server
| Original file line number | Diff line number | Diff line change |
|---|
@@ -311,13 +311,15 @@ describe("CodexNativeSubagentTaskMirror", () => {
|
311 | 311 | }); |
312 | 312 | |
313 | 313 | expect(runtime.finalizeTaskRunByRunId).toHaveBeenCalledTimes(1); |
314 | | -expect(runtime.finalizeTaskRunByRunId).toHaveBeenCalledWith( |
315 | | -expect.objectContaining({ |
316 | | -runId: "codex-thread:child-thread", |
317 | | -status: "succeeded", |
318 | | -terminalSummary: "No user task is specified.", |
319 | | -}), |
320 | | -); |
| 314 | +expect(runtime.finalizeTaskRunByRunId).toHaveBeenCalledWith({ |
| 315 | +runId: "codex-thread:child-thread", |
| 316 | +runtime: "subagent", |
| 317 | +status: "succeeded", |
| 318 | +endedAt: 50_000, |
| 319 | +lastEventAt: 50_000, |
| 320 | +progressSummary: "No user task is specified.", |
| 321 | +terminalSummary: "No user task is specified.", |
| 322 | +}); |
321 | 323 | }); |
322 | 324 | |
323 | 325 | it("normalizes collab agent status spelling from alternate event surfaces", () => { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。