mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-03 01:38:46 +00:00
When a PR receives a new push, the previous LiteLLM Rust workflow_run gets cancelled. GitHub still fires workflow_run 'completed' for that cancelled run, so the reporter script sees a source workflow_run whose head_sha is the superseded commit while pull_requests[0].head.sha already points at the new tip. The strict equality check bundled with the data-shape validations then throws 'invalid source workflow metadata' and the report release wheel check goes red on every push that supersedes an in-flight rust job. Split the sha equality check out of the shape validation block and handle it like the currentPullRequest.head.sha drift later in the script: log and return instead of throwing. The shape validations for pullRequestNumber, runId, and headSha stay fatal since they still indicate genuine payload corruption. Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| actions | ||
| codeql | ||
| ISSUE_TEMPLATE | ||
| observatory | ||
| screenshots | ||
| scripts | ||
| workflows | ||
| ci-coverage-allowlist.yml | ||
| CODEOWNERS | ||
| dependabot.yaml | ||
| deploy-on-aws.png | ||
| deploy-on-gcp.png | ||
| deploy-to-aws.png | ||
| FUNDING.yml | ||
| mutmut-coverage.rc | ||
| pull_request_template.md | ||
| template.yaml | ||