mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
* chore(codecov): add Batches, Videos, and Realtime components Define per-feature Codecov components so PR comments track coverage for batch API, video generation, and realtime streaming paths. Co-authored-by: Cursor <cursoragent@cursor.com> * chore(codecov): use wildcard path for Batches proxy component Align batches_endpoints glob with Videos, Realtime, and Proxy_Authentication. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
66 lines
2 KiB
YAML
66 lines
2 KiB
YAML
codecov:
|
|
require_ci_to_pass: false # post coverage status even if CI has unrelated failures
|
|
notify:
|
|
wait_for_ci: false # post as soon as expected uploads arrive, don't wait on CI
|
|
|
|
# Uploads are flagged per workflow/shard (GHA) or "circleci". carryforward makes
|
|
# a re-upload of a flag replace its prior session instead of accumulating a
|
|
# conflicting one, and lets a commit reuse a flag from its parent when that flag
|
|
# was not re-uploaded. Required because the same commit can receive the
|
|
# push-triggered workflows more than once (re-runs / branches cut at the same
|
|
# SHA); flagless overlapping sessions made Codecov drop the largest files.
|
|
flag_management:
|
|
default_rules:
|
|
carryforward: true
|
|
|
|
component_management:
|
|
individual_components:
|
|
- component_id: "Router"
|
|
paths:
|
|
- "router"
|
|
- component_id: "LLMs"
|
|
paths:
|
|
- "*/llms/*"
|
|
- component_id: "Caching"
|
|
paths:
|
|
- "*/caching/*"
|
|
- ".*redis.*"
|
|
- component_id: "litellm_logging"
|
|
paths:
|
|
- "*/integrations/*"
|
|
- ".*litellm_logging.*"
|
|
- component_id: "Proxy_Authentication"
|
|
paths:
|
|
- "*/proxy/auth/**"
|
|
- component_id: "Enterprise"
|
|
paths:
|
|
- "enterprise/**"
|
|
- component_id: "Batches"
|
|
paths:
|
|
- "*/proxy/batches_endpoints/**"
|
|
- "litellm/batches/**"
|
|
- "*/llms/*/batches/**"
|
|
- component_id: "Videos"
|
|
paths:
|
|
- "litellm/videos/**"
|
|
- "*/proxy/video_endpoints/**"
|
|
- "*/llms/*/videos/**"
|
|
- component_id: "Realtime"
|
|
paths:
|
|
- "litellm/realtime_api/**"
|
|
- "*/proxy/realtime_endpoints/**"
|
|
- "*/llms/*/realtime/**"
|
|
- "litellm/litellm_core_utils/realtime_streaming.py"
|
|
comment:
|
|
layout: "header, diff, flags, components" # show component info in the PR comment
|
|
|
|
coverage:
|
|
status:
|
|
project:
|
|
default:
|
|
target: auto
|
|
threshold: 0% # do not allow project coverage to drop
|
|
patch:
|
|
default:
|
|
target: auto
|
|
threshold: 0% # patch coverage should be 100%
|