You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Coverage mode is --code-coverage=user, which recompiles dependencies on 1.11-1.13 #129
Coverage-mode test processes are started with --code-coverage=user (src/testprocess.jl, src/testitemcontroller.jl, in coverage_arg). Meanwhile julia-runtest calls Pkg.test(coverage=true), which passes --code-coverage=@<package root> instead, so only the package under test is tracked.
It looks like (until Julia 1.14) a package tracked for coverage can't reuse package images across processes. Under user, that applies to every dependency, so each test process compiles the whole dependency tree again with coverage counters.
Unless there's a reason to default to user that I'm not aware of, I think this could be improved by something like: When the test environment belongs to a package, pass --code-coverage=@<package root> to match Pkg.test, maybe with a way to override it.
Chiming in to say I'm running into this too: running tests with coverage from VSCode adds ~5 minutes to my test suite runtime (vs 2 mins when running with coverage from the legacy Pkg.test interface). Claude debugged to the same root cause.
Activity
halleysfifthinc commentedon Nov 4, 2026
Chiming in to say I'm running into this too: running tests with coverage from VSCode adds ~5 minutes to my test suite runtime (vs 2 mins when running with coverage from the legacy Pkg.test interface). Claude debugged to the same root cause.