From 88c7f22a4fdb01341f2cace9fed277bcf3ecc9e8 Mon Sep 17 00:00:00 2001 From: ArnoStrouwen Date: Tue, 10 Nov 2026 17:18:40 +0100 Subject: [PATCH] Run JET in QA in :basic mode #89 replaced the hand-written QA file with run_qa. That dropped the JET.@test_call and JET.@test_opt checks on pois_rand, leaving only run_qa's default JET check in :typo mode, which reports undefined names but not calls that have no matching method. Run run_qa's JET check with `mode = :basic`, which reports such calls for every function in the package. The runtime dispatch that @test_opt checked for is already caught by the Core AllocCheck tests, which report dynamic dispatch as well as allocations. --- test/qa/qa.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/qa/qa.jl b/test/qa/qa.jl index e4c1003..a6507b4 100644 --- a/test/qa/qa.jl +++ b/test/qa/qa.jl @@ -2,6 +2,7 @@ using SciMLTesting, PoissonRandom, JET run_qa( PoissonRandom; + jet_kwargs = (; mode = :basic), ei_kwargs = (; # `rng_native_52` is the stdlib sampler hook required by CUDA's device # `randexp` overlay for `PassthroughRNG`; Random has no public replacement.