Repository navigation
Closed
Labels
[Epic]this label is used to mark issues as epicsin discoveryThe design, product, and specifications require refinement
Description
Problem to Solve
Developers currently lack insight into the quality and reliability of their test coverage through Codecov. While Codecov provides coverage percentages, it does not offer any information regarding test failures. This makes it challenging for developers to identify consistently failing or flaky tests, which can lead to slower development cycles and reduced code quality.
As a developer, I want to see not only my code coverage but also details about any failed tests so that I can better understand the effectiveness of my test suite and quickly identify problematic tests.
Solution Ideation
Data capture, where Codecov to collect data on failed tests.
App UI Updates: Extend the Codecov dashboard to display:
- If coverage drops are due to certain/frequent failed tests.
- Link to the test file or CI logs for a deeper dive.
- Ability to filter or sort tests based on failure frequency, most recent failure, etc.
- A trend graph showing failed tests over time.
- additional context to help developers understand the cause of the failure (what could this be?).
In PR Comments:
- Show if the failed tests are a common point of failure or a new occurrence.
### Tasks-Design
- [ ] https://github.com/codecov/engineering-team/issues/1018
- [ ] https://github.com/codecov/engineering-team/issues/886
- [ ] https://github.com/codecov/engineering-team/issues/1341
- [ ] https://github.com/codecov/engineering-team/issues/1116
- [ ] https://github.com/codecov/engineering-team/issues/1340
- [ ] https://github.com/codecov/engineering-team/issues/1365
- [ ] https://github.com/codecov/engineering-team/issues/1366
- [ ] https://github.com/codecov/engineering-team/issues/1640
### Tasks-Platform
- [ ] https://github.com/codecov/engineering-team/issues/1116
### Tasks-Application
Metadata
Metadata
Assignees
Labels
[Epic]this label is used to mark issues as epicsin discoveryThe design, product, and specifications require refinement
Activity
codecovdesign commentedon Sep 18, 2023
Exploration 1
view designs
Exploration 2, post feedback
view designs
codecovdesign commentedon Sep 18, 2023
Sept 18th - Feedback notes:
- scenario: there are two commits
0and1, but1had a failed upload. What would show in the latest commit in the repo page.- suggestion: show a warning that suggests to look at the test results and/or that the coverage is not accurate/reflective.
Design feedback notes:
Next step
codecovdesign commentedon Nov 1, 2023
x related feedback: https://twitter.com/jmduke/status/1705194525197525449
kyle notes
### Could you describe the tweet further? - Experience from Stripe with CI/tooling focus. - Emphasis on improving test suites incrementally rather than coverage. - Goal to minimize test flakiness and delays. - Transparency and seeing incremental performance gains in tests is key.Follow-ups: How did this work on a day and how did the metrics drive actionability?
Are there any particular tools or solutions you've used that partially address these issues? What are they missing?
What metrics or insights would be most critical for you in a test-focused tool?
How would you ideally like to be alerted or notified about issues in your test suite? Summarize your dream feature for your team to resolve this?
How important was bundle sizing to Stripe?
General Insight:
eli notes
## Quick Walkthrough of Bundle Size DesignsOther Reasons to Care about Bundle Size
codecovdesign commentedon Nov 3, 2023
feedback from Abhijeet Prasad:
💯 - bisecting for changes/trends is super hard atm, I wrote a script in the sdk to do this for me (involves checking out multiple tags and dumping output somewhere). I don’t think any existing GH action tooling or bundle size tools do this well fwiw either.
there’s been some conversations about Sentry performance monitoring in CI. Maybe it’s worthwhile bringing that back up again to help with this case.
I think this makes it clear that per entry point analysis is really important.
When we eventually connect this to Sentry performance data, we can even tell exactly what resources are requested on each page load, so we can close the loop fully.
For the last point, we can even do cool things like, “20% of production users loading this generated bundle are on 3g, so you should pay special attention to it”
[-]Discovery: Collecting and Displaying Failed Test Data in Codecov[/-][+]Discovery: Collecting and Displaying Failed and Flaky Tests Data in Codecov[/+]Adal3n3 commentedon Aug 7, 2024
Closed this and the new issue: #2028