Repository navigation
qa: allow JET 0.12 in OrdinaryDiffEqCore/BDF/NonlinearSolve QA envs - #4516
Merged
ChrisRackauckas merged 1 commit intoSep 12, 2026
Merged
Conversation
CI `Julia 1` is now Julia 1.13, and the QA jobs for these three
sublibraries fail with JET reporting runtime dispatch in code paths
that Julia's own inference proves concrete (e.g. `DEVerbosity`
keyword constructors generated by SciMLLogging, and the
`init`/`init_up`/`get_concrete_problem` path in DiffEqBase/SciMLBase).
These are false positives from the analyzer rather than real dispatch:
the QA environments pin `JET = "0.9, 0.11"`, which resolves to
JET 0.11.6 on Julia 1.13. JET's documented support for Julia 1.13 is
the 0.12 series ("The latest release series, v0.12, supports full JET
functionality on Julia v1.12 and v1.13 only"); the 0.11 series keeps a
permissive Julia bound so it still *installs* on 1.13, but its
analyzer predates 1.13 compiler-internals changes and reports phantom
runtime dispatch. Identical code passes on Julia 1.12 + JET 0.11.6 and
on Julia 1.13 + JET 0.12.1.
Allow JET 0.12 so the QA environments resolve to JET 0.12.1 on Julia
1.12/1.13. JET 0.11+ requires Julia >= 1.12, so Julia 1.10 keeps
resolving the 0.9 series exactly as before.
Verified locally on Julia 1.13.0 with JET 0.12.1, via
`GROUP=QA julia --project=. -e 'import Pkg; Pkg.test()'`:
- OrdinaryDiffEqCore: JET 30 pass / 1 broken (was 26/4-fail/1-broken
on JET 0.11.6), Aqua 26/26, AllocCheck 1/1 — tests passed
- OrdinaryDiffEqBDF: JET 18 pass / 23 broken (was 1/17-fail/23-broken),
Aqua 21/21, AllocCheck 4 pass / 18 broken — tests passed
- OrdinaryDiffEqNonlinearSolve: JET 13 pass / 33 broken (was
1/12-fail/33-broken), Aqua 41/41 — tests passed
and OrdinaryDiffEqCore `test/qa/jet.jl` on Julia 1.12.7 + JET 0.12.1:
29/29 DEVerbosity constructor tests pass.
Other sublibraries' qa envs still pin `JET = "0.9, 0.11"`; they can be
bumped the same way as their diff-filtered QA jobs next run on
Julia 1.13.
Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Agent-Harness: Devin CLI 3000.10.21
Agent-Model: SWE-2 High
Agent-Session: local Devin CLI session (no shareable URL); session db at /home/crackauc/.local/share/devin/cli/sessions.db
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 13, 2026
- qa: allow JET 0.12 in OrdinaryDiffEqCore/BDF/NonlinearSolve QA envs (#4516) - Add regression tests for issues verified fixed in recent releases (#4517) - fix: save all simultaneous events in a VCC (#4129) - Add 4th-order Friedli Exponential Runge-Kutta solver (#4481) - Release DiffEqBase 7.21.1 (#4521) - Fix BDF rejected-step controller for backward (tdir < 0) solves (#4519) - Require OrdinaryDiffEqCore 4.17.1 where its new internals are used (#4525) - OrdinaryDiffEqDefault: require OrdinaryDiffEqCore 4.17.1 (#4520) - Add adaptive step size control to SDC (#4346) - Allow JET 0.12 in every QA test environment (#4513) Agent-Harness: Claude Code Agent-Model: claude-opus-5[1m] Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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
CI
Julia 1is now Julia 1.13. The QA groups forOrdinaryDiffEqCore,OrdinaryDiffEqBDF, andOrdinaryDiffEqNonlinearSolvefail on 1.13 because theirtest/qa/Project.tomlfiles pinJET = "0.9, 0.11", which resolves to JET 0.11.6. Per JET's compatibility docs: "The latest release series, v0.12, supports full JET functionality on Julia v1.12 and v1.13 only." JET 0.11's permissive Julia bound lets it install on 1.13, but its analyzer predates 1.13 compiler-internals changes and reports false-positive runtime dispatch.This PR allows JET 0.12 in those three QA environments so they resolve to JET 0.12.1 on Julia 1.12/1.13. No production code changes — the reported dispatches are analyzer artifacts, verified by:
code_typed/inference on the flagged call sites (e.g. the SciMLLogging-generatedDEVerbositykeyword constructor,DiffEqBase.init→init_up→get_concrete_problem) returns concrete types.On Julia 1.10, JET 0.11+ already requires
julia >= 1.12, so the resolver continues to pick the 0.9 series there — unchanged behavior.Before / after on Julia 1.13
Before (CI, JET 0.11.6):
JET Test DEVerbosity Constructors: 25 pass / 4 fail (jet.jl:46,50,86,95 —linear_verbosity/nonlinear_verbosity+ complex mixed constructors; dispatch onUnion{Symbol, AbstractVerbosityPreset})JET Tests: 1 pass / 17 fail / 23 broken (jet.jl:48,64 —initdispatch throughDiffEqBase.init_up/get_concrete_problem/SciMLBase.promote_u0, prob degrading toAny)JET Tests: 1 pass / 12 fail / 33 broken (jet.jl:70,95 — sameinitpath for Rosenbrock-family solvers)After (local, Julia 1.13.0, JET 0.12.1),
GROUP=QA julia --project=. -e 'import Pkg; Pkg.test()':tests passedbroken=trueby design), Aqua 21/21, AllocCheck 4 pass / 18 broken —tests passedtests passedLocal repro of a representative failure on Julia 1.13.0 + JET 0.11.6 (before):
@test_opt init(linear_prob, ABDF2(), ...)reports runtime dispatch ininit_up(remaked prob inferred asAny); the same call reports nothing under JET 0.12.1.Also verified
test/qa/jet.jlfor OrdinaryDiffEqCore on Julia 1.12.7 + JET 0.12.1: 29/29 DEVerbosity tests pass — no regression on 1.12.Test plan
GROUP=QA julia +1.13 --project=. -e 'import Pkg; Pkg.test()'inlib/OrdinaryDiffEqCore— passGROUP=QA julia +1.13 --project=. -e 'import Pkg; Pkg.test()'inlib/OrdinaryDiffEqBDF— passGROUP=QA julia +1.13 --project=. -e 'import Pkg; Pkg.test()'inlib/OrdinaryDiffEqNonlinearSolve— passtest/qa/jet.jlon Julia 1.12.7 + JET 0.12.1 — passNote: the other ~45 sublibrary
test/qa/Project.tomls still pinJET = "0.9, 0.11"; most contain no live@test_optassertions, and the few that do (OrdinaryDiffEqLowOrderRK,OrdinaryDiffEqStabilizedRK,OrdinaryDiffEqSSPRK) can get the same bump when their diff-filtered QA jobs next run on 1.13 — each should be verified under JET 0.12 rather than blanket-bumped.🤖 Generated with Devin (harness: Devin CLI 3000.10.21, model: SWE-2 High). Session: local Devin CLI session (no shareable URL); session db at /home/crackauc/.local/share/devin/cli/sessions.db