litellm/.github/workflows
Yujong Lee dc097107b2
Some checks are pending
Cost map pins recheck / rerun-cost-map-guard (push) Waiting to run
LiteLLM Rust DB / db-queries (push) Waiting to run
LiteLLM Rust / rust-lint (push) Waiting to run
LiteLLM Rust / rust-test (push) Waiting to run
LiteLLM Rust / rust-wheel (push) Waiting to run
Terraform Modules / fmt, validate, test (aws) (push) Waiting to run
Terraform Modules / fmt, validate, test (gcp) (push) Waiting to run
Terraform Provider / gofmt, vet, build, test (push) Waiting to run
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Waiting to run
feat(db): add the SQLx pool foundation with the writer pool
NativeDatabase.connect opens a lazy SQLx writer pool from an Endpoint that
Python resolves from the final DATABASE_URL, read the way Prisma reads it:
Unix socket host, sslmode / sslaccept / sslcert with Prisma's verification
rules (prefer + strict asks the server once whether it offers TLS),
sslidentity / sslpassword handed over as PEM, schema, options, pgbouncer mode,
pool_timeout (0 waits forever) and socket_timeout. Options SQLx cannot send
are logged instead of failing boot

ConnectionBudget splits each worker's connection_limit between Prisma and the
native pool, so the budget an operator sized never grows. The Rust share is the
hard-coded RUST_RESERVED_CONNECTIONS and no setting names Rust, SQLx or Prisma.
It is 0 until a ported query needs the pool, so Prisma's URL is exactly what it
was, no native pool opens and nothing connects through SQLx. A connection_limit
that is not a positive integer is never split and goes to Prisma as before.
Once the share is above 0 Prisma keeps at least one connection, and pools are
tagged litellm-prisma and litellm-native in pg_stat_activity. Python keeps
minting RDS IAM and Entra tokens and hands each one to the pool

statement_cache_size sets the native statement cache (Prisma's default 100) and
pgbouncer=true turns it off. sqlx-postgres 0.9.0 still names every statement when
the cache is off, so Statements runs queries unnamed in that case, like Prisma,
until a release carries transact-rs/sqlx#4337. An application_name the operator
set is used on both pools

The SQL query files are pinned to LF so Windows checkouts hash them like .sqlx,
and the crate lists .sqlx in its package include so the core sdist builds offline

crates/db/AGENTS.md tracks parity with the Python Prisma stack

The bridge now links litellm-db, so the editable install compiles its queries.
The Rust DB workflow builds that install from the checked-in .sqlx metadata,
since it runs before the migrations that the online check needs
2026-11-13 16:50:02 +09:00
..
auto-close-duplicates.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
check-schema-sync.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
codeql.yml ci(codeql): run the default suite on full scans and security-extended on PRs (#45149) 2026-10-07 13:24:28 -07:00
codspeed.yml chore(ci): drop litellm_internal_staging and litellm_oss_staging references, main is the only trunk (#42745) 2026-09-23 08:14:11 -07:00
compat-matrix-image.yml feat(docker)!: one shipped image and one entrypoint beside the Dockerfile (#43332) 2026-11-10 18:32:16 -08:00
conventional-commits.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
cost-map-guard.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
cost-map-pins-recheck.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
create-rc-branch.yml ci: cut the weekly rc branch on Monday 3am PT instead of Friday (#49472) 2026-10-31 12:32:23 -07:00
create-release-branch.yml ci(release): create stable/X.Y.x line branch on X.Y.0 tags (#29457) 2026-06-01 15:56:34 -07:00
duplicate_issue_check.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
e2e_record_replay.yml ci(e2e): record the e2e suite weekly and replay it on weekdays with zero egress (#38163) 2026-08-24 23:49:03 -04:00
guard-fork-dependencies.yml chore: move workspace packages under litellm (#51000) 2026-11-12 04:19:57 +00:00
image-scan.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
interactions-spec-canary.yml feat(interactions): forward continuation_token and type requires_continuation so callers can resume a long decode (#50151) 2026-11-05 15:38:44 -08:00
issue-keyword-labeler.yml chore: fixes 2026-04-05 01:30:57 -07:00
issue_classifier.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
issue_fixed_comment.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
issue_label_claude_code.yml ci(issue-classifier): name every workflow, script and job after the issue it works on 2026-09-18 11:37:55 -07:00
issue_label_sync.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
linear-release.yml ci: sync the weekly release cycle with Linear releases (#43636) 2026-09-28 17:00:56 -07:00
mutation-test.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
osv-scan.yml chore: move ui and vscode-extension under litellm and delete docs (#50992) 2026-11-12 04:19:57 +00:00
publish-lint-base-counts.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
root-entry-limit.yml ci: fail when the repo root grows past 15 entries (#51007) 2026-11-12 04:19:58 +00:00
scorecard.yml chore: fixes 2026-04-05 01:30:57 -07:00
spend-logs-guard.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
stale.yml chore: fixes 2026-04-05 01:30:57 -07:00
sync-schema.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
test-e2e-redis-chaos.yml test(e2e): rename load to perf and consolidate the opt-in into E2E_PERF_TESTS (#46077) 2026-10-12 13:54:03 -07:00
test-integration.yml chore: move ui and vscode-extension under litellm and delete docs (#50992) 2026-11-12 04:19:57 +00:00
test-linting.yml ci: stop PR runs from thrashing the Actions cache and stop smoke compiling from source (#51343) 2026-11-11 23:52:32 -08:00
test-mcp-dependency-resolution.yml chore: move scripts and runtime sources under litellm (#51006) 2026-11-12 04:19:57 +00:00
test-merge-smoke.yml ci: stop PR runs from thrashing the Actions cache and stop smoke compiling from source (#51343) 2026-11-11 23:52:32 -08:00
test-rust-db.yml feat(db): add the SQLx pool foundation with the writer pool 2026-11-13 16:50:02 +09:00
test-rust.yml ci: stop PR runs from thrashing the Actions cache and stop smoke compiling from source (#51343) 2026-11-11 23:52:32 -08:00
test-terraform-modules.yml chore: move deployment sources under litellm/deploy (#50981) 2026-11-12 04:19:56 +00:00
test-terraform-provider.yml ci: stop PR runs from thrashing the Actions cache and stop smoke compiling from source (#51343) 2026-11-11 23:52:32 -08:00
test-unit.yml ci: stop PR runs from thrashing the Actions cache and stop smoke compiling from source (#51343) 2026-11-11 23:52:32 -08:00
test-vscode-extension.yml chore: move ui and vscode-extension under litellm and delete docs (#50992) 2026-11-12 04:19:57 +00:00
zizmor.yml ci: run zizmor with --no-ignores and move the spend logs and cost map guards to pull_request (#48947) 2026-10-28 17:44:48 -07:00