test(release): accept codex normal status prose

This commit is contained in:
Peter Steinberger
2026-05-09 21:52:40 +01:00
parent b1f333d2bf
commit 7bc2deb0d6
2 changed files with 10 additions and 0 deletions

View File

@@ -132,6 +132,15 @@ describe("gateway codex harness live helpers", () => {
).toBe(true);
});
it("accepts the normal-work status emitted by current codex", () => {
const text =
"Working normally. Current cwd is `/tmp/openclaw-live-codex-harness/workspace/dev`, sandbox is workspace-write, network is restricted, and the current date is 2026-05-09 UTC.";
expect(
EXPECTED_CODEX_STATUS_COMMAND_TEXT.some((expectedText) => text.includes(expectedText)),
).toBe(true);
});
it("accepts the ready status emitted by current codex", () => {
const text = "Ready.";

View File

@@ -91,6 +91,7 @@ export const EXPECTED_CODEX_STATUS_COMMAND_TEXT = [
"Status shown above.",
"No active task is running.",
"No active work is running.",
"Working normally.",
"Ready.",
] as const;