test(release): accept codex idle-ready status · openclaw/openclaw@c8a0296
steipete
·
2026-05-10
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -149,6 +149,14 @@ describe("gateway codex harness live helpers", () => {
|
149 | 149 | ).toBe(true); |
150 | 150 | }); |
151 | 151 | |
| 152 | +it("accepts the idle-ready status emitted by current codex", () => { |
| 153 | +const text = "Idle and ready."; |
| 154 | + |
| 155 | +expect( |
| 156 | +EXPECTED_CODEX_STATUS_COMMAND_TEXT.some((expectedText) => text.includes(expectedText)), |
| 157 | +).toBe(true); |
| 158 | +}); |
| 159 | + |
152 | 160 | it("rejects status prose for a different codex session", () => { |
153 | 161 | const text = |
154 | 162 | "OpenClaw is running on `openai/gpt-5.5` with low reasoning/text settings. Context is at `22k/272k` tokens, no compactions, and the current session is `agent:dev:other`."; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。