-
Notifications
You must be signed in to change notification settings - Fork 114
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
Remove coverage_override and use primary test run for code coverage #2254
Conversation
Review checklistThis checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging. Purpose and scope
Code quality
Documentation
Testing
Performance
Verification
Created with ❤️ by the Trixi.jl community. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2254 +/- ##
==========================================
+ Coverage 96.42% 96.87% +0.45%
==========================================
Files 490 490
Lines 39426 39427 +1
==========================================
+ Hits 38015 38194 +179
+ Misses 1411 1233 -178
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Looks like this makes CI faster:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! However, I would also like to see green light from @ranocha.
This is a huge improvement in CI time. Really nice to see.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot! This looks already quite nice. Could you please fix the tests using skip_coverage
? Since we do not run without coverage reports anymore, these tests will be skipped completely - which we should not do.
The remaining special logic is Lines 12 to 47 in 1b21e62
After talking to @ranocha offline. We should try to enable this again. |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@bennibolm could I ask you to look at the "sc subcell" errors. @ranocha and my working hypothesis is that code coverage impact the code generated by Julia and thus it can prevent optimizations to trigger like the formation of |
Co-authored-by: Joshua Lampert <[email protected]>
@bennibolm has:
|
Yes, I already looked at it. Normally, I would easily say, no worries, subcell limiting is built to be very susceptible to small changes. Even with those differences. What makes a little bit cautious is that I never really had those issues with this particular elixir (And normally there were always the same which caused errors). |
@vchuravy The CI failure
(see https://github.com/trixi-framework/Trixi.jl/actions/runs/13139594649/job/36663263375?pr=2254#step:7:3207) should be acceptable from my point of view - just change the value. It seems to be susceptible to changes since we have already a relatively loose tolerance.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost ready 👍
Co-authored-by: Hendrik Ranocha <[email protected]>
Total improvement is |
I find this a bit weird because this PR is only changing how coverage is tested, right?... So nothing is really changing in the initial condition or in the numerics... right?! 🤔 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot!
The emission of coverage impacts the generated LLVM code and can inhibit code transformations (like fma, vectorization etc) |
Julia has improved it's coverage handling #1075 (comment)
Let's test and see if we still need this complication.