feedback icon indicating copy to clipboard operation
feedback copied to clipboard

Reporting Test Execution Time and Flakiness

Open kms254 opened this issue 1 year ago • 6 comments

What product do you want to improve? CodeCov Web Application and CLI Uploader

Is your feature request related to a problem? Please describe. We are currently a Pro Customer who recently onboarded CodeCov. One of the key metrics we monitor is testing time and flakiness. Using multiple tools to monitor test status is inefficient and adds cognitive load.

Describe the solution you'd like It would be great if CodeCov could be our single pane of glass regarding testing. If in the future we can include test execution time and flakiness that would be a value add. Especially as we build out historical data over time so we can see long-term trends.

Describe alternatives you've considered Currently, we use DataDog(dd_trace) to capture and visualize testing metrics regarding flakiness and execution time. The bifurcation of testing data is cumbersome and I would love for it to all be in one tool.

kms254 avatar Nov 08 '23 20:11 kms254

@kms254 we're actually doing some discovery around this currently. Would you be open to share thoughts around what you'd like to see (and what sort of tests you consider as flaky)

rohan-at-sentry avatar Nov 14 '23 19:11 rohan-at-sentry

@rohan-at-sentry Sure thing. We primarily look at test execution time overall and want to monitor the trends. When digging into long-running tests, individual test run time is very important but is only looked at if there is a problem. Our goal is to focus on fast, efficient testing without having the overhead of having to tune our test cases. We have some integration tests that, depending upon the test state, can be flakey. Knowing this rate gives us an idea of where to invest the time to remove the friction and have more reliable testing. If need be I'm happy to get on a screen share with you to show you what we are doing.

kms254 avatar Nov 14 '23 20:11 kms254

I'd love to see what you're doing here. Would you mind booking a time that works for you via this link? https://calendar.app.google/jpMWdByFsDKFq72t9

rohan-at-sentry avatar Nov 14 '23 21:11 rohan-at-sentry

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

covecod[bot] avatar Dec 13 '23 08:12 covecod[bot]

We would love your insight about how would you prefer to receive failed tests report on PR? https://github.com/codecov/feedback/discussions/189

Thanks a ton!

Adal3n3 avatar Dec 15 '23 19:12 Adal3n3

@kms254 , we're currently building out the ability to detect flaky tests and report them on the PR. We'd love the opportunity to pick your brain on how you're doing this currently to see how we can help improve that process for you. If this is of interested, please respond back and I can work with you to schedule some time

rohan-at-sentry avatar Jan 23 '24 19:01 rohan-at-sentry