Files
openclaw/extensions/qa-matrix/src/run-config.ts
Josh Avant d5b326523f qa-lab: make live lanes CI-ready for v1 E2E automation (#69122)
* qa-lab: harden CI defaults and failure semantics for live lanes

* qa-lab: add unit tests for suite progress logging defaults

* qa-lab: cover malformed multipass summary edge cases

* qa-lab: share suite summary failure counting helper

* qa-lab: test allow-failures parse wiring and sanitize progress ids

* fix: note qa CI live-lane defaults in changelog (#69122) (thanks @joshavant)
2026-04-19 21:13:27 -05:00

17 lines
579 B
TypeScript

export type QaProviderMode = "mock-openai" | "live-frontier";
export type QaProviderModeInput = QaProviderMode | "live-openai";
export function normalizeQaProviderMode(input: unknown): QaProviderMode {
if (input === undefined || input === null || input === "") {
return "live-frontier";
}
if (input === "mock-openai") {
return "mock-openai";
}
if (input === "live-frontier" || input === "live-openai") {
return "live-frontier";
}
const details = typeof input === "string" ? `: ${input}` : "";
throw new Error(`unknown QA provider mode${details}`);
}