litellm/.github/scripts
yuneng-jiang b3c464d8d3
ci: start fewer jobs per pull request (#54757)
* ci: start fewer jobs per pull request

A typical backend pull request started about 104 runners, and many of them
only checked out the repo to find their files had not changed. The unit
plan job now classifies the change once and skips ui-unit, dashboard-build,
redis-compat, python-310 and helm at the job level when their inputs did not
change, and the whole backend set on docs-only and UI-only pull requests.
unit passed still accepts a skip only for jobs the plan listed. The lint plan
does the same for the ui lint job.

Smoke runs its six core interpreters and both all-extras environments in one
job, installing the venvs in parallel and then running the existing checks in
parallel inside the loopback namespace. dashboard-build moves into the unit
workflow so the plan can gate it on the dashboard sources and the Dockerfile,
its only inputs.

ci-coverage, semgrep and the secret scans move into code-quality, the three
OpenAI SDK versions run one after another in one job, and the docs job's
checks run in lint-runtime. lint-runtime now runs on release-branch pull
requests too, where it skips import safety, the OpenAPI gate and the
code-quality checks and runs only the docs checks the docs job ran there.

* ci: give the smoke job its own uv cache and check CI coverage before the docs checkout

The combined smoke job restored the old py3.15 job's uv cache, an exact key
hit that main would never overwrite, so Python 3.14 built grpcio-tools from
source on every run (4m41s). It now uses its own cache suffix, and each
interpreter starts its checks as soon as its own install finishes.

The coverage assertions in code-quality saw the litellm-docs checkout's
Dockerfile as an unbuilt image, so they now run before that checkout.

* ci(smoke): keep 3.14 and 3.15 on their own cached runners

Those two interpreters build grpcio-tools and other packages from source when
their uv cache misses. Inside the combined job, with an empty cache and six
other installs on four CPUs, 3.14 took 13.9 minutes and 3.15 ran past the
20-minute timeout. They now run as py3.14 and py3.15 again, restoring the
same per-version caches as before, and core-checks keeps 3.10 to 3.13 and
both all-extras environments.

* ci(ui): run the dashboard unit tests on 3 shards instead of 6

* ci(ui): run the dashboard unit tests on 4 shards so the full suite stays under 10 minutes
2026-11-26 18:21:09 -08:00
..
ci ci: start fewer jobs per pull request (#54757) 2026-11-26 18:21:09 -08:00
assert_ci_coverage.py ci(unit): split proxy-infra-root in two, isolate subprocess tests, make its file exclusions take effect (#51316) 2026-11-11 17:39:10 -08:00
assert_secret_absent.py ci: run the integration groups on GitHub Actions (#48985) 2026-10-29 12:50:08 -07:00
assert_workflow_dir_hygiene.py feat(ci): assert .github/workflows holds only workflows, correctly named (#37616) 2026-08-20 21:36:26 +00:00
detect_changes.sh ci: remove CircleCI (#50950) 2026-11-11 15:38:27 -08:00
e2e_egress_sentinel.py ci(e2e): record the e2e suite weekly and replay it on weekdays with zero egress (#38163) 2026-08-24 23:49:03 -04:00
e2e_fetch_fixture_bundle.sh ci(e2e): record the e2e suite weekly and replay it on weekdays with zero egress (#38163) 2026-08-24 23:49:03 -04:00
e2e_pack_fixture_bundle.sh ci(e2e): record the e2e suite weekly and replay it on weekdays with zero egress (#38163) 2026-08-24 23:49:03 -04:00
read_rc_version.py ci: cut rc/<X.Y.0> off main every Friday at 3am Pacific (#43121) 2026-09-24 21:57:20 -07:00
restore_handwritten_description.py ci: restore a PR's handwritten description when an edit resets it to the placeholder (#53486) 2026-11-21 16:50:40 -08:00
run_llm_translation_tests.py
run_merge_smoke.py ci: render lint, unit and smoke checks as <tier> / <job> with one collector per tier (#45480) 2026-10-09 04:28:41 +00:00
scan_keywords.py
select_ui_test_scope.sh
setup_rust_environment.sh chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
smoke_test_native_wheel.py build(model-catalog): ship the cost map inside the native extension (#48907) 2026-10-29 07:55:02 -07:00
uv_sync_with_retries.sh
verify_linux_native_wheel.py feat(callbacks-parallel-request-limiter): port parallel request limiter v3 to a rust callback (#51537) 2026-11-16 22:56:38 -08:00