From 5146b0f5b8806882cb6b250aa1c3131fe3b3ee99 Mon Sep 17 00:00:00 2001 From: Stephen Benjamin Date: Tue, 2 Jun 2026 10:11:58 -0400 Subject: [PATCH] ci: copy eval report and summary as standalone artifacts Copy report.html as eval-report-summary.html so prow renders the HTML lens, and copy summary.yaml and run_result.json for quick access without untarring eval-runs.tar.gz. Co-Authored-By: Claude Opus 4.6 --- .../claude/agent-eval/openshift-claude-agent-eval-commands.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci-operator/step-registry/openshift/claude/agent-eval/openshift-claude-agent-eval-commands.sh b/ci-operator/step-registry/openshift/claude/agent-eval/openshift-claude-agent-eval-commands.sh index 93c60b7ad9af7..fba19a6a71457 100755 --- a/ci-operator/step-registry/openshift/claude/agent-eval/openshift-claude-agent-eval-commands.sh +++ b/ci-operator/step-registry/openshift/claude/agent-eval/openshift-claude-agent-eval-commands.sh @@ -65,6 +65,9 @@ copy_artifacts() { echo "Copying eval artifacts..." RUNS_DIR="${AGENT_EVAL_RUNS_DIR:-eval/runs}" if [[ -d "${RUNS_DIR}" ]]; then + find "${RUNS_DIR}" -name "report.html" -exec cp {} "${ARTIFACT_DIR}/eval-report-summary.html" \; 2>/dev/null || true + find "${RUNS_DIR}" -name "summary.yaml" -exec cp {} "${ARTIFACT_DIR}/" \; 2>/dev/null || true + find "${RUNS_DIR}" -name "run_result.json" -exec cp {} "${ARTIFACT_DIR}/" \; 2>/dev/null || true tar -czf "${ARTIFACT_DIR}/eval-runs.tar.gz" "${RUNS_DIR}/" 2>/dev/null || true fi