litellm/.github/AGENTS.md
yuneng-jiang 20f0c8bc51
ci(lint): run the fast lint checks on pull requests again without compiling Rust (#53421)
code-quality, ci-coverage, semgrep and root-entry-limit moved to main-only to fit the
pull request gate into five minutes. Most of that time was uv sync compiling litellm's
Rust extension, which only 6 of the 44 code-quality checks need.

code-quality now installs only the lint tools and runs its 38 checks 4 at a time through
run_parallel_checks.py. The 6 checks that import litellm move to lint-runtime, which
installs the shared Rust bridge wheel, and lint-runtime now also runs on pushes to main
so those checks keep running there. ci-coverage, semgrep and root-entry-limit run on
every pull request again.
2026-11-21 14:17:30 -08:00

718 B

CI

Integration groups and replica runs remain in workflows/test-integration.yml. Do not duplicate them in another workflow.

CI helpers used by existing workflows live in scripts/ci/. Jobs that need merge bases check out full history. Removing a CI job does not count its tests as covered. List tests that no remaining job invokes explicitly in ci-coverage-allowlist.yml.

A new code-quality check that runs without importing litellm goes in the code-quality job in workflows/test-linting.yml. One that imports litellm goes in lint-runtime in workflows/test-unit.yml, which installs the shared Rust bridge wheel. Neither job compiles Rust, which keeps both inside the five-minute pull request budget.