Skip to content

qa: allow JET 0.12 in OrdinaryDiffEqCore/BDF/NonlinearSolve QA envs - #4516

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:jet-0.12-qa-compat
Sep 12, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:jet-0.12-qa-compat

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Summary

CI Julia 1 is now Julia 1.13. The QA groups for OrdinaryDiffEqCore, OrdinaryDiffEqBDF, and OrdinaryDiffEqNonlinearSolve fail on 1.13 because their test/qa/Project.toml files pin JET = "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:

  • The same code + same package versions pass on Julia 1.12.7 with JET 0.11.6.
  • Julia's native code_typed/inference on the flagged call sites (e.g. the SciMLLogging-generated DEVerbosity keyword constructor, DiffEqBase.init → init_up → get_concrete_problem) returns concrete types.
  • JET 0.12.1 on Julia 1.13 reports zero dispatches on identical code, while still detecting real dispatch in sanity checks.

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):

Package Result
OrdinaryDiffEqCore JET Test DEVerbosity Constructors: 25 pass / 4 fail (jet.jl:46,50,86,95 — linear_verbosity/nonlinear_verbosity + complex mixed constructors; dispatch on Union{Symbol, AbstractVerbosityPreset})
OrdinaryDiffEqBDF JET Tests: 1 pass / 17 fail / 23 broken (jet.jl:48,64 — init dispatch through DiffEqBase.init_up/get_concrete_problem/SciMLBase.promote_u0, prob degrading to Any)
OrdinaryDiffEqNonlinearSolve JET Tests: 1 pass / 12 fail / 33 broken (jet.jl:70,95 — same init path for Rosenbrock-family solvers)

After (local, Julia 1.13.0, JET 0.12.1), GROUP=QA julia --project=. -e 'import Pkg; Pkg.test()':

Package Result
OrdinaryDiffEqCore JET 30 pass / 1 broken, Aqua 26/26, AllocCheck 1/1 — tests passed
OrdinaryDiffEqBDF JET 18 pass / 23 broken (broken are broken=true by design), Aqua 21/21, AllocCheck 4 pass / 18 broken — tests passed
OrdinaryDiffEqNonlinearSolve JET 13 pass / 33 broken, Aqua 41/41 — tests passed

Local repro of a representative failure on Julia 1.13.0 + JET 0.11.6 (before): @test_opt init(linear_prob, ABDF2(), ...) reports runtime dispatch in init_up (remaked prob inferred as Any); the same call reports nothing under JET 0.12.1.

Also verified test/qa/jet.jl for 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()' in lib/OrdinaryDiffEqCore — pass
  • GROUP=QA julia +1.13 --project=. -e 'import Pkg; Pkg.test()' in lib/OrdinaryDiffEqBDF — pass
  • GROUP=QA julia +1.13 --project=. -e 'import Pkg; Pkg.test()' in lib/OrdinaryDiffEqNonlinearSolve — pass
  • OrdinaryDiffEqCore test/qa/jet.jl on Julia 1.12.7 + JET 0.12.1 — pass
  • Sublibrary CI on this PR should run the three QA groups on Julia 1.13 with JET 0.12.1

Note: the other ~45 sublibrary test/qa/Project.tomls still pin JET = "0.9, 0.11"; most contain no live @test_opt assertions, 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

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
ChrisRackauckas merged commit 310f147 into SciML:master Sep 12, 2026
140 of 143 checks passed
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants