Skip to content

Rename parameter respecialization marker - #1510

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/rename-autorespecialize
Aug 10, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/rename-autorespecialize

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Aug 10, 2026 •

Copy link
Copy Markdown
Member

What changed and why

Adds AutoRespecialize as the canonical name for the constrained parameter-respecialization marker and retains AutoDePSpecialize as a documented compatibility alias. The new name distinguishes this non-dynamic, solver-specific strategy from the forthcoming general DespecializedParameters dynamic-dispatch barrier.

General registry history shows that AutoDePSpecialize shipped in SciMLBase 3.37.0 through 3.44.0, so removing or silently breaking the old binding would not be safe. The existing SpecializationLevel = "AutoDePSpecialize" preference remains accepted. The package version is advanced to 3.45.0 for the new public name.

Ignore this draft until it has been reviewed by @ChrisRackauckas.

Verification

Failing before on clean upstream/master (2b711f36b):

julia +release --project=. --startup-file=no -e 'using SciMLBase; @assert isdefined(SciMLBase, :AutoRespecialize)'
ERROR: AssertionError: isdefined(SciMLBase, :AutoRespecialize)

Passing after:

julia +release --project=. --startup-file=no -e 'using SciMLBase; @assert SciMLBase.AutoDePSpecialize === SciMLBase.AutoRespecialize; p = ODEProblem{true,SciMLBase.AutoRespecialize}((du,u,p,t)->(du .= u), [1.0], (0.0,1.0)); @assert SciMLBase.specialization(p.f) === SciMLBase.AutoRespecialize; println("AutoRespecialize compatibility smoke: pass")'
AutoRespecialize compatibility smoke: pass
GROUP=Core JULIA_NUM_PRECOMPILE_TASKS=1 julia +release --project=. --startup-file=no -e 'using Pkg; Pkg.test()'
Test Summary: | Pass | Total
Remake        | 4430 | 4430
Testing SciMLBase tests passed
julia +release --startup-file=no --project=/home/crackauc/.julia/environments/@runic -e 'using Runic; exit(Runic.main(ARGS))' -- --check src/SciMLBase.jl src/scimlfunctions.jl test/problem_building_test.jl
git diff upstream/master...HEAD | typos -
git diff --check upstream/master...HEAD
# all exited 0

Local QA is green (51/51). The exact docs build reaches document expansion and then exits only because the pre-existing Problem_Traits link returns HTTP 403; a clean upstream/master docs build independently reproduces the same sixteen link-check failures. The result is documented at #1510 (comment).

Not yet verified

  • Downstream solver packages; the compatibility alias is intended to keep their existing AutoDePSpecialize dispatch working unchanged
  • A clean docs exit; current upstream/master is blocked by the independently reproduced external HTTP 403

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Local QA has completed successfully: GROUP=QA JULIA_NUM_PRECOMPILE_TASKS=1 julia +release --project=. --startup-file=no -e 'using Pkg; Pkg.test()' exited 0 with QA | 51 pass / 51 total and Testing SciMLBase tests passed. The first docs invocation used a freshly resolved docs manifest containing registry SciMLBase 3.44.0 rather than the local branch, so its AutoRespecialize undefined-binding error is an invalid setup result. I am rerunning docs in an isolated worktree after Pkg.develop(PackageSpec(path=pwd())); the observed external docs.sciml.ai HTTP 403 linkchecks will be reported from that valid local-source run.

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Clean-base docs comparison is now complete.

The exact docs build on clean upstream/master also exits 1 solely at link checking: the pre-existing https://docs.sciml.ai/SciMLBase/stable/interfaces/Problem_Traits/ target returned HTTP 403 sixteen times after doctests/template expansion. The rename branch and the dynamic-despecialization branch reach the same boundary; neither produces a new docs/reference error. A separate clean-master investigation is being queued per repository policy.

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

CI classification so far:

None of these logs implicates the alias/name diff. The current-registry-only classes have been assigned to clean-base audits; I am not changing this mechanical branch to absorb them.

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

The dedicated clean-master docs audit is complete. Existing #1485 is the correct focused fix: clean current master failed with sixteen HTTP 403 link errors and [:linkcheck]; replaying that PR made the same strict docs command exit 0 through HTML rendering. The failure was bisected to 6807f7f. No duplicate issue or PR was opened.

@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review August 10, 2026 12:40
@ChrisRackauckas
ChrisRackauckas merged commit 5e773ba into SciML:master Aug 10, 2026
42 of 63 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