Repository navigation
Keep the system tspan through SDE structural simplification - #5091
Merged
ChrisRackauckas merged 1 commit intoSep 7, 2026
Merged
Conversation
The SDE-with-brownians __mtkcompile path rebuilds the System field by field rather than through @set!, so it dropped the tspan field added in SciML#5085. Carry it, raise the ModelingToolkitBase floor to the version that has the field, and run the tspan suite from the root InterfaceII group, where ModelingToolkit is loaded and this path is reachable. Co-Authored-By: Chris Rackauckas <[email protected]> Co-Authored-By: Claude Opus 5 <[email protected]> Agent-Harness: Claude Code 2.1.263 Agent-Model: claude-opus-5 Agent-Session: https://claude.ai/code/session_01H5RuLDtEazwTKPkNbPeZVu Claude-Session: https://claude.ai/code/session_01H5RuLDtEazwTKPkNbPeZVu
ChrisRackauckas
marked this pull request as ready for review
September 7, 2026 11:06
ChrisRackauckas
added a commit
that referenced
this pull request
Sep 10, 2026
- Keep the system tspan through SDE structural simplification (#5091) - Fixes to better support 32-bit builds (#5060) - Add 32-bit InterfaceI CI lane via test_groups.toml (#5092) - Mark `InitializationMetadata` inactive for Enzyme (#5094) - Require Symbolics 7.39.1 (32-bit hash fix) (#5096) - Qualify unbound_inputs @ref in the interactive simulation tutorial (#5099) 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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ignore this PR until reviewed by @ChrisRackauckas.
The follow-up promised in #5085. That PR was confined to
lib/ModelingToolkitBaseso the root compat floor would not point at an unregistered version;ModelingToolkitBasev1.69.0 merged into General at 10:01Z today, so the root half can land now.The gap
src/systems/systems.jlrebuilds theSystemfield by field on the SDE-with-brownians__mtkcompilepath rather than going through@set!, so it dropped thetspanfield. Measured withModelingToolkitloaded:It carries
tstopsalready; this addstspanalongside it.Why the MTKBase suite could not catch it
The offending method is
MTKBase.__mtkcompile, defined in the root package. It only exists onceModelingToolkititself is loaded, solib/ModelingToolkitBase/test/system_tspan.jlpasses on its own. Rather than duplicate that file, this runs it from the rootInterfaceIIgroup through@mtktestset, which doesusing ModelingToolkitbefore including it. That is exactly the context where the path is reachable.Failing before, passing after
The suite, run with
ModelingToolkitloaded, on this branch without thesystems.jlline:Six failures,
SDEProblemandSDDEProblemacross the three specialization forms. With the line restored:Runic --check .andtyposboth exit 0.Not verified
InterfaceIIgroup was not run end to end locally; I ran the file this PR adds to it, in the sameusing ModelingToolkitcontext the group uses. CI covers the rest.Versions
ModelingToolkit11.41.0 → 11.42.0, and itsModelingToolkitBasefloor 1.64 → 1.69. The floor bump is required, not cosmetic:src/systems/systems.jlnow passestspan =to theSystemconstructor, which only accepts it from 1.69.0.Downstream packages that want to rely on a system carrying its own timespan should depend on
ModelingToolkit11.42.0 rather than 11.41, since an 11.41 user can resolveModelingToolkitBase1.68 and not have the field at all.🤖 Generated with Claude Code
https://claude.ai/code/session_01H5RuLDtEazwTKPkNbPeZVu