Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
178 commits
Select commit Hold shift + click to select a range
006d481
[Fix] Remove neon CLI dependency and pin all JS dependencies
yuneng-berri Apr 1, 2026
f626587
feat(teams): resolve access group models/MCPs/agents in team endpoints
ryan-crabbe-berri Apr 2, 2026
068e6e2
Merge pull request #24951 from BerriAI/litellm_remove_neon_cli
yuneng-berri Apr 2, 2026
cae8613
Announce April Townhall (#25021)
krrish-berri-2 Apr 2, 2026
51af6fe
[Infra] Harden supply chain: remove unused scripts, add pip binary-on…
yuneng-berri Apr 2, 2026
9c5fda4
Merge pull request #25023 from BerriAI/litellm_/fervent-noether
yuneng-berri Apr 2, 2026
bbe708b
perf(teams): single-pass access group resolution + asyncio.gather in …
ryan-crabbe-berri Apr 2, 2026
06df8ed
docs: cleanup (#25026)
krrish-berri-2 Apr 2, 2026
59b0910
docs: add default_team_params to config reference and update examples
ryan-crabbe-berri Apr 2, 2026
b7ccc5b
[Test Fix] fix gov pricing tests (#25022)
clfhhc Apr 2, 2026
c19a63e
docs: clarify that models sub-field only applies to SSO auto-created …
ryan-crabbe-berri Apr 2, 2026
3ad953e
bump: version 0.4.62 → 0.4.63
yuneng-berri Apr 2, 2026
f0bd334
fix: lazy import get_access_object to break cyclic import + short-cir…
ryan-crabbe-berri Apr 2, 2026
f11cdf7
Merge pull request #25034 from BerriAI/extras_apr2
shin-berri Apr 2, 2026
3604b60
[Infra] Merge internal dev branch with main (#25036)
yuneng-berri Apr 2, 2026
7a27434
feat(ui): add submit guardrail form to Submitted Guardrails tab
ryan-crabbe-berri Apr 3, 2026
fa629c3
[Fix] Dockerfile.non_root: install node-gyp for npm ci
yuneng-berri Apr 3, 2026
d4813a2
adding poetry lock
yuneng-berri Apr 3, 2026
fe8cc10
feat: wire submit guardrail form to POST /guardrails/register
ryan-crabbe-berri Apr 3, 2026
4094801
Merge pull request #25037 from BerriAI/litellm_fix_non_root_docker_build
yuneng-berri Apr 3, 2026
0d60285
feat: wire guardrail submission to backend and allow internal user ac…
ryan-crabbe-berri Apr 3, 2026
adb7454
fix: address review feedback on guardrail registration
ryan-crabbe-berri Apr 3, 2026
ee3e848
allow hashed token_id in /key/update endpoint (#24969)
joereyna Apr 3, 2026
1e5b79d
[Bedrock] Fix Anthropic file_id support - async path + document URL→b…
Apr 3, 2026
52a596d
Bedrock Model Updates 2026-03-26 (#24645)
marty-sullivan Apr 3, 2026
a6dfd02
fix(guardrails): return HTTP 400 instead of 500 for Model Armor strea…
michelligabriele Apr 3, 2026
50f4fde
bump: version 1.83.0 → 1.83.1 (#25054)
yuneng-berri Apr 3, 2026
d4a3a5e
fix gpt-5.4 pricing (#24748)
mubashir1osmani Apr 3, 2026
a287154
fix(ui): migrate guardrails tabs to antd and fix internal user view
ryan-crabbe-berri Apr 3, 2026
6cc56f5
Fix broken codeql-action SHA in scorecard workflow
joereyna Apr 3, 2026
5a8f910
add: making organizations a select instead of read only badges
ryan-crabbe-berri Apr 3, 2026
1bb726a
fix(ui): only send organization_id when changed and use raw initial v…
ryan-crabbe-berri Apr 3, 2026
fc885af
docs(blog): add security hardening April 2026 post (#25101) (#25102)
Apr 3, 2026
cd7b262
fix(ui): add paginated team search to usage page filter
ryan-crabbe-berri Apr 3, 2026
1533f68
fix(ui): fix imports and update placeholder for team multi select
ryan-crabbe-berri Apr 3, 2026
c6aa3ea
Litellm ishaan april1 try2 (#25110)
Apr 3, 2026
a86f19f
bump: version 1.83.1 → 1.83.2
ishaanj-berri Apr 3, 2026
48d4dec
Merge pull request #25112 from BerriAI/worktree-vast-swinging-goose
yuneng-berri Apr 3, 2026
96b660b
fix(ui): wire team_id filter to key alias dropdown on Virtual Keys tab
ryan-crabbe-berri Apr 3, 2026
1521004
Merge pull request #25114 from BerriAI/litellm_fix-virtual-keys-team-…
ryan-crabbe-berri Apr 3, 2026
0575c3f
Merge pull request #25107 from BerriAI/litellm_fix-team-id-search-filter
ryan-crabbe-berri Apr 3, 2026
20077fe
Merge pull request #25095 from BerriAI/litellm_fix-ui-update-org-teams
ryan-crabbe-berri Apr 3, 2026
eb780a8
Merge pull request #25032 from BerriAI/litellm_docs-default-team-params
ryan-crabbe-berri Apr 3, 2026
38f6c94
fix(tests): correct mock targets in TestResolveAccessGroupResources
ryan-crabbe-berri Apr 3, 2026
ea32cb5
fix: use direct attribute access with or [] fallback in _resolve_acce…
ryan-crabbe-berri Apr 3, 2026
3bdd042
fix(ui): remove model source legend from team detail view
ryan-crabbe-berri Apr 3, 2026
bb03a11
fix(ui): add missing access_group fields to TeamData.team_info type
ryan-crabbe-berri Apr 3, 2026
93369bf
perf(teams): batch-fetch access groups in single DB query
ryan-crabbe-berri Apr 4, 2026
0331fb5
Merge pull request #25027 from BerriAI/litellm_add-access-group-to-model
ryan-crabbe-berri Apr 4, 2026
127149c
bump litellm-proxy-extras to 0.4.64 (#25121)
Apr 4, 2026
f74cd07
feat(proxy): add project-level guardrails support (#25087)
michelligabriele Apr 4, 2026
a292add
fix(a2a): preserve JSON-RPC envelope for AgentCore A2A-native agents …
michelligabriele Apr 4, 2026
4c1ef42
feat(ui): add guardrails support to project create/edit forms (#25100)
michelligabriele Apr 4, 2026
a5322c6
Merge pull request #24815 from joereyna/feat/re-add-codecov-ci
yuneng-berri Apr 4, 2026
8a0ddd4
[Test] UI - Add Playwright E2E tests with local PostgreSQL
yuneng-berri Apr 4, 2026
f53db7f
Merge remote-tracking branch 'origin/main' into litellm_ui_e2e_psql_pr
yuneng-berri Apr 4, 2026
ce219fc
refactor(proxy): extract helpers to fix PLR0915 violations
ryan-crabbe-berri Apr 4, 2026
866c4a2
test(ui): update tests to match new team_id / access-group signatures
ryan-crabbe-berri Apr 4, 2026
c495acd
fix(ui): send null (not '') for cleared organization_id on team update
ryan-crabbe-berri Apr 4, 2026
ad203dc
poetry
ryan-crabbe-berri Apr 4, 2026
ad81892
Merge remote-tracking branch 'origin/main' into litellm_ryan-march-31
ryan-crabbe-berri Apr 4, 2026
76c0591
chore: regen poetry.lock for litellm-proxy-extras 0.4.64 bump
ryan-crabbe-berri Apr 4, 2026
fa9e3d8
Merge pull request #25119 from BerriAI/litellm_ryan-march-31
yuneng-berri Apr 4, 2026
91d8873
fix(ui): don't overwrite vector_store_ids with empty array on model edit
ryan-crabbe-berri Apr 4, 2026
fba3bbe
test(ui): add regression test for vector_store_ids edit-model bug
ryan-crabbe-berri Apr 4, 2026
1e414b5
chore: update Next.js build artifacts (2026-04-04 17:55 UTC, node v22…
yuneng-berri Apr 4, 2026
445c1fa
fix(ui): preserve clear-vector-stores intent on model edit
ryan-crabbe-berri Apr 4, 2026
c898edb
Merge pull request #25136 from BerriAI/ui_build_apr4
yuneng-berri Apr 4, 2026
baeda23
feat(ui): expose Azure Entra ID credential fields in provider form
ryan-crabbe-berri Apr 4, 2026
2488639
Merge pull request #25133 from BerriAI/litellm_fix-vector-store-id-mo…
yuneng-berri Apr 4, 2026
4c06e43
Litellm ishaan april2 (#25113)
Apr 4, 2026
11a43d6
feat(ui): add per-model rate limits to team edit/info views
ryan-crabbe-berri Apr 4, 2026
f0bbd41
fix(ui): require TPM or RPM when adding a per-model team rate limit
ryan-crabbe-berri Apr 4, 2026
9dca431
fix(ui): use entity key for export instead of extracting team_id from…
ryan-crabbe-berri Mar 31, 2026
08df864
fix(docker): include enterprise bridge in non-root runtime image (#24…
Sameerlite Apr 4, 2026
8e6300f
fix: replace unsupported Prisma JSON path filter in _get_team_deploym…
yuneng-berri Apr 4, 2026
566a041
test: add unit tests for _get_team_deployments filtering logic
yuneng-berri Apr 4, 2026
5452692
test(ui): align EntityUsageExport tests with entity-key display logic
ryan-crabbe-berri Apr 4, 2026
b53cfe7
Litellm ishaan march30 (#24887) (#25151)
Apr 4, 2026
90b9a2f
Merge pull request #25152 from BerriAI/litellm_fix_team_model_update_…
yuneng-berri Apr 4, 2026
8d9e5ff
Litellm team model group name routing fix (#25148) (#25154)
Apr 4, 2026
ab9c875
feat: scope guardrail submissions to team members
ryan-crabbe-berri Apr 4, 2026
5187629
Litellm ishaan april4 2 (#25150)
Apr 4, 2026
79064a6
fix: allow non-admin access to /guardrails/submissions and fix regist…
ryan-crabbe-berri Apr 4, 2026
8b8f5ce
Merge pull request #25137 from BerriAI/litellm_feat-azure-entra-id
ryan-crabbe-berri Apr 4, 2026
cc867f1
Merge pull request #25144 from BerriAI/litellm_feat-per-team-per-mode…
ryan-crabbe-berri Apr 4, 2026
55734ee
Merge pull request #25153 from BerriAI/litellm_fix-export
ryan-crabbe-berri Apr 4, 2026
c663926
Merge remote-tracking branch 'origin/main' into litellm_feat-add-guar…
ryan-crabbe-berri Apr 4, 2026
693ad49
Litellm ishaan march23 - MCP Toolsets + GCP Caching fix (#25146) (#2…
Apr 4, 2026
a36fe70
test(ui): fix guardrails.test.tsx after antd Tabs migration
ryan-crabbe-berri Apr 4, 2026
e87f6ca
chore: poetry lock
ryan-crabbe-berri Apr 4, 2026
61b2952
cherry-pick: tag query fix + MCP metadata support (#25145)
Apr 4, 2026
8ecbf75
Merge pull request #25038 from BerriAI/litellm_feat-add-guardrail
ryan-crabbe-berri Apr 4, 2026
6bc4b46
Merge pull request #25156 from BerriAI/litellm_ryan-apr-4
ryan-crabbe-berri Apr 4, 2026
3e90565
chore: update Next.js build artifacts (2026-04-04 23:58 UTC, node v22…
yuneng-berri Apr 5, 2026
eed8a38
bump: version 1.83.2 → 1.83.3 (#25162)
yuneng-berri Apr 5, 2026
d2102e9
bump litellm-proxy-extras to 0.4.65 (#25163)
Apr 5, 2026
1e66050
bump litellm-enterprise to 0.1.36 (#25164)
Apr 5, 2026
cf045dc
fix: regenerate poetry.lock to match pyproject.toml (#25169)
Apr 5, 2026
9088b46
Litellm docs 1 83 3 (#25166)
Apr 5, 2026
c5686b9
[Nit] Small docs fix, fixing img + folder name (#25171)
Apr 5, 2026
d251238
docs: week 1 checklist (#25083)
mubashir1osmani Apr 5, 2026
1d3fb58
chore: fixes
yuneng-berri Apr 5, 2026
39c1042
[Docs] Add cosign Docker image verification steps to security blog po…
yuneng-berri Apr 6, 2026
a60e19a
Remove flaky proxy_e2e_azure_batches_tests CI workflow (#25247)
yuneng-berri Apr 6, 2026
d2d99aa
[Docs] Enforce Black Formatting in Contributor Docs (#25135)
yuneng-berri Apr 6, 2026
d132b1b
[Infra] Remove Redundant Matrix Unit Test Workflow (#25251)
yuneng-berri Apr 6, 2026
fdd2672
feat: add POST /team/permissions_bulk_update endpoint
ryan-crabbe-berri Apr 7, 2026
3ac61a5
Merge pull request #25239 from BerriAI/litellm_backfill-team-member-p…
ryan-crabbe-berri Apr 7, 2026
7a9a9f0
fix: batch-limit stale managed object cleanup to prevent 300K row UPD…
Apr 7, 2026
4bcd4be
bump litellm-enterprise to 0.1.37 (#25265)
Apr 7, 2026
03d9746
bump litellm version to 1.83.4 (#25266)
Apr 7, 2026
3056558
[Infra] Pin cosign.pub verification to initial commit hash
yuneng-berri Apr 7, 2026
965879e
fix: address Greptile review comments
yuneng-berri Apr 7, 2026
54f4be6
Merge remote-tracking branch 'origin/main' into litellm_ui_e2e_psql_pr
yuneng-berri Apr 7, 2026
2bb7387
Litellm aws gov cloud mode support (#25254)
shivamrawat1 Apr 7, 2026
8c16bc0
Merge remote-tracking branch 'origin/main' into litellm_ui_e2e_psql_pr
yuneng-berri Apr 7, 2026
48a6823
fix(test): update check_responses_cost tests for _expire_stale_rows
yuneng-berri Apr 7, 2026
730ba0f
Merge pull request #25299 from BerriAI/litellm_fix_check_responses_co…
yuneng-berri Apr 7, 2026
ce75fde
Merge remote main into litellm_pin_cosign_pub_to_commit
yuneng-berri Apr 7, 2026
184050e
Merge remote main into litellm_ui_e2e_psql_pr
yuneng-berri Apr 7, 2026
23e1a7d
Merge pull request #25126 from BerriAI/litellm_ui_e2e_psql_pr
yuneng-berri Apr 7, 2026
537727f
[Fix] Dockerfile.non_root: handle missing .npmrc gracefully
yuneng-berri Apr 7, 2026
f3bc200
Merge pull request #25307 from BerriAI/litellm_/fix_npmrc_dockerfile
yuneng-berri Apr 7, 2026
bf8b615
fix(auth): support selective jwt override oauth2 routing (#25252)
milan-berri Apr 7, 2026
021429b
[Refactor] Align /v2/key/info response handling with v1
yuneng-berri Apr 7, 2026
096893e
Merge pull request #25273 from BerriAI/litellm_pin_cosign_pub_to_commit
yuneng-berri Apr 7, 2026
08f34aa
Merge pull request #25313 from BerriAI/litellm_align_v2_key_info_with_v1
yuneng-berri Apr 7, 2026
41407d0
Fix node-gyp symlink path after npm upgrade in Dockerfile
joereyna Apr 3, 2026
5f49f29
Merge pull request #25048 from joereyna/fix/dockerfile-node-gyp-path
yuneng-berri Apr 8, 2026
bd327db
bump: version 1.83.4 → 1.83.5
yuneng-berri Apr 8, 2026
62757ff
Merge pull request #25316 from BerriAI/litellm_yj_apr7
shin-berri Apr 8, 2026
7b7f304
fix(mcp): block arbitrary command execution via stdio transport
Sameerlite Mar 26, 2026
ad31e79
fix(mcp): address Greptile review feedback
Sameerlite Mar 26, 2026
69be5be
fix(mcp): move inline imports to module level and enforce stdio allow…
Sameerlite Apr 8, 2026
65829f7
docs: document LITELLM_MCP_STDIO_EXTRA_COMMANDS in env reference
Sameerlite Apr 8, 2026
3a02c0a
[Infra] Migrate Redis caching tests from GHA to CircleCI
yuneng-berri Apr 8, 2026
0104b60
[Infra] Add redis_caching_coverage to coverage combine command
yuneng-berri Apr 8, 2026
2dac54b
Merge pull request #25343 from BerriAI/litellm_fix-mcp-stdio-rce3
yuneng-berri Apr 8, 2026
7ba0c69
[Fix] Install pytest-rerunfailures in redis caching CircleCI job
yuneng-berri Apr 8, 2026
d09d98a
[Feature] E2E UI tests: proxy-admin team and key management with CI i…
yuneng-berri Apr 8, 2026
a8f4f46
[Fix] Add missing test fixtures and address review feedback
yuneng-berri Apr 8, 2026
ac9ebdf
[Fix] Rename CI job to e2e_ui_testing and remove duplicate old job de…
yuneng-berri Apr 8, 2026
4ee7d42
[Fix] Restructure HTML files after UI build so extensionless routes w…
yuneng-berri Apr 8, 2026
467dbc4
[Fix] Remove old broken key tests superseded by proxy-admin/keys.spec.ts
yuneng-berri Apr 8, 2026
d871bce
Merge pull request #25354 from BerriAI/litellm_migrate_redis_tests_to…
shin-berri Apr 8, 2026
072d410
Merge pull request #25365 from BerriAI/litellm_e2e_ui_tests
yuneng-berri Apr 8, 2026
a881ac5
[Fix] UI: resolve CodeQL security alerts and Dockerfile.health_check …
yuneng-berri Apr 9, 2026
36bf337
fix(docker): add non-root USER and HEALTHCHECK to Dockerfile.custom_ui
yuneng-berri Apr 2, 2026
70a5c27
[Fix] Address review feedback on storage utility and Dockerfiles
yuneng-berri Apr 9, 2026
ac29118
Update docker/Dockerfile.custom_ui
yuneng-berri Apr 9, 2026
233870d
Add Ramp as a built-in generic API callback with docs (#23769)
kedarthakkar Apr 9, 2026
3a4ed48
fix(router): don't create litellm_metadata for non-Responses API call…
Sameerlite Apr 9, 2026
6e6f5be
feat(triton): add embedding usage estimation for self-hosted response…
Sameerlite Apr 9, 2026
6a0e0ce
fix(router): pass custom_llm_provider to get_llm_provider for unprefi…
Sameerlite Apr 9, 2026
f42ffed
Litellm oss staging 04 02 2026 p1 (#25055)
krrish-berri-2 Apr 9, 2026
97f722f
feat(cost): add baseten model api pricing entries (#25358)
Sameerlite Apr 9, 2026
20ed120
[Fix] Let setSecureItem propagate storage errors to callers
yuneng-berri Apr 9, 2026
cd9c511
feat(proxy): add credential overrides per team/project via model_conf…
michelligabriele Apr 9, 2026
f6dde29
fix(responses-ws): append ?model= to backend WebSocket URL
joereyna Apr 9, 2026
3ac4333
fix(responses-ws): use urllib.parse to append model param, fix test m…
joereyna Apr 9, 2026
3a6db70
docs: add Docker Image Security Guide for cosign verification and dep…
krrish-berri-2 Apr 9, 2026
ce2add3
feat(mcp): add per-user OAuth token storage for interactive MCP flows
csoni-cweave Apr 9, 2026
1571f5e
fix(test): mock headers in test_completion_fine_tuned_model
joereyna Apr 9, 2026
afd46e7
format vertex test file
joereyna Apr 9, 2026
e7551a1
Merge pull request #25444 from joereyna/litellm_fix_vertex_fine_tuned…
yuneng-berri Apr 10, 2026
2c0d20b
Merge pull request #25441 from csoni-cweave/per-user-mcp-oauth-token
Apr 10, 2026
ce75598
Merge pull request #25384 from BerriAI/litellm_/bold-pare
yuneng-berri Apr 10, 2026
3a316b9
[Test] UI - Unit tests: raise global vitest timeout and remove per-te…
yuneng-berri Apr 10, 2026
aa0fa10
Merge pull request #25437 from joereyna/litellm_fix_responses_websock…
yuneng-berri Apr 10, 2026
92dbd2c
address greptile review feedback (greploop iteration 1)
yuneng-berri Apr 10, 2026
ce0b57b
[Docs] Add missing MCP per-user token env vars to config_settings
yuneng-berri Apr 10, 2026
42e5583
Merge pull request #25471 from BerriAI/litellm_doc_mcp_per_user_token…
yuneng-berri Apr 10, 2026
c7f610c
Merge remote-tracking branch 'origin/main' into litellm_/compassionat…
yuneng-berri Apr 10, 2026
9e6d2d2
Merge pull request #25468 from BerriAI/litellm_/compassionate-shannon
yuneng-berri Apr 10, 2026
26e99f2
refactor: consolidate route auth for UI and API tokens
ryan-crabbe-berri Apr 10, 2026
3af7de4
retain ui_routes enum alias for JWT config backwards compatibility
ryan-crabbe-berri Apr 10, 2026
d0e347a
Merge pull request #25473 from BerriAI/litellm_auth_rbac_cleanup
yuneng-berri Apr 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
413 changes: 176 additions & 237 deletions .circleci/config.yml

Large diffs are not rendered by default.

48 changes: 47 additions & 1 deletion .github/workflows/_test-unit-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ on:
required: false
type: number
default: 10
artifact-name:
description: "Unique name for the coverage artifact (must be unique per run)"
required: true
type: string

permissions:
contents: read
Expand Down Expand Up @@ -93,4 +97,46 @@ jobs:
--reruns "${RERUNS}" \
--reruns-delay 1 \
--dist=loadscope \
--durations=20
--durations=20 \
--cov=litellm \
--cov-report=xml:coverage.xml \
--cov-config=pyproject.toml

- name: Save coverage report
if: always()
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: coverage-${{ inputs.artifact-name }}-${{ github.run_id }}-${{ github.run_attempt }}
path: coverage.xml
retention-days: 1

upload-coverage:
name: Upload coverage to Codecov
needs: run
if: always()
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
pull-requests: write

steps:
- name: Checkout code
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
persist-credentials: false

- name: Download coverage report
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
with:
pattern: coverage-${{ inputs.artifact-name }}-${{ github.run_id }}-${{ github.run_attempt }}
path: coverage-reports
merge-multiple: true

- name: Upload to Codecov
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5.5.4
with:
use_oidc: true
directory: coverage-reports
root_dir: ${{ github.workspace }}
fail_ci_if_error: false
71 changes: 52 additions & 19 deletions .github/workflows/_test-unit-services-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,17 @@ on:
required: false
type: number
default: 10
enable-redis:
description: "Pass Redis Cloud credentials to tests via REDIS_HOST/PORT/PASSWORD env vars"
required: false
type: boolean
default: false
enable-postgres:
description: "Start a local Postgres service container and run Prisma migrations"
required: false
type: boolean
default: false
secrets:
REDIS_HOST:
required: false
REDIS_PORT:
required: false
REDIS_PASSWORD:
artifact-name:
description: "Unique name for the coverage artifact (must be unique per run)"
required: false
type: string
default: "run"
secrets:
DATABASE_URL:
required: false
POSTGRES_USER:
Expand All @@ -61,11 +55,8 @@ jobs:
timeout-minutes: ${{ inputs.timeout-minutes }}
# Environment is derived from the enable-* flags, not caller-controllable.
# This prevents callers from passing arbitrary environment names to bypass secret scoping.
# Note: Postgres service container always starts (GHA limitation), so any Redis job
# also needs Postgres secrets → uses integration-redis-postgres, not integration-redis.
environment: >-
${{
inputs.enable-redis && 'integration-redis-postgres' ||
inputs.enable-postgres && 'integration-postgres' ||
''
}}
Expand Down Expand Up @@ -141,17 +132,17 @@ jobs:
WORKERS: ${{ inputs.workers }}
RERUNS: ${{ inputs.reruns }}
DATABASE_URL: ${{ inputs.enable-postgres && secrets.DATABASE_URL || '' }}
REDIS_HOST: ${{ inputs.enable-redis && secrets.REDIS_HOST || '' }}
REDIS_PORT: ${{ inputs.enable-redis && secrets.REDIS_PORT || '' }}
REDIS_PASSWORD: ${{ inputs.enable-redis && secrets.REDIS_PASSWORD || '' }}
run: |
if [ "${WORKERS}" = "0" ]; then
poetry run pytest ${TEST_PATH:?} \
--tb=short -vv \
--maxfail="${MAX_FAILURES}" \
--reruns "${RERUNS}" \
--reruns-delay 1 \
--durations=20
--durations=20 \
--cov=litellm \
--cov-report=xml:coverage.xml \
--cov-config=pyproject.toml
else
poetry run pytest ${TEST_PATH:?} \
--tb=short -vv \
Expand All @@ -160,5 +151,47 @@ jobs:
--reruns "${RERUNS}" \
--reruns-delay 1 \
--dist=loadscope \
--durations=20
--durations=20 \
--cov=litellm \
--cov-report=xml:coverage.xml \
--cov-config=pyproject.toml
fi

- name: Save coverage report
if: always()
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
with:
name: coverage-${{ inputs.artifact-name }}-${{ github.run_id }}-${{ github.run_attempt }}
path: coverage.xml
retention-days: 1

upload-coverage:
name: Upload coverage to Codecov
needs: run
if: always()
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
pull-requests: write

steps:
- name: Checkout code
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with:
persist-credentials: false

- name: Download coverage report
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
with:
pattern: coverage-${{ inputs.artifact-name }}-${{ github.run_id }}-${{ github.run_attempt }}
path: coverage-reports
merge-multiple: true

- name: Upload to Codecov
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5.5.4
with:
use_oidc: true
directory: coverage-reports
root_dir: ${{ github.workspace }}
fail_ci_if_error: false
16 changes: 15 additions & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,21 @@ jobs:
const cosignSection = [
`## Verify Docker Image Signature`,
``,
`All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). To verify the integrity of an image before deploying:`,
`All LiteLLM Docker images are signed with [cosign](https://docs.sigstore.dev/cosign/overview/). Every release is signed with the same key introduced in [commit \`0112e53\`](https://github.com/BerriAI/litellm/commit/0112e53046018d726492c814b3644b7d376029d0).`,
``,
`**Verify using the pinned commit hash (recommended):**`,
``,
`A commit hash is cryptographically immutable, so this is the strongest way to ensure you are using the original signing key:`,
``,
'```bash',
`cosign verify \\`,
` --key https://raw.githubusercontent.com/BerriAI/litellm/0112e53046018d726492c814b3644b7d376029d0/cosign.pub \\`,
` ghcr.io/berriai/litellm:${tag}`,
'```',
``,
`**Verify using the release tag (convenience):**`,
``,
`Tags are protected in this repository and resolve to the same key. This option is easier to read but relies on tag protection rules:`,
``,
'```bash',
`cosign verify \\`,
Expand Down
Empty file modified .github/workflows/run_llm_translation_tests.py
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
retention-days: 5

- name: Upload to code scanning
uses: github/codeql-action/upload-sarif@c10b806170c8ee63ea24152429041b5624f0baf5 # v4.35.1
uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
with:
sarif_file: results.sarif
Loading
Loading