Skip to content

[BUG] Misleading warnings is logged about - Some files were not found --- {"not_found_files": ["**/coverage.xml"]} #1862

@ssbarnea

Description

@ssbarnea

Describe the bug

There is a clear bug that logs a warning like below when it clearly does not have any reasons:

Run codecov/[email protected]
...
warning - 2025-08-18 10:55:36,838 -- Some files were not found --- {"not_found_files": ["**/coverage.xml"]}
info - 2025-08-18 10:55:36,839 -- Found 1 coverage files to report
info - 2025-08-18 10:55:36,839 -- > /home/runner/work/team-devtools/team-devtools/.tox/py313/coverage.xml
info - 2025-08-18 10:55:37,182 -- Your upload is now processing. When finished, results will be available at: 

To Reproduce

Just use a glob pattern in files.

Expected behavior

No warning logged when glob pattern has matches.

Regression
State whether this is a regression and when the last successful instance occurred

Screenshots
If applicable, add screenshots to help explain your problem.

https://github.com/ansible/team-devtools/actions/runs/17038322115/job/48295921968?pr=313#step:18:314

Product Area
If applicable, the product with the given bug (e.g. coverage, test analytics, browser extension, bundle analysis)

Versions

Commit and CI link
Provide the commit SHA and CI link. If applicable, provide the entire Codecov output from CI.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions