Repository navigation
Description
SciML CI conformance audit & remediation tracker
Complete audit of how SciML repos conform to the shared reusable-workflow CI system in SciML/.github (workflows + inputs documented in the README). Surveyed 2026-06-05: 133 non-monorepo Julia repos + 11 monorepos. Each section is independently actionable — an agent can take one category and work the checklist. General rules for every PR are at the bottom.
⚠️ BLOCKER: @v1 is stale — fix this first
The whole rollout consumes SciML/.github/...@v1, but v1 is stuck at an old commit (4ccf4d5) that lacks the project-model sublibrary workflow and the four reusable workflows merged below. The moving-tag automation (major-version-tag.yml) is misfiring — runs for v1.0.0/v1.1.0 failed, v1.2.0's run is stuck queued, so v1 never advanced. Even v1.2.0 predates the four new workflows.
Action (release owner): cut a fresh tag from current master (has everything) and ensure v1 moves to it; investigate/repair major-version-tag.yml (the GITHUB_TOKEN tag-push or the queued run). Until v1 points at current master, every @v1 caller below — and the 11 sublibrary-CI migration PRs — will fail or no-op.
Recently merged infra (now on master, pending the retag above)
sublibrary-project-tests.yml— project-model sublibrary CI w/ change detection + fulltest_groups.tomlmatrix (ci: reusable sublibrary-project-tests.yml (change detection + full test_groups matrix) #54)tagbot.yml— reusable TagBot (ci: add reusable tagbot.yml #58)dependabot-automerge.yml— auto-merge green Dependabot PRs (ci: add reusable dependabot-automerge.yml #59)docs-preview-cleanup.yml— delete closed-PR Documenter previews (ci: add reusable docs-preview-cleanup.yml #60)- self-CI (actionlint + shellcheck + detection-script tests) (ci: self-test this repo (actionlint + shellcheck + detection-script tests) #57); README docs (docs(README): document the shared reusable-workflow CI system #55)
A. Not on centralized tests.yml (re-assessed 2026-06-05 — mostly N/A)
These wrappers are legitimately custom because of non-apt system deps; forcing them onto tests.yml would break their setup. Do not migrate:
- deSolveDiffEq.jl — has working
Tests.yml(r-lib/setup-r +Rscript install.packages("deSolve")+ LD_LIBRARY_PATH). Keep. - FEniCS.jl —
CI.ymlruns in thecmhyett/julia-fenicscontainer. Keep. - Pyomo.jl — the one genuine gap: no test workflow at all. Needs Python +
pip install pyomo(thetests.ymlapt-packageshook covers apt, not pip), so it needs a small custom CI job, not a centralized caller.
(Non-packages excluded: ColPrac, SciMLDocs, ModelingToolkitWorkshop_JuliaCon2024.)
B. downgrade disabled or missing (24 + 2) — largest gap
Downgrade.yml exists but is gated if: false ("waiting on dependency updates") in 24 repos, and absent in 2.
if: false — they fail. The point is to verify [compat] lower bounds are real. Per repo:
- Reproduce locally: pin every
[compat]dep to its lower bound (mirrorjulia-actions/julia-downgrade-compat), deleteManifest.toml,Pkg.resolve(),Pkg.test(). - Read failures (usually
MethodError/UndefVarError— a feature missing in the old version). - Raise the lower bound in
[compat]to the earliest version that has what the code uses. Do not loosen/skip tests. - Iterate to green; remove
if: false. PR = the[compat]bumps + re-enabled workflow.
Start with one (e.g. DASSL.jl or ExponentialUtilities.jl) to set the pattern, then fan out.
Automated-fix attempt (2026-06-05) — result: only 1/24 auto-fixable
Ran a two-pass automated converge+test pipeline (reproduce julia-downgrade-compat on 1.10 → auto-raise the lowest [compat] floors until it resolves → run the full suite at those floors → draft PR if green). After fixing harness bugs (skip stdlibs, merge [weakdeps], registry update, sequential to avoid depot races):
- PR opened (tested green): 1 — ODEInterfaceDiffEq#100 (thin wrapper, low runtime coupling).
- TEST_FAIL: 19 — floors now resolve, but the suite fails at runtime (e.g. ExponentialUtilities:
MethodError trunc(::Type{UInt64}, ::DoubleFloats.Double64)). The resolved floor of some dep is still too old for how the package uses it. - NO_CONVERGE: 4 — DiffEqFlux, MethodOfLines, NeuralPDE, SciMLSensitivity (deep transitive conflicts the auto-bumper can't resolve).
Conclusion: re-enabling downgrade here is NOT mechanically automatable. The auto-tool fixes resolution, but each repo then needs test-driven iterative bound-tightening (run suite → read the MethodError/feature-missing → bump that specific dep's floor → repeat) — real per-repo engineering, which is exactly why these were disabled. Tooling + per-repo logs retained (dg/ in the working tree).
Environment-blocked (not floor-fixable):
- MathML — needs
Statistics 1.11.1(Julia ≥1.11); downgrade runs on 1.10 → bump its downgradejulia-version, don't touch floors. - MATLABDiffEq — needs MATLAB installed; can't be CI-tested without it.
Non-compat failures (file as bugs, not downgrade):
- IRKGaussLegendre —
UndefVarError: PolInterp!(real code/test error). - FunctionProperties — suite fails at the original floors (0 bumps) = pre-existing 1.10 failure.
B1 — disabled (if: false)
- DASSL.jl
- DiffEqBayes.jl
- DiffEqCallbacks.jl
- DiffEqFlux.jl
- DiffEqGPU.jl
- DiffEqNoiseProcess.jl
- DiffEqParamEstim.jl
- DifferenceEquations.jl
- ExponentialUtilities.jl
- FunctionProperties.jl
- IRKGaussLegendre.jl
- JumpProcesses.jl
- LabelledArrays.jl
- MathML.jl
- MATLABDiffEq.jl
- MethodOfLines.jl
- ModelingToolkitNeuralNets.jl
- ModelingToolkitStandardLibrary.jl
- NeuralPDE.jl
- ODEInterfaceDiffEq.jl
- PDESystemLibrary.jl
- SBMLToolkit.jl
- SciMLSensitivity.jl
- Surrogates.jl
B2 — missing entirely (add Downgrade.yml → downgrade.yml@v1, then run the recipe)
- OptimalUncertaintyQuantification.jl
- SciMLLogging.jl
B3 — downstream disabled
- PureKLU.jl —
Downstream.ymlisif: false; investigate and re-enable.
C. Formatting — Runic (with exemptions)
Spellcheck has no gaps. Runic: the only non-monorepo previously flagged was Catalyst.jl — now exempt (see below), so no required Runic additions remain.
Runic exemptions (do NOT add runic.yml / do NOT reformat):
- Catalyst.jl and JumpProcesses.jl — maintainer (Sam Isaacson) keeps them on their own JuliaFormatter (
Format) setup. Documented in the README.
D. Docs CI — RESOLVED (was a false positive)
The original "12 repos with docs but no Documentation CI" was a detection artifact — the audit matched only the literal filename Documentation.yml. On inspection, all 12 already build & deploy docs via differently-named workflows (docs.yml, ci.yml, GPU.yml, Documenter.yml, …): ComponentArrays, ConcreteStructs, DiffEqFlux, DiffEqGPU, HighDimPDE, NeuralPDE, OrgMaintenanceScripts, ReservoirComputing, RootedTrees, SciMLSensitivity, Static, SymbolicAnalysis. No action needed (optional: migrate inline docs builds to documentation.yml@v1 for consistency — low priority, not a gap).
E. CompatHelper still present — monorepos (6)
CompatHelper is retired (Dependabot's Julia ecosystem drives [compat] bumps). Recipe: delete CompatHelper.yml; ensure .github/dependabot.yml has a julia block for each dir with a Project.toml (root + each lib/*).
- ModelingToolkit.jl
- DataDrivenDiffEq.jl
- Optimization.jl
- NonlinearSolve.jl
- LinearSolve.jl
- Corleone.jl
(Non-monorepos are already clean: 0 CompatHelper, 0 typos-ignores.)
F. Monorepo sublibrary CI migration → then retire sublibrary-tests.yml
Goal: one sublibrary workflow (the project model). 11 monorepos migrating to sublibrary-project-tests.yml@v1. PRs: OrdinaryDiffEq#3718, ModelingToolkit#4594, BoundaryValueDiffEq#499, NonlinearSolve#954, Corleone#77, DataDrivenDiffEq#611, RecursiveArrayTools#605, LinearSolve#1006, NeuralLyapunov#187, DiffEqProblemLibrary#192, Optimization#1216.
v1 retag is now done (v1.3.0). Sequence to converge on one workflow:
- Resolve the one ODE-specific gap:
sublibrary-tests.ymlpinsJULIA_DEPOT_PATH=~/.juliafor self-hosted depot consistency; the project-model path (tests.yml) does not. Either port a depot-pin/runner-aware option intotests.yml, or confirm via a real self-hosted GPU run (the #3718 caveat) that it isn't needed. - Verify CI on all 11 migration PRs and merge them (7 still reference
sublibrary-tests.yml@v1: OrdinaryDiffEq, ModelingToolkit, Optimization, NonlinearSolve, DiffEqProblemLibrary, BoundaryValueDiffEq, Corleone). - Only after no repo references it: delete
sublibrary-tests.ymlfrom SciML/.github (and prune the now-unused default group-matrix path incompute_affected_sublibraries.jlif desired — keep--projects-matrix). Removing a reusable workflow is breaking, so confirm zero consumers org-wide first.
G. Adopt reusable TagBot (org-wide)
tagbot.yml@v1 now exists; every repo still carries a bespoke TagBot.yml. Recipe: replace each with a tagbot.yml@v1 caller (keep the issue_comment/workflow_dispatch triggers); monorepos matrix over lib/* with subdir: lib/<pkg>. Mechanical; do in batches. (Lower priority than B/D/E.)
H. Adopt Dependabot auto-merge (optional)
dependabot-automerge.yml@v1 now exists. Add a DependabotAutoMerge.yml caller to repos where you want green Dependabot PRs (Actions/compat bumps) to merge automatically. Requires the repo to have auto-merge enabled + required status checks.
I. Adopt docs-preview-cleanup (docs repos)
docs-preview-cleanup.yml@v1 now exists. Add a DocPreviewCleanup.yml (on pull_request: [closed]) to repos that deploy Documenter PR previews, to keep gh-pages from bloating.
General rules for every remediation PR
- Branch off the default branch; never commit to master/main directly.
- Open as draft; body: "ignore until reviewed by @ChrisRackauckas".
- Run the relevant check locally and show it passing before claiming it works. Don't infer from inspection.
- Never skip/disable tests, loosen tolerances, or add typos-ignores to make a check pass — fix the underlying issue.
- Respect the Runic exemptions (Catalyst.jl, JumpProcesses.jl).
- Run Runic on non-exempt SciML repos before committing.
- Co-author:
Co-Authored-By: Chris Rackauckas <[email protected]>.
Audit compiled by Claude for @ChrisRackauckas.
Activity
[-]CI uniformization rollout: re-enable disabled downgrade + fill remaining gaps[/-][+]SciML CI conformance audit & remediation tracker (downgrade, docs-CI, CompatHelper, …)[/+]