diff --git a/.github/workflows/openclaw-performance.yml b/.github/workflows/openclaw-performance.yml index 1388790d216..7d713ab516f 100644 --- a/.github/workflows/openclaw-performance.yml +++ b/.github/workflows/openclaw-performance.yml @@ -327,6 +327,7 @@ jobs: run_dir="$SOURCE_PERF_DIR/mock-hello/run-$(printf '%03d' "$run_index")" pnpm openclaw qa suite \ --provider-mode mock-openai \ + --model "mock-openai/${PERFORMANCE_MODEL_ID}" \ --concurrency 1 \ --output-dir "$(realpath --relative-to="$GITHUB_WORKSPACE" "$run_dir")" \ --scenario channel-chat-baseline diff --git a/scripts/openclaw-performance-source-summary.mjs b/scripts/openclaw-performance-source-summary.mjs index 36aa178963a..75af2eeed51 100644 --- a/scripts/openclaw-performance-source-summary.mjs +++ b/scripts/openclaw-performance-source-summary.mjs @@ -160,10 +160,17 @@ function buildCliRows(cli) { formatMs(commandCase.summary?.durationMs?.p50), formatMs(commandCase.summary?.durationMs?.p95), formatMb(commandCase.summary?.maxRssMb?.p95), - commandCase.summary?.exitSummary ?? "n/a", + formatExitSummary(commandCase.summary?.exitSummary), ]); } +function formatExitSummary(value) { + if (typeof value !== "string" || !value) { + return "n/a"; + } + return value.replaceAll(/\b(code:(?:null|-?\d+)|signal:[^,\s]+)x(\d+)\b/g, "$1 x$2"); +} + function buildObservationRows(summary) { return (summary?.observations ?? []).map((observation) => [ observation.kind ?? "unknown",