You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What product do you want to improve?
PR comments and test report processing in the Codecov web application.
Is your feature request related to a problem? Please describe.
When JUnit XML files fail to process (e.g., due to failed tests or 0 tests in the report), Codecov posts a separate error message in PRs. This message can confuse end users since no coverage report is provided. Some users are looking for a way to reduce this noise while keeping other comments and status checks intact.
Describe the solution you'd like
Add a configuration option in codecov.yml to suppress specific error messages (e.g., "We are unable to process any of the uploaded JUnit XML files...") from PR comments. This would allow users to maintain other PR feedback while avoiding noisy or confusing error messages.
Describe alternatives you've considered
Disabling PR comments entirely (not ideal for the user as they want to retain coverage feedback).
Validating test reports before upload (helps but not always feasible for all cases).
Advised the user to address the underlining issue such as adjusting their CI/CD to either ensure tests always run, skip uploads if no tests are collected, or add a placeholder test.
Additional context
This issue is most common with edge cases involving failed tests or XML reports with 0 tests. Users see error messages without coverage data in their PRs, which adds unnecessary confusion. Example of error message:
❌ We are unable to process any of the uploaded JUnit XML files. Please ensure your files are in the right format.
The text was updated successfully, but these errors were encountered:
What product do you want to improve?
PR comments and test report processing in the Codecov web application.
Is your feature request related to a problem? Please describe.
When JUnit XML files fail to process (e.g., due to failed tests or 0 tests in the report), Codecov posts a separate error message in PRs. This message can confuse end users since no coverage report is provided. Some users are looking for a way to reduce this noise while keeping other comments and status checks intact.
Describe the solution you'd like
Add a configuration option in
codecov.yml
to suppress specific error messages (e.g., "We are unable to process any of the uploaded JUnit XML files...") from PR comments. This would allow users to maintain other PR feedback while avoiding noisy or confusing error messages.Describe alternatives you've considered
Additional context
This issue is most common with edge cases involving failed tests or XML reports with 0 tests. Users see error messages without coverage data in their PRs, which adds unnecessary confusion. Example of error message:
❌ We are unable to process any of the uploaded JUnit XML files. Please ensure your files are in the right format.
The text was updated successfully, but these errors were encountered: