Skip to content

Fix SciMLBase reexport QA on Julia LTS - #4450

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:codex/fix-lts-reexport-qa
Aug 31, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:codex/fix-lts-reexport-qa

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

What changed and why

Make the SciMLBase re-export audit compatible with Julia 1.10 LTS. Julia 1.10 cannot introspect names declared only through SciMLPublic's @public backport, so the audit incorrectly rejected 15 valid, defined SciMLBase bindings; the test now checks native public status when Base.ispublic exists and binding availability on LTS.

git bisect identified the test's introducing commit as 93b9598.

Please ignore this draft until it has been reviewed by @ChrisRackauckas.

Failing before / passing after

Before the fix, on unmodified master at b7a983f325087c34d92c77e795bab337662894f3:

$ GROUP=QA julia +lts --project -e 'using Pkg; Pkg.test()'
Expression: isempty(setdiff(documented, exported))
Evaluated: isempty([:successful_retcode, :DEStats, :NLStats, :NullParameters,
  :AutoSpecialize, :FullSpecialize, :NoSpecialize, :FunctionWrapperSpecialize,
  :NoInit, :OverrideInit, :LeftRootFind, :RightRootFind, :NoRootFind,
  :check_error!, :set_ut!])
Test Summary:           | Pass  Fail  Total
Quality Assurance Tests |  105     1    106
ERROR: Package OrdinaryDiffEq errored during testing

With this fix, the same group and Julia channel pass:

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

The focused test also changes from 13 pass / 1 fail to 14 / 14.

Verification

$ GROUP=QA julia +release --project -e 'using Pkg; Pkg.test()'
Test Summary:           | Pass  Total   Time
Quality Assurance Tests |  108    108  17.3s
Testing OrdinaryDiffEq tests passed

$ julia +1.12 --startup-file=no -m Runic --check test/qa/reexport_tests.jl
$ typos test/qa/reexport_tests.jl
$ git diff --check
runic=0 typos=0 diff_check=0

Not verified

The docs build, GPU jobs, and unrelated test groups were not run because this changes only the version-aware QA assertion. Julia 1.10 cannot retain native public-name metadata, so that lane can prove the documented bindings exist but cannot independently distinguish public bindings from other defined bindings; Julia 1.12 continues to check Base.ispublic for every documented name.

Links

🤖 Generated with Codex (version unknown) (model: GPT-5; session: unknown)

Julia 1.10 cannot introspect public-only bindings declared through SciMLPublic, so the reexport audit incorrectly rejects valid SciMLBase API. Check native public status when Julia provides it and binding availability on LTS.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: OpenAI Codex <[email protected]>
Agent-Harness: Codex (version unknown)
Agent-Model: GPT-5
Agent-Session: unknown
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review August 31, 2026 16:10
@ChrisRackauckas
ChrisRackauckas merged commit e8290c0 into SciML:master Aug 31, 2026
128 of 129 checks passed
ChrisRackauckas added a commit that referenced this pull request Sep 7, 2026
- Add serial SDC solver family (OrdinaryDiffEqSDC) (#4208)
- Give each threaded complex stage its own JVP operator (#4430)
- Fix the adaptive error estimates of MRIGARKERK22a and MIS (#4232)
- Skip sparsity prep for matrix-free jac_prototype operators (#4445)
- Format differentiation tests (#4446)
- Fix SciMLBase reexport QA on Julia LTS (#4450)



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]>
ChrisRackauckas added a commit that referenced this pull request Sep 7, 2026
- Add serial SDC solver family (OrdinaryDiffEqSDC) (#4208)
- Give each threaded complex stage its own JVP operator (#4430)
- Fix the adaptive error estimates of MRIGARKERK22a and MIS (#4232)
- Skip sparsity prep for matrix-free jac_prototype operators (#4445)
- Format differentiation tests (#4446)
- Fix SciMLBase reexport QA on Julia LTS (#4450)



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]>
ChrisRackauckas added a commit that referenced this pull request Sep 7, 2026
- Fix SciMLBase reexport QA on Julia LTS (#4450)
- Preserve conditioning in OOP no-init solves (#4438)
- Read the test group from GROUP like the CI passes it (#4447)
- Raise root GPU test timeout (#4449)
- Fix default SDE dt vector lengths (#4454)
- Bump DiffEqDevTools to 3.6.2 (#4461)
- DiffEqBase: wrap mass-matrix problems on the finite-difference promote_f path (#4459)
- Preserve the DAE step start during callback interpolation (#4466)
- Release DiffEqBase 7.20.1 (#4474)
- Release OrdinaryDiffEqCore 4.16.1 (#4475)



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]>
ChrisRackauckas referenced this pull request Sep 7, 2026
* Resolve symbolic idxs in the integrator interpolant

`integrator(t; idxs = sym)` passed `idxs` straight to the dense-output
interpolant, which only accepts integer component indices, so any symbolic index
threw `ArgumentError: invalid index` and an observed equation could never be
retrieved. `sol(t; idxs = sym)` has resolved both for a long time.

Symbolic `idxs` now route to `SciMLBase.symbolic_interpolation`, which evaluates
the current step's interpolant and applies the symbolic getter to it. Integer,
`nothing`, and in-place calls are unchanged.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_019wKpyZHy9u4QhR4ePiVmam

* Route symbolic idxs for DelayDiffEq integrators too

`DDEIntegrator` has the same gap `ODEIntegrator` did: `integrator(t; idxs = sym)`
went straight to the dense-output interpolant, which only accepts integer
component indices, so symbolic indexes threw and observed equations were
unreachable.

The predicate moves to the public `SciMLBase.has_symbolic_idxs` rather than
staying an OrdinaryDiffEqCore internal, since DelayDiffEq, Sundials and
ODEInterfaceDiffEq all need the same decision.

`HistoryODEIntegrator` is deliberately left alone: it implements none of the
`SymbolicIndexingInterface` methods a `DEIntegrator` needs, so symbolic indexing
against it is unsupported before and after this change.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_019wKpyZHy9u4QhR4ePiVmam

* Require SciMLBase 3.53 for has_symbolic_idxs

`has_symbolic_idxs` did not make it into the 3.52.0 release, so the floor moves
to the version that carries it.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_019wKpyZHy9u4QhR4ePiVmam

---------

Co-authored-by: ChrisRackauckas-Claude <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
ChrisRackauckas added a commit that referenced this pull request Sep 11, 2026
- Add serial SDC solver family (OrdinaryDiffEqSDC) (#4208)
- Give each threaded complex stage its own JVP operator (#4430)
- Fix the adaptive error estimates of MRIGARKERK22a and MIS (#4232)
- Skip sparsity prep for matrix-free jac_prototype operators (#4445)
- Format differentiation tests (#4446)
- Fix SciMLBase reexport QA on Julia LTS (#4450)
- Preserve conditioning in OOP no-init solves (#4438)
- Read the test group from GROUP like the CI passes it (#4447)
- Raise root GPU test timeout (#4449)
- Fix default SDE dt vector lengths (#4454)



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