-
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
{Codecov upload issue debugging} - Ensure Codecov consistently waits for ALL reports to successfully process before reporting on coverage on UI and PR comment #2702
Comments
Things to talk about during kickoff
|
sync with @adrian-codecov @Adal3n3 @rohan-at-sentry @suejung-sentry @spalmurray-codecov
✅ |
12/5 sync with @Adal3n3 @adrian-codecov @spalmurray-codecov @suejung-sentry
|
12/13 sync with @Adal3n3 @adrian-codecov @spalmurray-codecov @suejung-sentry
|
Without the end state of upload processing, here is the alternative way to communicate pending uploads. View this issue for more details: #2522 (comment) |
@katia-sentry @adrian-codecov @suejung-sentry @Adal3n3 @codecovdesign - I see this is marked as complete. Do we have a proposal for how we want to solve this problem? Or are we still figuring it out and hooky is just being aggresive |
Mmm I don't think the epic should be closed since there's other things open, I think hooky automatically closed it when Katia closed the app's team to complete. I'll reopen |
bad hooky |
CONTEXT In issue #2400, we confirmed inconsistencies in the reporting experience across the app and PR comments. Specifically:
This investigation was conducted by @nora-codecov and @RulaKhaled
User Experience Impact
Users frequently see partial data reports, leading to the perception of incorrect or incomplete information, which undermines trust in our reporting accuracy. Improving user trust and data clarity is a key focus area.
One solution under consideration involves providing feedback as processing occurs (see #2522). However, implementing this depends on resolving blockers related to #2400, particularly around the feasibility of showing full reports and identifying intermediary processing states.
Aside, but related, @spalmurray-codecov has explored a potential solution, which may address some of these blockers (see findings here).
Next Steps
Determine Reporting Capabilities
Evaluate Findings
after_n_builds
or setting default behavior without configuration. This will depend heavily on investigation outcomes.Parallel Investigations
kickoff details / rough notes / other
Today we have 2 ways to let customers instruct customers on when to kick off the notification process..
After_n_builds
- https://docs.codecov.com/docs/pull-request-comments#after_n_buildsmanual_trigger
andsend-notifications
- https://github.com/codecov/codecov-cli#send-notificationsProblem 1 - Not every customer knows to turn this feature on. Turning this feature on allows Codecov to "know" what is the max # of reports to expect per commit, which allows us to better surface that information to users in-case of dropped / missing uploads.
Problem 2 - This applies a "delay" to notifications sent to the PR comment. The problem is that the UI is effectively decoupled from this leading to inconsistencies in how coverage is reported for uploads that fail on the UI and PR Comment.
Path Forward
Solve problems 1 & 2
For customers that do not have this turned on, Codecov effectively cannot know if all reports have been processed. This means that project coverage reporting is inherently inaccurate. We should surface messaging on PR comment and UI (on commits tab and PR tab) inviting users to turn this on
Ensure
manual_trigger
andafter_n_builds
impacts both PR comment and Codecov UIafter_n_builds
earlier in the report processing cycle. #1245For Q4 - the goal would be to wrap up discovery on this topic
Related problem to solve
Previously in #2400 we found that:
The issue is particularly with the PR comment experience is the data is showing partially as uploads come in and therefore can sometimes give the user a false understanding.
Solution exploration
We'd like to explore 1) how we can make the reporting experience consistent in awaiting to see the full report and 2) have an intermediary state to clarify to the user processing is occurring.
related ongoing iteration to show processing: #2522
The text was updated successfully, but these errors were encountered: