Skip to content

Bump DiffEqBase to 7.21.4 (release #4688) - #4829

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:bump-diffeqbase-7.21.4
Oct 14, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:bump-diffeqbase-7.21.4

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Ignore until reviewed by @ChrisRackauckas.

What changed and why

DiffEqBase 7.21.3 → 7.21.4 (patch). The only DiffEqBase commit since 7.21.3 was registered (2026-09-29, after #4686) is #4688, a bug fix (CallbackCache non-differentiable for Mooncake). It isn't registered yet, so SciMLSensitivity CI still resolves DiffEqBase 7.21.3 and Core1 "Mooncake with MooncakeAdjoint" still fails with MethodError: no constructors have been defined for Any (https://github.com/SciML/SciMLSensitivity.jl/actions/runs/37942682512, which started after #4688 merged).

Verification

  • CI before the fix: the run linked above resolved DiffEqBase v7.21.3 and Mooncake v0.5.63, and errored at test/Core1/concrete_solve_derivatives.jl:451.
  • Locally, Julia 1.13.1, SciMLSensitivity master 96023ee4c, DiffEqBase dev'd from OrdinaryDiffEq master (includes Mark CallbackCache as non-differentiable for Mooncake #4688), Mooncake v0.5.63: ran include("test/Core1/concrete_solve_derivatives.jl")
Test Summary:              | Pass  Broken  Total      Time
concrete_solve_derivatives |   82       4     86  32m17.2s

(The 4 broken are existing @test_brokens.)

Not verified

  • I didn't rerun the full SciMLSensitivity Core1 group, only the file that failed.
  • Registration still has to be triggered once this merges.

Risk assessment

  • Risk: low
  • Blast radius: version number only; releases one already-merged bug fix.
  • Evidence: above.
  • Independent review: pending
  • Merge: auto-merge candidate once reviewed (version bump only)

🤖 Generated with Claude Code (model: claude-opus-5-5[1m]) https://claude.ai/code/session_011aK5Xvp9NpdkzKuEwtiMGd

Independent review: Devin Fusion (fusion-claude-opus-5-5-high-sidekick-swe-2-medium) rated it low, verdict MERGE: #4829 (comment)

Releases SciML#4688 (CallbackCache non-differentiable for Mooncake), the only
DiffEqBase change since 7.21.3. SciMLSensitivity Core1 "Mooncake with
MooncakeAdjoint" keeps failing until it is registered.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Agent-Harness: Claude Code (subagent of ci-green head)
Agent-Model: claude-opus-5-5[1m]
Agent-Session: https://claude.ai/code/session_011aK5Xvp9NpdkzKuEwtiMGd
@ChrisRackauckas

Copy link
Copy Markdown
Member

🤖 Automated comment from an AI agent running as @ChrisRackauckas — not written or reviewed by Chris.

Independent review (Devin CLI 3000.11.3, model fusion-claude-opus-5-5-high-sidekick-swe-2-medium): MERGE, risk low.

Full review

VERDICT: MERGE
RISK: low

PR: #4829 — one-line change, lib/DiffEqBase/Project.toml:4 version = "7.21.3" → "7.21.4". No linked issue, so there is no tracking issue to check sibling work against.

Blocking findings

None.

Non-blocking findings

  1. The PR body leaves out the red CI checks (confirmed by running). The PR's CI has 8 failing jobs. I checked the DiffEqBase ones, and they also fail on master, so this bump did not cause them:
  2. The attribution format doesn't match the CLAUDE.md template (from reading). The body opens with "Ignore until reviewed by @ChrisRackauckas." instead of the standard > 🚧 **UNREVIEWED …** banner with harness and model lines. The footer gives no harness version. This is cosmetic and doesn't affect the change.
  3. Registration is a separate step (from reading). Merging alone does not fix SciMLSensitivity CI. Someone still has to trigger the DiffEqBase registration afterwards, and the PR body says so.

What I ran

All runs used TMPDIR set to the review tmp dir. Scratch files are in ../scratch.

  • Diff: git diff origin/master...HEAD (after git fetch origin master). The only change is the version line. git log HEAD..origin/master -- lib/DiffEqBase is empty, so master has moved on but nothing new has landed in DiffEqBase.
  • "Only Mark CallbackCache as non-differentiable for Mooncake #4688 since 7.21.3": confirmed by running.
    • git log --oneline 14f664a10..HEAD -- lib/DiffEqBase returns only 0559b2b (Mark CallbackCache as non-differentiable for Mooncake #4688) and the bump commit.
    • git rev-parse 14f664a10:lib/DiffEqBase gives 4e3938f036cf93f3c6acf7a7008848675d3d130f. That equals the registered git-tree-sha1 for 7.21.3 in General/D/DiffEqBase/Versions.toml, and 7.21.3 is the latest registered version. So 7.21.4 is the correct next number and nothing registered gets skipped.
    • Mark CallbackCache as non-differentiable for Mooncake #4688 is purely additive: one Mooncake.tangent_type(::Type{Union{Nothing,C}}) where {C<:CallbackCache} = NoTangent method in ext/DiffEqBaseMooncakeExt.jl, plus tests. There are no dependency, compat or API changes. A patch bump fits SemVer.
  • The PR's "before" evidence: confirmed by running. gh run view --job 113860944468 --log for https://github.com/SciML/SciMLSensitivity.jl/actions/runs/37942682512 (created 2026-10-09T14:14Z, after Mark CallbackCache as non-differentiable for Mooncake #4688 merged at 13:35Z). It resolves DiffEqBase v7.21.3 and Mooncake v0.5.63, and the test "Mooncake with MooncakeAdjoint" fails with MethodError: no constructors have been defined for Any.
  • "After" evidence from this PR's own CI. gh run view --job 114011193106 --log, the SciMLSensitivity Core1 downstream job, resolves DiffEqBase v7.21.4 from lib/DiffEqBase (dev'd) with Mooncake v0.5.63. Result: Core1 | 242 Pass, 6 Broken, 248 Total and "SciMLSensitivity tests passed", with 0 Test Failed or Error During Test lines. SciMLSensitivity Core2–5 also pass on this PR.
  • Local probe of the code that this release ships (scratch/probe.jl, Julia 1.12.7, DiffEqBase dev'd from this checkout, Mooncake 0.5.63):
    • pkgversion(DiffEqBase) == v"7.21.4", and DiffEqBaseMooncakeExt loads.
    • tangent_type(Union{Nothing, typeof(CallbackCache(2, Float64, Float64))}) == NoTangent.
    • tangent_type(Union{Nothing, Vector{Float64}}) is still Union{NoTangent, Vector{Float64}}, so the method does not catch other Unions.
    • A concrete CallbackCache still gets a real tangent (!== NoTangent).
    • Test.detect_ambiguities(ext; recursive=true) returns 0, and ambiguities between Mooncake and the ext involving the ext also return 0.
  • I killed no Julia processes because none of mine were left running. The Julia processes still on the host belong to other review sandboxes.

What I did not verify

  • I did not rerun the author's local include("test/Core1/concrete_solve_derivatives.jl") (Julia 1.13.1, 32 min). The PR's downstream Core1 CI job covers the same file with the dev'd DiffEqBase, and I relied on that instead.
  • I did not run test/AD/ad_tests.jl (the Mark CallbackCache as non-differentiable for Mooncake #4688 tests) locally. Mark CallbackCache as non-differentiable for Mooncake #4688 is already merged and reviewed, and is not part of this diff.
  • I did not open the logs for the non-DiffEqBase red jobs (GlobalDiffEq, OrdinaryDiffEqNonlinearSolve, Rosenbrock QA, GPU). This PR does not touch those packages, and changing a version number can't affect their test results.
  • I did not run the DiffEqBase lts failure locally. Calling it pre-existing rests on the master CI runs linked above.

🤖 Posted by an AI agent — harness: Devin CLI 3000.11.3 (review), Claude Code 2.1.285 (posting) · model: fusion-claude-opus-5-5-high-sidekick-swe-2-medium
Conversation: local Claude session 3c311569-dda6-4687-bc9f-65febb212c33 (fleet master)

@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review October 14, 2026 00:15
@ChrisRackauckas
ChrisRackauckas merged commit 437c054 into SciML:master Oct 14, 2026
268 of 276 checks passed
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