mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
* fix(ci): make every remaining CI checkout shallow PR #35982 only covered the lint and budget-ratchet jobs, so secret-scan kept spending minutes fetching every branch inside its 5 minute timeout and PRs kept getting cancelled. The UI lint and UI unit jobs carried the same fetch-depth 0 checkout secret-scan now checks out at depth 1, runs the hardcoded-secret pytest without building the project environment, and lets the ggshield step deepen history itself when a key is configured. UI lint resolves the merge base through the API instead of local history. UI unit tests compute the changed files the same way and feed them to vitest related, because vitest --changed does a three-dot diff that silently selects zero tests on a shallow clone The daily branch creation workflows also did full checkouts, then failed every run since persist-credentials: false left git push with no credentials. They now create the ref through the GitHub API without a checkout at all * fix(ci): feed deleted UI files into vitest related selection vitest --changed fed git's full change list to the related filter, deletions included, so a deletion-only dashboard PR still selected the tests importing the removed files. Keep that behavior by dropping the diff filter and existence guard; vitest resolves nonexistent paths fine and --passWithNoTests covers the nothing-related case |
||
|---|---|---|
| .. | ||
| actions | ||
| codeql | ||
| ISSUE_TEMPLATE | ||
| observatory | ||
| screenshots | ||
| scripts | ||
| workflows | ||
| CODEOWNERS | ||
| dependabot.yaml | ||
| deploy-on-aws.png | ||
| deploy-on-gcp.png | ||
| deploy-to-aws.png | ||
| FUNDING.yml | ||
| pull_request_template.md | ||
| template.yaml | ||