-
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
Improve Behavior and Consistency of Report Processing Logic Across PR comment and App (Commit and PR) #2400
Comments
raised at audit, marking as bug, as pointed out per the user expectation is unexpected |
sync with Eli on 8/29
|
related issue under review here: #2442 |
related: #1245 |
sync on 9/10
|
Upload Error Behavior on the Commit Page: What happens?
How does it work?
These are the expected upload states:
TLDR: On the commit page, if any upload has an error state, we display the error message immediately. We skip checking for other states once an error is detected, focusing solely on the error state for that upload. |
To answer the question:
No, the page will not update because we still account for the existing upload error. As long as the error persists, the error state will remain displayed. If the user submits a different commit with no upload errors, it will be processed as usual. The issue here is not related to the "processing" state but rather how the application handles errors. We should consider what behavior is expected if there is one processing error. Should we display partial data in such cases? Currently, if part of the data is not successful, no data is shown at all. Lmk if you have any specific questions! |
According to @thomasrockhu-codecov, unfortunately we can not support the re-run all jobs to show the latest job in the UI. I think we can use "history" or "Version" at the list of commits and list of pull pages to indicate the data is from the initial run so if you rerun the commit/job, you will be looking at the recorded history of the commit. (Related to issue #2220) Maybe we can reuse the page header and description for this message. Wdyt of this solution @codecovdesign? Update from sync 9/24: we consider not show this in the commits page but focus on the individual commit details page. |
@Adal3n3 from some of the ongoing work, is there an initial iteration that will help with this scenario? (indicating this has processing issue occurred) also added a sync for next week we can talk then too |
sync on 9/24 with @RulaKhaled @Adal3n3 @nora-codecov
|
Tom helped me set up a test branch with an erroneous upload, so we can see and test conditions current experience
The thing that's confusing me is that the notification (pr comment) we want exists, but it's not being returned as the pr comment when there's an upload error, and I don't know why. Here's what I found:
can we tell that we are processing uploads or the number we are processing, and surface that to the user
|
Confirmed that we do show partial data, we don't account for the errored upload |
added you can see it here |
Joey actually did this work at the time but never finalized and merged the prs, which would make this the default behavior for new repos going forward: |
can we tell that we are processing uploads or the number we are processing, and surface that to the user
I think this answers all the investigation questions, let me know if you need anything else ☂ |
now that we confirmed the behavior states, next is to the question of what we want to do (to show partial or not to show)
Next step, we'll have a debrief sync just to discuss these finding and close out the issue for planning From group review with @Adal3n3 @aj-codecov @eliatcodecov @nora-codecov
update to move forward with:
|
Notes for Suejung and myself:
|
Problem to Solve
When report processing fails on a pull request, the failure is currently only visible in the commits section. Users may not be aware that they need to check commits for this information, leading to confusion and missed insights.
Proposed Solution
Update Codecov’s PR comment messaging to display a clear indication of report processing failures directly on the PR page.
areas for investigation:
The text was updated successfully, but these errors were encountered: