Skip to content

Resolve OrdinaryDiffEqDefault against the local sublibraries - #4514

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix/default-sources-core-4.18
Sep 12, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix/default-sources-core-4.18

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Sep 11, 2026 •

Copy link
Copy Markdown
Member

Draft — ignore until reviewed by @ChrisRackauckas.

Rescoped. This PR previously also bumped OrdinaryDiffEqCore to 4.18.0 and raised four compat floors to "4.18". Both are obsolete: Core 4.17.1 is registered and does contain the new helpers, and #4525 already raised the floors of Default, FIRK, Rosenbrock and StochasticDiffEqCore to 4.17.1. The PR is now the one piece that has not been done.

What changed

Adds a [sources] block to lib/OrdinaryDiffEqDefault/Project.toml. One file, seven lines.

Why

lib/OrdinaryDiffEqDefault/Project.toml has no [sources] block, unlike 44 of the 59 sublibraries. Its CI therefore resolves OrdinaryDiffEqCore and the other lib/ dependencies from the registry rather than from the checkout, so a change to local Core is never exercised against Default before merge.

That is how #4502 shipped broken. It added _is_identity_massmatrix to Core and used it from Default in the same commit, and the lane that should have caught it was testing Default against an already-released Core. The root-level CI stayed green only because the root Project.toml devs both.

The load failure itself is already fixed. This change closes the gap that let it through, so the next Core internal introduced the same way is caught before merge instead of after release.

The entries

Every dependency of OrdinaryDiffEqDefault that lives in lib/: the six runtime deps and the DiffEqDevTools test extra, which is the same pattern the sibling sublibraries follow.

Verification

Before, resolving lib/OrdinaryDiffEqDefault on master:

Core resolved = 4.17.1     (from the registry)

After, on this branch:

OrdinaryDiffEqRosenbrock  2.7.3     LOCAL PATH
DiffEqBase                7.21.1    LOCAL PATH
OrdinaryDiffEqCore        4.17.1    LOCAL PATH
LOADED OK  _is_identity_massmatrix(I)=true

The Project.toml re-parses cleanly with TOML.parsefile, all seven [sources] paths resolve to existing directories, and Pkg.instantiate reports the lib/ dependencies as path-tracked rather than registry versions. Full test suite not re-run; no source changed.

Follow-up not in this PR

14 other sublibraries also lack a [sources] block and have the same exposure. Worth a separate audit.

🤖 Generated with Claude Code (model: claude-opus-5[1m])

https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

lib/OrdinaryDiffEqDefault/Project.toml has no [sources] block, unlike 44 of
the 59 sublibraries. Its CI therefore resolves OrdinaryDiffEqCore and the
other lib/ dependencies from the registry rather than from the checkout, so a
change to local Core is never exercised against Default before merge.

That is how SciML#4502 shipped broken: it added _is_identity_massmatrix to Core and
used it from Default in one commit, and the lane that should have caught it
was testing Default against an already-released Core.

The entries cover every dependency that lives in lib/: the six runtime deps
plus the DiffEqDevTools test extra, matching the pattern the sibling
sublibraries use.

The load failure itself is already fixed: Core 4.17.1 is registered with the
new helpers and SciML#4525 raised the four consumers' floors to it. This change is
only about closing the CI gap that let it through.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Agent-Harness: Claude Code
Agent-Model: claude-opus-5[1m]
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R
@ChrisRackauckas
ChrisRackauckas force-pushed the fix/default-sources-core-4.18 branch from e524944 to 16b7211 Compare September 12, 2026 11:04
@ChrisRackauckas ChrisRackauckas changed the title Resolve OrdinaryDiffEqDefault against the local OrdinaryDiffEqCore (fix master sublibrary CI) Resolve OrdinaryDiffEqDefault against the local sublibraries Sep 12, 2026
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review September 12, 2026 12:37
@ChrisRackauckas
ChrisRackauckas merged commit de0b30f into SciML:master Sep 12, 2026
136 of 139 checks passed
ChrisRackauckas added a commit that referenced this pull request Sep 13, 2026
- 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)
- Resolve OrdinaryDiffEqDefault against the local sublibraries (#4514)
- NonlinearSolveAlg: stale-Jacobian retry + rejected-step W reassembly (carries #4282 to current master) (#4505)
- Do not seed a retry from the previous-step interpolant (#4473)
- Say why the linear path ignores new_W_dt_cutoff (#4527)
- Carry the QNDF2 difference array across steps (#4526)
- Pass Θ = 0, not the absolute time, to the AN5 startup interpolant (#4534)
- Make the stabilized-RK step cap and eigenvalue tolerance direction-agnostic (#4536)



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