From ea2c5cf02641943cac5babf3cd4b9cd3967d79ca Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Thu, 14 May 2026 13:48:58 -0700 Subject: [PATCH] Revert "ci(codecov): restore litellm/ prefix on uploaded coverage paths" This reverts commit e25a988a3feb4a31843a67274a3a64fea2fed805. 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/`) got an extra `litellm/` prepended, producing `litellm/litellm/` 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. --- codecov.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/codecov.yaml b/codecov.yaml index 7900fe0bbb..8609d3143d 100644 --- a/codecov.yaml +++ b/codecov.yaml @@ -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/"