test(ci): accept compact codex status output · openclaw/openclaw@d86ad7a
steipete
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -54,6 +54,13 @@ describe("gateway codex harness live helpers", () => {
|
54 | 54 | expect(isExpectedCodexStatusCommandText(text)).toBe(true); |
55 | 55 | }); |
56 | 56 | |
| 57 | +it("accepts compact session status prose emitted by current codex", () => { |
| 58 | +const text = |
| 59 | +"Session status: running on `openai/gpt-5.5`, context at 24k/272k (9%), no compactions, execution mode `direct`, reasoning `low`, text `low`."; |
| 60 | + |
| 61 | +expect(isExpectedCodexStatusCommandText(text)).toBe(true); |
| 62 | +}); |
| 63 | + |
57 | 64 | it("accepts the current status card emitted by OpenAI Codex", () => { |
58 | 65 | const text = [ |
59 | 66 | "Current session status:", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。