Skip to content

Re-export the SciMLBase common interface from leaf solver sublibraries, chosen by a documented rule - #4272

Merged
ChrisRackauckas merged 7 commits into
SciML:masterfrom
ChrisRackauckas-Claude:restore-sciml-base-reexports
Aug 27, 2026
Merged

ChrisRackauckas merged 7 commits into
SciML:masterfrom
ChrisRackauckas-Claude:restore-sciml-base-reexports

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Aug 15, 2026 •

Copy link
Copy Markdown
Member

Ignore until reviewed by @ChrisRackauckas.

Fixes #4269

What changed and why

Nine leaf solver packages stopped re-exporting SciMLBase's user-facing interface when their imports were hardened, breaking code such as using OrdinaryDiffEqFeagin; ODEProblem(...). This PR restores a uniform, deliberately limited interface across those packages.

The problem/function portion now follows real OrdinaryDiffEq usage: it is exactly the concrete SciMLBase problem and function types rendered in docs/src/api/common_interface.md. That leaves 12 relevant names (ODEProblem, SplitODEProblem, DAEProblem, discrete/dynamical/second-order variants, their function types, and EnsembleProblem) and removes unrelated optimization, nonlinear-equation, SDE, DDE, BVP, integral, and linear-problem APIs. The remaining reexports are the common solve, callback, integrator, and ensemble interfaces.

test/qa/reexport_tests.jl checks the documented list against the Common Interface, the live SciMLBase exports, and all nine selective packages. Extrapolation's implementation genuinely uses LinearProblem, so it now imports that public API explicitly without re-exporting it.

The package version bumps remain minor because this adds public API relative to the currently registered leaf releases. Selective reexports remain identical in Default, Extrapolation, Feagin, FunctionMap, IMEXMultistep, PDIRK, PRK, QPRK, and TaylorSeries.

Failing before / passing after

With the new contract test present and the unfixed broad list still in place:

$ JULIA_DEPOT_PATH=../.julia_depot julia +1.12 --startup-file=no --project=.analysisenv test/qa/reexport_tests.jl
Test Summary:                                               | Pass  Fail  Total
Re-exported SciMLBase API follows real OrdinaryDiffEq usage |   13     1     14

On rebased commit 4997b0a669bc74f8932d4609726b4d142b799954:

$ JULIA_DEPOT_PATH=../.julia_depot julia +1.12 --startup-file=no --project=. test/qa/reexport_tests.jl
Test Summary:                                               | Pass  Total  Time
Re-exported SciMLBase API follows real OrdinaryDiffEq usage |   14     14  1.2s

Verification

$ GROUP=QA julia +1.12 --startup-file=no --project=. -e 'using Pkg; Pkg.test()'
Test Summary:           | Pass  Total   Time
Quality Assurance Tests |  106    106  18.4s
Testing OrdinaryDiffEq tests passed

$ julia +1.12 --startup-file=no --project=docs docs/make.jl
[completed successfully; only existing generated-page/search-size and deployment-environment warnings]

$ julia +1.12 --startup-file=no --project=../formatenv -m Runic --check --diff <changed Julia files>
[Runic 1.9.0: clean]

$ typos <all changed files>
[clean]

$ git diff --check upstream/master
[clean]

Targeted GROUP=Core suites passed for Default, Extrapolation, Feagin, FunctionMap, IMEXMultistep, PRK, QPRK, and TaylorSeries. The Extrapolation Core suite was rerun in full after making its LinearProblem import explicit.

PDIRK Core has an unrelated failure on an unmodified base checkout: the argument-guard test added by e4f0c5e resolves registered OrdinaryDiffEqNonlinearSolve 2.9.0 instead of the monorepo's 2.9.1 because lib/OrdinaryDiffEqPDIRK/Project.toml lacks a [sources] entry. A clean-base bisect identified that commit; adding the local source mapping makes PDIRK Core pass 10/10. That unrelated fix is intentionally not mixed into this PR.

Leaf QA passed for Default, Extrapolation, and Feagin. The other six leaf QA invocations reached their allocation checks but JET could not start a filesystem monitor because this host had all 128/128 per-user inotify instances occupied (IOError: FolderMonitor (start): too many open files). No tests were disabled or silenced.

Not verified locally

  • GPU lanes, julia pre, and downstream-package jobs.
  • The six leaf JET/Aqua completions blocked by machine-wide inotify saturation; root QA and CI cover the checked-in QA contract.
  • Sublibraries outside the nine selective packages; they still blanket-reexport SciMLBase and are unchanged.

Reviewer note

The judgment call is the Common Interface page as the source of truth for problem/function types. Adding a concrete SciMLBase type to that page makes the contract fail until the nine selective packages and the reexport documentation are updated together.

AI agent continuation: OpenAI Codex
Codex-Session-ID: 01a03a11-47c2-77e0-858b-167004f0b79c

🤖 Generated with Claude Code

https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

CI triage (142 pass / 23 fail / 2 pending GPU). Every job that exercises the changed sublibraries is green: 42/43 sublibrary-ci jobs (Core/QA × Julia 1/lts/pre for Feagin, FunctionMap, IMEXMultistep, PDIRK, PRK, QPRK, TaylorSeries, Extrapolation, Default) and all downgrade-sublibraries jobs for them except Default. None of the reds is caused by this PR; each reproduces on master:

red check status on master tracking
sublibrary-ci / OrdinaryDiffEqTaylorSeries [QA] / Julia 1 (Aqua persistent-tasks) red on every master run since 2026-08-03; passes locally #4277
downgrade-sublibraries / OrdinaryDiffEqDefault (48 == 54) red since 2026-08-08 fix: #4274
downgrade-sublibraries / OrdinaryDiffEqNonlinearSolve (@inferred → Any) never green since #4222 #4278 (needs #4244 + Core floor)
Downgrade / InterfaceI (tstops 0.8333333333333335) red on master fix: #4261
tests / InterfaceV ×3 (Illegal conversion of a JLArray to a Ptr) red on master #4179
tests / InterfaceI, AD, Integrators_II, Regression_I (all Julia lanes) identical set red on master CI 7b8e1c5 (https://github.com/SciML/OrdinaryDiffEq.jl/actions/runs/31881306217) —
ModelingToolkit.jl/InterfaceI, …/SymbolicIndexingInterface, PositiveIntegrators.jl, ProbNumDiffEq.jl downstream failed in the "Clone Downstream" step: GitHub API rate limit for the app installation infra
runic-suggestions cannot post suggestions on a fork PR; Runic / Runic Format Check passes infra

Also found while running the touched suites locally: the Extrapolation GROUP=ALL QA error (_polyester_foreach via the Polyester ext) is a master ordering artifact, fixed in #4273.

@ChrisRackauckas-Claude
ChrisRackauckas-Claude force-pushed the restore-sciml-base-reexports branch from f9293b1 to 31168ba Compare August 15, 2026 16:49
@ChrisRackauckas-Claude ChrisRackauckas-Claude changed the title Restore the SciMLBase reexport in leaf solver sublibraries Re-export the ordinary SciMLBase ODE API from leaf solver sublibraries Aug 15, 2026
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Pushed 31168ba: switched from the blanket @reexport using SciMLBase to a selective re-export of the ordinary ODE API (ODEProblem, ODEFunction, solve, init, solve!, step!, remake, reinit!, ReturnCode, ContinuousCallback, DiscreteCallback, VectorContinuousCallback, CallbackSet, terminate! + the package's own problem types for IMEXMultistep/FunctionMap/Default), with the same list as reexports_allow in each QA config. Re-ran full Pkg.test() for all nine sublibs locally: same results as before (all green; Extrapolation's single QA error is the pre-existing #4273 one). PR body updated.

@ranocha

ranocha commented Aug 16, 2026

Copy link
Copy Markdown
Member

Thanks for starting to work on this so quickly. I don't want to rush you, @ChrisRackauckas , but it would be great if you could prioritize this PR, since the issue let's our CI fail and I don't like merging PRs with failing CI...

@ranocha

ranocha commented Aug 16, 2026

Copy link
Copy Markdown
Member
  • src/<Pkg>.jl: using Reexport: Reexport, @reexport + @reexport using SciMLBase: ODEProblem, ODEFunction, solve, init, solve!, step!, remake, reinit!, ReturnCode, ContinuousCallback, DiscreteCallback, VectorContinuousCallback, CallbackSet, terminate!, plus the package's own problem types where relevant: SplitODEProblem, SplitFunction (IMEXMultistep), DiscreteProblem, DiscreteFunction (FunctionMap), DAEProblem, DAEFunction (Default). Nothing else from SciMLBase is exported; e.g. using OrdinaryDiffEqFeagin now exports exactly CallbackSet, ContinuousCallback, DiscreteCallback, Feagin10, Feagin12, Feagin14, ODEFunction, ODEProblem, ReturnCode, VectorContinuousCallback, init, reinit!, remake, solve, solve!, step!, terminate!.

Before the change to remove everything, one could also setup a SplitODEProblem with OrdinaryDiffEqFeagin.jl and solve it without any issues. Thus, it might be worth considering to still export everything that can be used to setup a problem (of any form that can be solved by the methods from the sublibraries).

The exact name list is a judgment call. Included: the problem/function types, the CommonSolve verbs, remake/reinit!, ReturnCode, and the callback constructors + terminate!. Left out: the integrator-manipulation API (u_modified!, add_tstop!, set_u!, get_du, …), EnsembleProblem, and everything else — all still reachable as SciMLBase.x. Widening or narrowing is one list per package in src/ and test/qa/qa.jl.

Why should there be callback constructors but not the methods needed for programming callbacks (like u_modified! etc.)? This is not related to the problem that broke our CI (which was the missing export of solve), but it would be nice to understand the reasoning behind decisions what to export and what to keep internal. I would prefer a general idea/rule instead of having to read through all packages individually to check whether something is exported and marked public.

@ChrisRackauckas-Claude
ChrisRackauckas-Claude force-pushed the restore-sciml-base-reexports branch 3 times, most recently from 5a8726c to 388f872 Compare August 20, 2026 10:02
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Rebased onto current upstream master and force-updated the existing branch with --force-with-lease. The fork branch had no commits from other contributors before the update.

Local verification after the rebase:

  • GROUP=QA julia --startup-file=no --project=lib/<package> -e 'using Pkg; Pkg.test()' passed for all nine affected leaves: OrdinaryDiffEqDefault, OrdinaryDiffEqExtrapolation, OrdinaryDiffEqFeagin, OrdinaryDiffEqFunctionMap, OrdinaryDiffEqIMEXMultistep, OrdinaryDiffEqPDIRK, OrdinaryDiffEqPRK, OrdinaryDiffEqQPRK, and OrdinaryDiffEqTaylorSeries.
  • The reexport contract passed 5/5 in IMEXMultistep, PDIRK, PRK, and QPRK.
  • JET and Aqua passed in every affected leaf; the existing allocation checks remained either passing or declared broken.
  • Runic check, typos on changed files, and git diff --check passed.
  • julia --startup-file=no --project=docs docs/make.jl passed after instantiating the existing docs environment. Documenter emitted the repository's existing uncatalogued-docstring and large-page warnings but exited 0.

The new hosted checks are running on commit ChrisRackauckas-Claude@388f872.

@ChrisRackauckas-Claude
ChrisRackauckas-Claude force-pushed the restore-sciml-base-reexports branch from 388f872 to 09ce3f5 Compare August 20, 2026 19:06
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Rebased this branch onto current master at 0f6e7d1f8b.

The docs examples now exercise the leaf-package API directly:

  • the shared IMEX example imports SplitODEProblem and solve from OrdinaryDiffEqIMEXMultistep;
  • the QPRK example imports ODEProblem and solve from OrdinaryDiffEqQPRK and defines its previously missing f;
  • the TaylorSeries example imports ODEProblem and solve from OrdinaryDiffEqTaylorSeries.

Local verification after the rebase:

  • all nine affected leaf packages: GROUP=Core passed;
  • OrdinaryDiffEq docs build with doctests: passed;
  • Runic on changed Julia files: passed;
  • typos and git diff --check: passed.

The earlier broad CI failures were from the older base and included existing numerical/AD failures and stale QA metadata; this push should provide a fresh result on current master.

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

@ranocha both points taken — pushed a11137f, which replaces the hand-picked list with a rule.

The rule (documented in the new docs/src/api/reexports.md, rendered under APIs): a SciMLBase name is re-exported iff it is part of the user-facing common interface, in five closed categories:

  1. Problem and function types — every concrete …Problem/…Function SciMLBase exports. Mechanical test: name ends in Problem/Function, type is not abstract, not a dispatch tag (Abstract…, Standard…).
  2. Solving and solution inspection — solve, solve!, init, step!, remake, ReturnCode, successful_retcode, stats types, specialization/initialization options.
  3. Callbacks — the callback types and root-finding options.
  4. Integrator interface — the verbs you call inside a callback or an init/step! loop: u_modified!, add_tstop!, add_saveat!, set_u!, set_t!, set_proposed_dt!, get_du, get_proposed_dt, terminate!, reinit!, savevalues!, auto_dt_reset!, …
  5. Ensembles — ensemble algorithms and EnsembleAnalysis.

Everything else stays behind SciMLBase., and the exclusions are categories rather than case-by-case calls: abstract types (dispatch hooks for package authors), solver-author API (isinplace, has_jac, allowscomplex, build_solution, wrapper/cache types, macros — the interface a new solver package implements, not one a user calls), and internal dispatch tags.

That answers both of your questions directly:

  • "one could also set up a SplitODEProblem with OrdinaryDiffEqFeagin.jl" — yes, and now you can again. The list is identical in all nine sublibraries, so problem setup never depends on which solver package you loaded:
    julia> using OrdinaryDiffEqFeagin
    julia> Base.isexported.(Ref(OrdinaryDiffEqFeagin), (:SplitODEProblem, :DAEProblem, :EnsembleProblem))
    (true, true, true)
  • "why callback constructors but not u_modified!?" — that asymmetry is gone; category 4 covers the callback-authoring API. u_modified!, add_tstop!, get_du etc. are exported from every sublibrary. The line is now "does a user write this in a script" (in) vs "does a solver package implement this" (out), not a judgement per name:
    julia> Base.isexported.(Ref(OrdinaryDiffEqFeagin), (:u_modified!, :get_du, :isinplace))
    (true, true, false)

The rule is enforced, not just written down — test/qa/qa_tests.jl re-derives category 1 from a live SciMLBase, checks categories 2–5 are still exported by SciMLBase, and asserts all sublibraries and the docs page list exactly the same names. So a new SciMLBase problem type, or one sublibrary drifting from the others, fails CI instead of surprising a user. I verified it discriminates: perturbing one package's list gives 13 pass / 1 fail, clean tree gives 14 pass.

Not blanket @reexport using SciMLBase, though: 118 names instead of SciMLBase's 463 exports, and new SciMLBase exports do not leak in silently — CI flags them for a decision.

Sublibraries that still re-export all of SciMLBase (Tsit5, Verner, BDF, …) are a superset of this list, so they are unaffected; migrating them to the rule narrows exports and is a separate, mechanical PR rather than something to mix into a regression fix.

Verification on this branch (Julia 1.12.4): full Pkg.test() for all nine sublibraries green, root GROUP=QA green (Quality Assurance Tests | 106 106), docs/make.jl builds clean, Runic + typos clean. Sorry for the delay in getting your CI unblocked.

@ChrisRackauckas-Claude ChrisRackauckas-Claude changed the title Re-export the ordinary SciMLBase ODE API from leaf solver sublibraries Re-export the SciMLBase common interface from leaf solver sublibraries, chosen by a documented rule Aug 21, 2026
@ChrisRackauckas-Claude
ChrisRackauckas-Claude force-pushed the restore-sciml-base-reexports branch 2 times, most recently from eeebe3a to 5dff2a6 Compare August 21, 2026 20:49
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Rebased onto master 13da423dd. Note the Spell Check with Typos failure here is not from this PR: master's #4267 added a local named ges in lib/GlobalDiffEq/src/glee/solve.jl, which typos rejects, so the repo-wide spell check fails on every branch cut from master. Fix: #4334 (one-identifier rename, GlobalDiffEq tests 97/97 green). This PR's spell check goes green once that lands and this branch is rebased.

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Second master-side blocker found while triaging this branch's CI: downgrade-sublibraries / test (lib/GlobalDiffEq) fails with UndefVarError: has_global_error not defined in SciMLBase — GLEE (#4267) extends a name that only exists from SciMLBase 3.49.0 while lib/GlobalDiffEq/Project.toml floors 3.48, so the minimum-version resolution picks 3.48.0. Reproduced locally (3.48.0 → UndefVarError; 3.49.0 → GlobalDiffEq tests 97/97) and fixed in #4336. Like the spell check, it fails on branches that touch none of that code.

@ChrisRackauckas-Claude

ChrisRackauckas-Claude commented Aug 21, 2026 •

Copy link
Copy Markdown
Member Author

CI triage. Every failing check on this branch also fails on PRs that touch none of this code, so none is caused by the re-export change. Cross-checked against #4334 (a one-identifier rename) and the unrelated #4333 / #4328 / #4327 / #4325:

red check also red on cause / tracking
Spell Check with Typos — (this PR only) master's #4267 added a local named ges; typos rejects it. Fix: #4334 — spell check passes there and fails here, which is the attribution proof
downgrade-sublibraries (lib/GlobalDiffEq) #4334 GLEE extends SciMLBase.has_global_error, which exists only from SciMLBase 3.49.0, while the floor is 3.48. Reproduced locally (3.48.0 → UndefVarError; 3.49.0 → 97/97). Fix: #4336
downgrade-sublibraries (lib/OrdinaryDiffEqBDF) #4334, #4333, #4328, #4327, #4325 master's #4266 added lhl_factorization_tests.jl, which does using SciMLOperators while BDF declares it nowhere, so the file cannot load. This branch does not touch BDF (git diff master -- lib/OrdinaryDiffEqBDF is empty). Reproduced locally on clean master, in the ordinary env too. Fix: #4375
downgrade-sublibraries (lib/OrdinaryDiffEqNonlinearSolve) #4334, #4333, #4328, #4327, #4325 #4278
tests / Regression_I (1, lts, pre) #4333, #4328, #4327, #4325 test/Regression_I/newton_krylov_roundoff.jl: successful_retcode returns false, i.e. the Newton-Krylov DAE solve does not converge. Untouched by this PR (git diff master -- test/Regression_I/ is empty), and a re-export cannot change convergence
tests / AD (1, lts) #4333, #4328, #4327, #4325 master-side
tests / InterfaceV (1, lts, pre) #4334, #4333, #4328, #4327, #4325 Illegal conversion of a JLArray to a Ptr — #4179
sublibrary-ci / OrdinaryDiffEqTaylorSeries [QA] #4327 Aqua persistent-tasks; red on master since 2026-08-03 — #4277
SciMLSensitivity.jl/Core1 #4333, #4328, #4327, #4325 Mooncake with MooncakeAdjoint errors in concrete_solve_derivatives.jl:451 (261 passed, 1 errored). Core4 and Core5 pass here
PositiveIntegrators.jl / ProbNumDiffEq.jl downstream #4334, #4333, #4328, #4327, #4325 Unsatisfiable requirements ... LinearSolve in the downstream clone step

Updated as later jobs finished; no new failure has been attributable to this PR.

Green here and directly relevant: all 42 sublibrary-ci jobs for the nine changed sublibraries, Runic, runic-suggestions, Documentation, benchmark, and the rest of downgrade-sublibraries.

Local verification of this branch (Julia 1.12.4): Pkg.test() green for all nine sublibraries; root GROUP=QA green (Quality Assurance Tests | 106 106, which includes the new rule-enforcement testset); docs/make.jl clean; Runic + typos clean.

@ChrisRackauckas

Copy link
Copy Markdown
Member

@ranocha fine with this contract?

Comment thread docs/src/api/reexports.md Resolved
@ranocha

ranocha commented Aug 24, 2026

Copy link
Copy Markdown
Member

@ranocha fine with this contract?

The rule looks reasonable, thanks 👍

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

CI has finished on all three branches, so the attribution is now exact rather than provisional.

Failing-check sets, compared against two branches that change essentially nothing (#4334 renames one local; #4336 changes one compat entry):

#4272: 150 pass, 17 fail
#4334: 114 pass, 15 fail
#4336: 114 pass, 15 fail

failing on #4272 but on neither #4334 nor #4336:
  sublibrary-ci / lib/OrdinaryDiffEqTaylorSeries [QA] / Julia 1

16 of the 17 failures are byte-identical to the ones a one-identifier rename produces. The remaining one is the Aqua persistent-tasks failure tracked in #4277 — red on master since 2026-08-03, and red on #4327 as well; it is absent from #4334/#4336 only because sublibrary-ci does not schedule that job for branches that do not touch TaylorSeries, not because it passes there.

Master-side fixes opened while triaging this branch, each with failing-before / passing-after evidence:

blocker fix
ges fails the repo-wide spell check #4334
GlobalDiffEq floors SciMLBase 3.48 but uses has_global_error (3.49+) #4336
BDF LHL test cannot load (SciMLOperators undeclared), and tests the registered FIRK rather than the in-repo one #4375

With those three merged, downgrade-sublibraries (GlobalDiffEq), downgrade-sublibraries (BDF) and Spell Check go green here. What would remain is pre-existing and tracked: InterfaceV (#4179), TaylorSeries QA (#4277), NonlinearSolve downgrade (#4278), plus Regression_I, AD, SciMLSensitivity/Core1 and the two downstream jobs, which fail identically on #4333, #4328, #4327 and #4325 and are not tracked by an issue yet — say the word and I will bisect them.

@ChrisRackauckas-Claude
ChrisRackauckas-Claude force-pushed the restore-sciml-base-reexports branch from 5dff2a6 to eba4e25 Compare August 25, 2026 21:39
@ChrisRackauckas-Claude
ChrisRackauckas-Claude force-pushed the restore-sciml-base-reexports branch from eba4e25 to e7a8ed2 Compare August 25, 2026 21:42
@ChrisRackauckas-Claude

ChrisRackauckas-Claude commented Aug 26, 2026 •

Copy link
Copy Markdown
Member Author

The failed Julia LTS Regression_I job is not reproducible, so I did not change the Hairer4 tolerance.

Evidence:

The initial direct 1.10.12 single-file attempt used a cross-version manifest/depot and is not valid evidence; the clean-depot full-group run above is authoritative.

AI-Agent: OpenAI Codex
Codex-Session-ID: 01a03a11-47c2-77e0-858b-167004f0b79c

ChrisRackauckas and others added 7 commits August 26, 2026 16:12
The public-API hardening PRs (SciML#4123, SciML#4124, SciML#4126, SciML#4128, SciML#4131, SciML#4132,
sublibraries, so `using OrdinaryDiffEqFeagin` (and the others) no longer
provides `ODEProblem`/`solve`. Re-export the names needed for ordinary
ODE usage (problem/function types, solve/init/step!, remake, ReturnCode,
callbacks) rather than the whole SciMLBase surface, add Reexport back as
a dependency, approve exactly those names in each QA config, and test
that they are exported. Patch-bump the seven sublibraries that already
shipped the regression.

Fixes SciML#4269

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
Review asked two things: cover everything a user needs to set up any
problem these solvers accept, and replace the case-by-case name list with
a rule that can be stated and does not depend on what each package
happened to export in the past.

The rule: a SciMLBase name is re-exported iff it is part of the
user-facing common interface, in five closed categories -- every concrete
problem and function type, the solve and solution-inspection API,
callbacks, the integrator interface, and ensembles. Solver-author API
(traits, `build_solution`, wrappers, macros), abstract types, and
internal dispatch tags stay behind the `SciMLBase.` qualifier. That
covers the surface DifferentialEquations.jl exposes, so `SplitODEProblem`
and the callback-authoring verbs such as `u_modified!` are available from
every sublibrary rather than only from the one that solves that problem
type.

docs/src/api/reexports.md states the rule and lists the names, and the
list is now identical in all nine sublibraries. test/qa/qa_tests.jl
enforces it: it re-derives the mechanical category (concrete problem and
function types) from a live SciMLBase, and checks the sublibraries and
the docs page against each other, so a new SciMLBase problem type or a
drifting sublibrary fails CI instead of surprising a user.

Minor-bump the four sublibraries whose registered version predates these
exports; the other five already have a pending minor bump.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
Use the documented Common Interface as the exact source of problem and function reexports, and enforce the contract across all selective solver packages.

Codex-Session-ID: 01a03a11-47c2-77e0-858b-167004f0b79c

Co-Authored-By: Chris Rackauckas <[email protected]>

Co-Authored-By: Claude <[email protected]>

Claude-Session: https://claude.ai/code/session_01WiHL8AqRSy2VQZF6j68ovM
@ChrisRackauckas-Claude
ChrisRackauckas-Claude force-pushed the restore-sciml-base-reexports branch from e7a8ed2 to 4997b0a Compare August 26, 2026 20:34
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

CI audit for 4997b0a669bc74f8932d4609726b4d142b799954

The reexport-specific verification is green:

  • The new contract test discriminates the change: 13 passed / 1 failed before the narrowing, then 14 / 14 passed with this commit.
  • Local root GROUP=QA passed 106 / 106.
  • Local docs build, Runic 1.9.0, typos, and git diff --check passed.
  • Core tests passed for all affected selective sublibraries except PDIRK, whose existing registered-version skew was reproduced on clean master. The reexport assertion itself passed in the PDIRK downgrade job.
  • GitHub completed every non-GPU check: 141 successful, 24 failed, and 3 skipped/neutral. Two GPU jobs remain queued because no GPU runner is available.

All 24 red checks reproduce independently of this reexport diff:

  • 4 ModelingToolkit downstream jobs: incompatible OrderedCollections compat between StateSelection 1 and current ModelingToolkit/ModelingToolkitBase. First bad ModelingToolkit commit: SciML/ModelingToolkit.jl@9d90141
  • 5 SciMLSensitivity jobs plus ProbNumDiffEq: Symbolics 7.36.0 metadata-constructor regression. The fix is merged but unreleased: Fix metadata rename with current SymbolicUtils JuliaSymbolics/Symbolics.jl#1960 and JuliaSymbolics/Symbolics.jl@2a4bf81
  • PositiveIntegrators downstream: its LinearSolve compat allows only version 3 while this monorepo now requires version 5. Clean-master resolution reproduced the conflict.
  • OrdinaryDiffEqNonlinearSolve downgrade: its OrdinaryDiffEqDifferentiation 3.9 floor predates the matrix-free diagnostic support first shipped in 3.10. Clean master reproduces the jacobian!(NullOperator, ...) error; the focused floor-raise run remains in progress, so no pass is claimed.
  • 5 PDIRK jobs: registered OrdinaryDiffEqNonlinearSolve 2.9.0 lacks the guard present in monorepo 2.9.1. First bad commit: e4f0c5e
  • StochasticDiffEq downgrade plus DelayDiffEq SDDE: the same cache guard rejects valid SciMLBase.DECache implementations. Existing focused fix: 612afcf327
  • 3 InterfaceV jobs: JLArrays 0.3.2 illegally converts a JLArray to Ptr. Upstream revert: JuliaGPU/GPUArrays.jl@02730cb
  • 2 Regression_I jobs: Hairer4 roundoff regression on clean master, first bad at 5a2cb94

Workflow runs:

OpenAI Codex Session ID: 01WiHL8AqRSy2VQZF6j68ovM

@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review August 27, 2026 06:52
@ChrisRackauckas
ChrisRackauckas merged commit 93b9598 into SciML:master Aug 27, 2026
145 of 170 checks passed
ChrisRackauckas added a commit that referenced this pull request Aug 27, 2026
…n interface (#4395)

#4272 restored a uniform SciMLBase reexport surface across nine leaf solver packages via
`@reexport using SciMLBase: ...` (~60 names each). That grows the public API, so these are
minor bumps.

Three of them had been given patch bumps, which understates newly exported public API and
leaves downstreams unable to floor on it; corrected to minor here.

Feagin, FunctionMap and PRK were already bumped correctly and are untouched.



Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: Claude <[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.

OrdinaryDiffEqFeagin.jl broken with v2.2.1

3 participants