Repository navigation
Disable code coverage in CI; benchmark with default bounds checking - #708
Merged
Merged
Conversation
Nothing uses the coverage reports: Codecov has processed none for master since January 2025, PR comments are off and the README badge is commented out. Collecting it instruments JumpProcesses' code, which made the SSA loops 1.8-4.7x slower and test files 1.4-2.8x slower locally. So the test and documentation workflows now pass `coverage: false` to the shared SciML workflows, the GPU job turns it off in julia-runtest, and the ThreadSafety job drops `--code-coverage=user` (Pkg.test() overrode it anyway) and the coverage steps. .codecov.yml goes too. Bounds checking stays on in the tests. The benchmarks already ran with Julia's default bounds checking (AirspeedVelocity passes no flags); `exeflags: "--check-bounds=auto"` makes that explicit. The Downgrade job still collects coverage: the shared downgrade workflow has no input for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Benchmark Results (Julia v1)Time benchmarks
Memory benchmarks
Benchmark Results (Julia lts)Time benchmarks
Memory benchmarks
|
This was referenced Nov 11, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Nothing uses the CI's code coverage, and collecting it makes the tests much slower, so this turns it off everywhere this repository controls. Bounds checking stays on in the tests. The benchmarks get an explicit
--check-bounds=auto.coverage: falsefor SciML'sgrouped-tests.yml.coverage: falsefor SciML'sdocumentation.yml. Its default randocs/make.jlwith--code-coverage=user, which instruments every package, not just JumpProcesses.coverage: falsein julia-runtest; the processcoverage and Codecov steps are removed.--code-coverage=userand both coverage steps. They collected nothing:Pkg.test()appends--code-coverage=noneafter the forwarded flag, and the job log says "Coverage file(s) for src/JumpProcesses.jl do not exist". The upload step was also skipped on pushes and on PRs from forks..codecov.ymlis removed (its only setting wascomment: false).exeflags: "--check-bounds=auto"for AirspeedVelocity. Nothing changes in practice: benchpkg already runs each benchmark asjulia --project=... --startup-file=no $exeflagswith no flags, so Julia's default applied. The setting just makes that explicit.Why
Coverage is unused. Codecov receives the uploads but has produced no report for any of the last 100 master commits; its last computed totals are from 2025-01-13. PR comments are off, the README badge is commented out, and no commit gets a Codecov status.
Cost of coverage, measured locally (Julia 1.13.3, Apple M2 Ultra).
Pkg.test(coverage = true)instruments only JumpProcesses' own code, so load time and time to first solve don't change, but JumpProcesses' code runs much slower:Bounds checking costs 0-7% per jump and 6-14% in those files. It checks every
@inbounds, so out-of-bounds errors throw in the tests instead of reading garbage or crashing, so it stays.Not changed
The Downgrade job still collects coverage. SciML's shared
downgrade.ymlcalls julia-runtest without acoverageinput, so julia-runtest's default (true) applies, and the shared workflow has no input to turn it off. SciML/.github#148 adds that input; once av1.xrelease includes it, a follow-up here can passcoverage: false.🤖 Generated with Claude Code 2.1.319 (model: claude-opus-5-5)