fix(e2e/claude_code): print rate-limit summary on failed compat runs and fix stale run_daily.sh header comments

This commit is contained in:
mateo-berri 2026-07-14 18:14:12 -07:00
parent 5787a28ccb
commit 2a4189f39d
2 changed files with 4 additions and 2 deletions

View file

@ -16,13 +16,13 @@
# compatibility-matrix.json.
# 6. `gh repo clone` litellm-docs, write the JSON to a deterministic
# branch (`compat-matrix/<litellm>-<claude>-<UTC-date>`), commit,
# `git push --force-with-lease`, and `gh pr create`.
# `git push --force`, and `gh pr create`.
#
# Same-day reruns land on the same branch so they update the existing PR
# rather than spawning a new one. If the JSON is byte-identical to the
# docs branch, we skip the push entirely.
#
# Required commands on $PATH: git, uv, gh, jq, curl, claude, npm.
# Required commands on $PATH: git, uv, gh, jq, curl, claude.
# Required state: ~/litellm/litellm checked out (this file lives in it),
# $WORKTREE is created on first run, gh is already authenticated.
#

View file

@ -72,6 +72,7 @@ echo "[run_compat] summary: ${summary_path}"
# what we want — every test in a file shares a single ThreadPoolExecutor
# fanout, and we don't gain anything by splitting it across workers.
start=$(date +%s)
set +e
COMPAT_RESULTS_PATH="${results_path}" \
COMPAT_RATE_LIMIT_SUMMARY_PATH="${summary_path}" \
PATH="$HOME/.local/bin:$PATH" \
@ -88,6 +89,7 @@ uv run pytest \
"$@"
exit_code=$?
set -e
end=$(date +%s)
echo "[run_compat] wall time: $((end - start))s"