litellm/litellm/scripts
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
..
adaptive_router_demo
ci_cd
db fix(db_scripts): spend logs runbooks repoint dependent views so the old table can be dropped (#50828) 2026-11-23 20:09:54 +00:00
githooks
health_check chore: move LiteLLM's configs and e2e tests off gpt-4o and gpt-4.1 before their 2027-01-14 shutdown (#51800) 2026-11-14 10:50:59 -08:00
lens_assets feat(lens): add key and team tracing controls (#53191) 2026-11-23 17:59:37 +00:00
trace_codegen feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00
auto-close-duplicates.test.ts
auto-close-duplicates.ts
benchmark_anthropic_messages_perf.py
benchmark_chat_completions_perf.py
benchmark_mock.py
benchmark_model_response_creator.py
benchmark_ocr_callbacks.py
benchmark_proxy_vs_provider.py
benchmark_streaming_chunk_overhead.py
build_core_distribution.py fix(packaging): ship the license public key in the litellm-proxy sdist (#52970) 2026-11-19 23:18:32 +00:00
check_mcp_operation_boundary.py
check_mcp_sdk_install.py
check_openapi_docs.py feat(proxy): support Cursor CLI subscriptions (#52205) 2026-11-16 21:49:12 -08:00
check_schema_compatibility.py feat(proxy): customer budget rollup, reset on the budget row's window, named templates, team overrides, multi-window limits and pause_allow_increase (#51582) 2026-11-13 16:05:35 +00:00
check_test_quality.py
check_type_discipline.py fix(router): make the constructor stub work for mypy and guard it in CI (#50354) 2026-11-22 21:25:00 +00:00
classify-issue.test.ts
classify-issue.ts
comment-fixed-issue.test.ts
comment-fixed-issue.ts
create_litellm_branch.ps1
create_litellm_branch.sh
create_team_key_and_submit_guardrail.sh
default_branch.py
eval_compression.py
flag-duplicate-issue.test.ts
flag-duplicate-issue.ts
gate_slot_lock.py
generate_provider_endpoints_support.py
generate_trace_types.py feat(proxy): send gateway model calls to Lens as traces when the Lens store is connected (#53042) 2026-11-20 10:12:08 -08:00
install-cli.sh
install.sh chore: move LiteLLM's configs and e2e tests off gpt-4o and gpt-4.1 before their 2027-01-14 shutdown (#51800) 2026-11-14 10:50:59 -08:00
install_git_hooks.sh
issue-labels.ts
label-issue.test.ts
label-issue.ts
lint_base_counts.py
lint_config.py fix(lint_config): check model_info and report settings a model needs (#54290) 2026-11-25 00:11:17 +00:00
mock_bedrock_passthrough_target.py
mock_grayswan_timeout_server.py refactor(types): give untyped kwargs and args parameters proven types in 36 files (#54203) 2026-11-24 10:51:54 -08:00
mutation_report.py
openapi_docs_gate.py ci(unit): run the full unit and smoke matrix on every PR on standard runners (#54750) 2026-11-26 15:29:40 -08:00
pre_commit_lint.sh fix(router): make the constructor stub work for mypy and guard it in CI (#50354) 2026-11-22 21:25:00 +00:00
prisma_generate_if_needed.py
quickstart.ps1
quickstart.sh
ruff_strict_gate.py
seed_request_logs.py
seed_tracing_fixtures.py feat(lens): show the Lens UI served by the connected Lens in the dashboard (#53473) 2026-11-21 19:55:54 -08:00
sync-issue-labels.test.ts
sync-issue-labels.ts
test_agent_mcp_endpoints.sh
test_guardrails_register_endpoints.sh
test_quality_gate.py
test_tool_allowlist_script.py
tpm_headline_test.sh
type_check_gate.py ci: fit the pull request gate into five minutes (#52660) 2026-11-18 14:41:04 -08:00
type_discipline_gate.py
verify_adaptive_router.py
with_dashboard_node.sh