test(codex): accept correlated progress diagnostics

Co-authored-by: jesse-merhi <79823012+jesse-merhi@users.noreply.github.com>
This commit is contained in:
RoboClaw
2026-08-18 12:58:26 +00:00
committed by Roboclaw
parent e27a9b5b07
commit 2489d6ebd7
@@ -3311,7 +3311,11 @@ describe("runCodexAppServerAttempt", () => {
} finally {
stopDiagnostics();
}
expect(diagnosticEvents.map((event) => event.type)).toEqual([
expect(
diagnosticEvents
.filter((event) => event.type.startsWith("tool.execution."))
.map((event) => event.type),
).toEqual([
"tool.execution.started",
"tool.execution.error",
]);
@@ -3367,7 +3371,11 @@ describe("runCodexAppServerAttempt", () => {
} finally {
stopDiagnostics();
}
expect(diagnosticEvents.map((event) => event.type)).toEqual([
expect(
diagnosticEvents
.filter((event) => event.type.startsWith("tool.execution."))
.map((event) => event.type),
).toEqual([
"tool.execution.started",
"tool.execution.completed",
]);