-
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
The "Team" plan (FKA Turn off project coverage by default) #132
Comments
Plan:
|
Is this initiative aiming to turn indirect changes off completely, or under some condition? (e.g. some yml setting) |
@adrian-codecov This isn't to say that someday we won't want to give pro and ent plans the ability to turn off project coverage via config, but most of the front end investigation at this point is the new UI in these designs. These are preliminary designs of course, but likely not far from the end result CC @codecovdesign Only other thing I would add is that we're starting with the PR Comment changes (far left in the designs) and that really shouldn't require much on the app team side to my knowledge. |
Gotcha, asking cause I have this investigation, #246, to determine the technical considerations for this whole initiative. So for this new plan, or potentially extending this to other plans, is optional though right? I'm trying to decipher if I should consider this more of a "we process uploads, get direct + indirect changes, then we filter", or more so of a "we process uploads, only compute the direct changes and not compute the indirect changes". Do you know how this would work? |
@adrian-codecov can you clarify what is optional in your question? Most likely, the routing about "patch only" vs. "including project coverage" will be some sort of yaml setting or similar. As such, we should be able to pick up the routing on the fly for the repository in question to understand what to show. |
@aj-codecov can you link to the refactor of the table component work? I'm nervous about creating a dependency there |
The key piece missing is telling a user how to RE-ENABLE project coverage on PR comment if they so choose (cc: @dana-yaish as well)
Yes, ideally some way to gather qualitative and quantitative feedback would be most ideal. I'd be happy to design something or look at a design.
I think the key will be the number of people who decide to RE-ENABLE project coverage after being exposed to patch only coverage. Again, this is a bit of a reversal from normal Codecov process in the sense that we are starting with the thesis that developers are focused on patch coverage (untested lines in diff, most accurately), and are looking for data to disprove that hypothesis vs. prove it (which is already anecdotally proven) |
Some questions from @eliatcodecov and my responses From
Yes, the project status check should be off by default as well (if project coverage is generally set to off). I think it would be sensible to be able to overwrite the project status check to on even while the project coverage was off in PR comment.
I agree. If so, make sure we link the PR comment to the docs to show how to re-enable project coverage. |
@jerrodcodecov, I’m trying to figure out how we want/are thinking to process reports in Worker for people that don’t want project coverage (as part of my investigation ticket/focusing on how this would look like on gazebo). I see this being either of two ways:
I’m not sure if were doing 1) or 2) (or something else), asking here to see if we have clarified that. If turning off project coverage is optional, I’d lean to do option 1) as we have all data we need computed, but if it is more permanent, I’d lean towards option 2 as it could help speed up how fast we process reports (guessing here, would have to prove with metrics). If we did option 2) and someone retroactively wants to see their indirect changes, we’d have to recompute their upload, which sounds less ideal to me. Mostly looking for clarity on how we’re intending to process reports for people that don’t want project coverage |
@jerrodcodecov, from the thread in Slack:
I've updated the designs to include a link for feedback collection in this specific issue. It's worth noting this is separate from the new PR comment feedback issue. Lmk if any other adjustments or updates. Otherwise, created a ticket capturing the update and added it to this epic. |
Do we want the project coverage to be optional, or simply hidden from the user's view (without altering the underlying data processing)? This will impact scope and will clarify Adrian's technical direction on which option we want to go with. cc. @eliatcodecov @trent-codecov |
We're working on the table refactor this sprint #328. We're creating a new base and then replacing all existing tables in the upcoming months. @terry-codecov, if we implement changes now to the existing tables, considering the transition to a new base, how much would it complicate or affect our planned switch to the refactored tables? |
@adrian-codecov seems like, when Pros for computing ALL coverage (including indirect) and then only surfacing direct changes + patch coverage: -- Allows us to retroactively show project coverage and indirect changes if Pros for only computing direct coverage changes + patch coverage: -- Is way faster If i understand the trade-offs correctly, then I would vote to only calculate the direct coverage changes + patch coverage when UPDATE: Nevermind, @eliatcodecov responded on Slack with the opposite response.
|
both versions includes different copy variations/ideation for the PR comment focused on 1) emphasizing missing lines |
[Applications] On track for November release |
KPIs
Turn off project coverage by default [Experiment] roadmap#37
Platform Tasks
Applications Tasks
Designs
The text was updated successfully, but these errors were encountered: