Open codecovdesign opened 3 months ago
Sync with @Adal3n3 @drazisil-codecov @vlad-ko
Related issues
upload:x
copy update: upload => report processing
Related feedback internally
This screen feels like a “work in progress”. You have the list of “view CI build” links. But in my case the CI succeeded and also the upload of the coverage report succeeded but only the processing of the upload failed (because the report had broken stuff in it). Also I can download the uploaded reports on the right side, but I do not get the relation to the CI build that was used doing that upload. If would be cooler to have one list that shows me what upload was broken, with a link to download the upload and a link to the corresponding CI build. Oh, and the failed stuff is most of the time just a “still working on it”, so if you refresh the page a couple of minutes later, the failures are gone. Would be cool if it could say that it is still in processing and not failed.
Meeting note w @calvin-codecov 9/6: Question 1: Why did upload fail, but we still show that the CI passed?
Question 2: In this example, why do we show that the CI passed and the PR states is "all modified lines are covered by tests ✅" even tho the commit has a failed upload?
sync from sept 9th:
(cc @calvin-codecov)
Existing upload status:
It would be helpful if we could figure out which uploads correspond to which run job number (https://github.com/codecov/gazebo/actions/runs/10355997185)
From @vlad-ko
I think I've fond another "bug/feature" situation with the CFF. If i hav a flag that's designated as a CFF, if i upload a broken report, we will sort of ignore it and just use the CFF version of the report. It could be a feature, but it could also be a problem, because the customer may not realize that we're not using the latest data.
ToDo: @calvin-codecov can you investigate this? If it's true, we need either reject the CFF broken report, and show an error message, and somehow indicate we are not using the latest data or see if we can support the latest data.
As a result of these failures, the code highlighting could potentially be inaccurate on the Github Files Changed
tab right? Is it possible to surface a message due to that somewhere in the Github UI?
Maybe instead of: or
"We haven't received the signal to send notifications which might mean reports are still being uploaded, so code highlighting might be inaccurate. Thanks for your patience" "Not all reports were successfully processed, so code highlighting is likely inaccurate. Please feel free to reach out to a Codecov admin." etc.
Thanks for the nice suggestion @kfbustam. I have circled it back to my team and we will investigate to see if it's possible.
Problem to solve
Codecov displayed in the UI that the upload for one of the reports failed, but the CI did not fail and exited successfully. Additionally, they received the pull request comment with coverage data despite the upload failure. This raises the question of whether this could be a processing failure rather than an error in the upload step.
Furthermore, another example reported an engineer pushed a commit with a future date (Aug 1st) due to their system clock being set ahead. This caused Codecov to show the latest upload as occurring sometime in the future. The customer is requesting a way to delete the offending commits from Codecov.
issue 1, upload is shown with X:
then user lands on PR page and sees CI passed, but no data:
Summary of areas to investigate:
Upload Failure vs. Processing Failure:
Investigate CI Success with Upload Failure:
related issue: https://github.com/codecov/engineering-team/issues/2442
Solution
Investigation note: https://github.com/codecov/engineering-team/issues/2220#issuecomment-2344838878 Figma link: https://www.figma.com/design/4Z7yb2dkIIATkfzpWoMYQq/GH-2220?node-id=1-2
We are going to decouple the fixes in the issues below so we can ship some of the designs sooner.