Skip to content
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

Resolve coverage reporting issues with CodeCov #6290

Open
jywarren opened this issue Sep 13, 2019 · 21 comments
Open

Resolve coverage reporting issues with CodeCov #6290

jywarren opened this issue Sep 13, 2019 · 21 comments

Comments

@jywarren
Copy link
Member

After #5931, @kaustubh-nair opened #5954 to switch our test coverage reporting to CodeCov. But there is some issue with coverage esp with the separately threaded tests we have running now. We'd love help debugging/resolving this if anyone has some experience with Travis and coverage monitoring!

@jywarren
Copy link
Member Author

Ideally we'll be starting to get a nice coverage graph like this!

image

In each PR. Of course, ideally it'd all be green 😄

@SidharthBansal
Copy link
Member

@jywarren i think making this as a whole as a hall of fame task is a great idea
(Maybe I am wrong. I think this task is removing code coverage errors from whole plots2 repo)

@jywarren
Copy link
Member Author

jywarren commented Dec 16, 2019 via email

@SidharthBansal
Copy link
Member

Published

@Uzay-G
Copy link
Member

Uzay-G commented Dec 24, 2019

Hey, I might work on this but was wondering, how can I test my changes to the code?
Thanks!

@Uzay-G
Copy link
Member

Uzay-G commented Dec 24, 2019

I noticed that for some reason the config file has a section omment instead of comment. This seems a bit trivial but maybe that is a cause of the problem.
Also would anyone happen to know when the bot stopped working? That way I could try and pinpoint the problem.

@Uzay-G
Copy link
Member

Uzay-G commented Dec 24, 2019

Also does the codecov config need to be in the master branch for the reports to work?
I am just trying things out that might work, sorry if I am making gross mistakes 😄

@SidharthBansal
Copy link
Member

@jywarren @Uzay-G do we need some more changes?
If there are only 3 lines of code change, I think this should be hard issue. If more work is needed then we can stick with HoF

@SidharthBansal
Copy link
Member

Thanks Uzay-G for your help

@Uzay-G
Copy link
Member

Uzay-G commented Dec 30, 2019

Thans @SidharthBansal. Yeah you can turn it into a hard one instead 👍

@Uzay-G
Copy link
Member

Uzay-G commented Dec 30, 2019

Now we just need to resolve the conflicts of #5954 and merge into master.

@SidharthBansal
Copy link
Member

Please work on any other issue in the meantime. Jeff is on holidays.

@jywarren
Copy link
Member Author

jywarren commented Jan 2, 2020

Just referencing a few issues together here. A recent example issue at #6875 (comment)

Issues possibly related to parallelization documented at #5931

And follow-up notes and concerns from this process at #5954 ...

@jywarren
Copy link
Member Author

jywarren commented Jan 2, 2020

In #6789, coverage was to drop to 50%, but on rebasing, it went up to very little change and all passed. This makes me worry about the parallelization issue?

@jywarren
Copy link
Member Author

jywarren commented Jan 3, 2020

OK, coming back here; i think things are OK... notes:

https://docs.codecov.io/docs/merging-reports says it can handle parallel reports already with no config needed.

https://docs.codecov.io/docs/unexpected-coverage-changes has some useful info too.

#7061 was compaining that the diff coverage is not as high as the project (32% vs 80%) so I wonder @Uzay-G if we should give 1% flexibility on this, and how we configure this?

@jywarren
Copy link
Member Author

jywarren commented Jan 3, 2020

Maybe we can lower the strictness here? https://docs.codecov.io/docs/codecovyml-reference#section-codecov

Also we can ignore some folders if we think that's appropriate...

@jywarren
Copy link
Member Author

jywarren commented Jan 3, 2020

Yes, we can set threshold here! https://docs.codecov.io/docs/commit-status#section-threshold

@Uzay-G
Copy link
Member

Uzay-G commented Jan 3, 2020

Yeah I think we need to make it more flexible. I will look at this later tonight when I can! 👍

@Uzay-G
Copy link
Member

Uzay-G commented Jan 3, 2020

Ok I can make a pull request for the threshold, do you think we should set it around 5-8%?

@jywarren
Copy link
Member Author

jywarren commented Jan 3, 2020 via email

@Uzay-G
Copy link
Member

Uzay-G commented Jan 3, 2020

Oh ok yeah alright! I'll make the pull request now for the threshold! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants