litellm/.github
yuneng-jiang 021488ee3c
ci(unit): run the full unit and smoke matrix on every PR on standard runners (#54750)
* ci(unit): run the full unit and smoke matrix on every PR on standard runners

Pull requests ran only the core unit shards and a reduced smoke matrix, and
several of those jobs used billed 16-core runners. Every pull request now runs
the whole unit matrix and the full smoke Python matrix on ubuntu-latest,
aimed at the ten-minute pull request budget.

The slow shards are split along directory and file lines and run with
--dist worksteal, so one heavy test module no longer pins a single worker.
ui-unit is split into typecheck, type tests and six vitest shards. The core
and changed-tests modes and their selector script are removed, along with
the tests-only change category that only they used.

The dev Rust profile now builds without debug info, under a fresh cargo
cache key, which shrinks the target cache that kept the Actions cache full.
The OpenAPI docs gate reuses HEAD's native module for the base tree when the
Rust build inputs match instead of compiling it again, and the base-counts
publisher restores the shared bridge.

The Meta realtime test whose 256 KB parameter became its test id gets short
ids, since printing that id stalled its shard for about four minutes.

* test(ci): check the release-branch lint-runtime skip in the existing unit gate test

* test(ci): expect four vitest workers and the shard flag in the ui-unit step

* ci(cache): treat a stalled uv download cache restore as a miss after two minutes

* ci(unit): skip the Rust toolchain with a prebuilt bridge and unused pytest plugins

Jobs that install the prebuilt Rust bridge never compile Rust, so they only
install the toolchain when the bridge artifact is missing. lint-runtime keeps
it because the OpenAPI gate can build the base branch's native module.

The unit pytest run no longer loads the ddtrace, logfire, langsmith and
codspeed plugins. No unit test uses their fixtures or flags, and the 31 test
files that touch those libraries give the same results with them off.

* ci(unit): load the default pytest plugins in the unit run again

test_explicit_enable_without_an_endpoint_exports_spans_to_console only passes
when a plugin imports OpenTelemetry before pytest starts capturing stdout,
because ConsoleSpanExporter binds sys.stdout at import. With the plugins off
it fails every time, so the plugins stay on until that test stops depending
on import order.

* docs(ci): cut a job's fixed cost before adding shards
2026-11-26 15:29:40 -08:00
..
actions ci(unit): run the full unit and smoke matrix on every PR on standard runners (#54750) 2026-11-26 15:29:40 -08:00
assets/scaledown chore(repo): remove committed Lens review screenshots (#53169) 2026-11-20 12:31:32 -08:00
codeql ci(codeql): run the default suite on full scans and security-extended on PRs (#45149) 2026-10-07 13:24:28 -07:00
e2e-stack test(mcp): replace the live Linear MCP OAuth e2e tests with integration coverage (#47154) 2026-10-17 14:29:59 -07:00
ISSUE_TEMPLATE ci: classify new issues into domain, provider, kind, priority and lift labels 2026-09-18 11:37:55 -07:00
linters chore(lint): flag conditionals with more than 3 boolean clauses via ruff PLR0916 (#51964) 2026-11-15 16:53:38 -05:00
packaging chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
pr-assets feat(customer-portal): complete hierarchy management (#51521) 2026-11-13 17:58:34 +00:00
prompts ci: classify new issues into domain, provider, kind, priority and lift labels 2026-09-18 11:37:55 -07:00
PULL_REQUEST_TEMPLATE docs(github): move Caveats out of Details to right below the handwritten description in the PR template (#54626) 2026-11-26 00:18:58 -08:00
screenshots fix(team_endpoints): auto-add SSO team members to org on move (proxy admin only) (#26377) 2026-04-24 08:36:25 -07:00
scripts ci(unit): run the full unit and smoke matrix on every PR on standard runners (#54750) 2026-11-26 15:29:40 -08:00
semgrep/rules chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08:00
workflows ci(unit): run the full unit and smoke matrix on every PR on standard runners (#54750) 2026-11-26 15:29:40 -08:00
AGENTS.md ci(unit): run the full unit and smoke matrix on every PR on standard runners (#54750) 2026-11-26 15:29:40 -08:00
ci-coverage-allowlist.yml feat(docker): add a FIPS 140-3 proxy image (#50330) 2026-11-19 17:16:05 -08:00
codecov.yml chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
CODEOWNERS feat(spend-logs): rust spend log row builder (#52161) 2026-11-20 16:31:03 -08:00
CONTRIBUTING.md chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
dependabot.yaml chore: fixes 2026-04-05 01:30:57 -07:00
deploy-on-aws.png feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
deploy-on-gcp.png feat: add LiteLLM Rust workspace with Mistral OCR bridge (#31033) 2026-06-23 13:16:47 -07:00
deploy-to-aws.png Add files via upload 2023-10-25 16:33:53 -07:00
FUNDING.yml Update FUNDING.yml 2023-09-22 09:51:35 -07:00
gitguardian.yaml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
grype.yaml chore: move config and docs off the repo root (#50966) 2026-11-11 18:29:35 -08:00
issue-labels.json ci(issue-classifier): name every workflow, script and job after the issue it works on 2026-09-18 11:37:55 -07:00
mutmut-coverage.rc fix(ci): let the mutation workflow find covered lines so it generates mutants 2026-08-25 23:16:40 -07:00
osv-scanner.toml ci(osv): drop withdrawn picomatch GHSA-fc5q-39xc-vjpf ignore (#54673) 2026-11-26 08:55:13 +00:00
SECURITY.md docs: retire cosign.pub and document keyless release signing (#53884) 2026-11-23 19:19:05 +00:00
template.yaml fix(proxy): drop legacy telemetry key from persisted WORKER_CONFIG before initialize 2026-09-20 03:14:11 +00:00