-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure API returns file list consistent with PR comment #143
Comments
@aj-codecov Do we have an example of this not working somewhere in the wild? I just tested this and I see files with 0% change in both the PR comment as well as the dashboard ( PR comment: Dashboard: |
Oh maybe this is an example? codecov/worker#61 The PR comment is showing test files b/c they're part of the diff. Is that the behavior we'd like to replicate in the dashboard? That honestly seems a little weird to me. I'd maybe suggest removing the test files from the PR comment instead. WDYT? |
@scott-codecov Yes, that's an example, basically those are files that are changed that can impact coverage within a PR, almost more of an informational thing than anything. @codecovdesign curious if you have thoughts here - I see the potential value in including this in the UI, but we'd need to probably put them in their own category, or label them somehow to call out that they're test files and thus different from everything else in the UI. |
Thanks @aj-codecov - I did a little more exploration here and better understand what's going on now. In ignore:
- "**tests**/test_*.py" Regardless, there is still a discrepancy between the PR comment and the UI in that the PR comment will show files that are part of the diff AND have some coverage info even if there is no coverage change in the diff for that file. Question is - do we want to show those files in the UI as well? Am I understanding that correctly? |
Scott and I chatted through this further in Slack, but the end result of that convo was that we want to include all files changed in a PR that could impact coverage in the "files changed" section of the pulls view. |
The PR comment is displaying files with 0% change. We want the UI (via the API) to display these files as well.
Tasks
The text was updated successfully, but these errors were encountered: