Revert "ci(codecov): restore litellm/ prefix on uploaded coverage paths"

This reverts commit e25a988a3f.

The `fixes: ["::litellm/"]` rule turned out to be applied *after* Codecov's
auto-resolution, not before. Files with unique basenames (which were
auto-resolving correctly to `litellm/<path>`) got an extra `litellm/`
prepended, producing `litellm/litellm/<path>` storage. Files with
ambiguous basenames (the actual target of the fix) continued to be
dropped because the auto-resolution still failed for them.

Net result on the verification run: 1375 files now stored under
unresolvable `litellm/litellm/...` paths, and the 11 originally-missing
hotspots are still missing. Reverting before piling on further changes.
This commit is contained in:
Yuneng Jiang
2026-05-14 13:48:58 -07:00
parent e25a988a3f
commit ea2c5cf026
-12
View File
@@ -38,15 +38,3 @@ coverage:
default:
target: auto
threshold: 0% # patch coverage should be 100%
# pytest-cov runs with --cov=litellm, which stores file paths in the XML
# relative to the litellm/ package root (e.g. proxy/proxy_server.py instead
# of litellm/proxy/proxy_server.py). Codecov's auto-prefix heuristic only
# resolves files whose basename is unique in the repo — files like
# proxy_server.py (3 copies), router.py (2 copies), utils.py (20+ copies),
# main.py (20+ copies), constants.py (2 copies) get silently dropped. The
# rule below restores the litellm/ prefix on every uploaded path so they
# resolve unambiguously. Safe because no current uploader emits paths that
# already start with litellm/.
fixes:
- "::litellm/"