mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
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:
parent
5787a28ccb
commit
2a4189f39d
2 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue