Skip to content

docs: complete public cache API contracts - #206

Merged
ChrisRackauckas merged 4 commits into
SciML:masterfrom
ChrisRackauckas-Claude:agent/preallocationtools-api-audit-followup
Aug 21, 2026
Merged

ChrisRackauckas merged 4 commits into
SciML:masterfrom
ChrisRackauckas-Claude:agent/preallocationtools-api-audit-followup

Conversation

@ChrisRackauckas-Claude

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

Copy link
Copy Markdown
Member

Summary

  • Keep the cache API documentation in source docstrings and render every exported/public cache API through explicit @docs blocks, preserving Documenter source links.
  • Replace the custom QA ignore lists with SciMLTesting's standard strict run_qa(PreallocationTools) path; Project.toml already permits SciMLTesting >= 2.4.
  • Remove the hand-rolled public-doc test and retain only the relevant generic get_tmp fallback interface assertion.

Verification

  • GROUP=QA julia --project=. -e 'using Pkg; Pkg.test()'
    • SciMLTesting v2.11.0; QA | 27 pass / 27 total.
  • GROUP=Core julia --startup-file=no --project=. -e 'using Pkg; Pkg.test()'
    • Passed; Developer Interface 17/17, Enzyme Support 26/26, Zero/Copy/Fill 66/66, Allocation Regression 27/27.
  • julia --startup-file=no --project=@runic -m Runic --check --diff src/ test/ docs/make.jl
    • Passed with no output.
  • typos --force-exclude --exclude 'docs/build/**' --exclude 'Manifest.toml' .
    • Passed with no output.
  • git diff --check
    • Passed with no output.
  • julia --startup-file=no --project=docs docs/make.jl
    • Reached Documenter checks but stopped on the existing external ColPrac link returning HTTP 429.
  • A render-only Documenter run with linkcheck=false passed doctests, cross-references, document checks, population, and HTML rendering.

The standard docs command should be rerun when the external GitHub rate limit clears. Please ignore this draft PR until reviewed by @ChrisRackauckas.

Co-Authored-By: Chris Rackauckas <[email protected]>
Remove the hand-rolled public documentation test and use SciMLTesting's standard run_qa path without dependency-specific overrides. Keep the generic get_tmp fallback assertion with the developer interface tests.

Co-Authored-By: Chris Rackauckas <[email protected]>
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review August 21, 2026 18:58
@ChrisRackauckas
ChrisRackauckas merged commit cf7121a into SciML:master Aug 21, 2026
17 checks passed
ChrisRackauckas added a commit that referenced this pull request Aug 26, 2026
Releases the unreleased changes on `master` since 1.6.0:

- #209 — `Cache non-isbits ForwardDiff workspaces`. ForwardDiff `Dual` values whose scalar storage is not `isbits` previously received a newly zeroed workspace on every `DiffCache` lookup; both cache variants now cache correctly typed workspaces, and same-shaped array workspaces are returned directly so the warmed vector lookup is allocation-free.
- #208 — compat: drop stale majors.

**Minor**, matching this repo's convention (1.5.0 -> 1.6.0 carried the #206 batch). No exported or `public` name is added or removed, but downstreams need a floor to depend on the new allocation behaviour - JuliaSymbolics/Symbolics.jl#1968 is waiting on exactly this.

Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude <[email protected]>
Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R
ChrisRackauckas added a commit that referenced this pull request Aug 26, 2026
Releases the unreleased changes on `master` since 1.6.0:

- #209 — `Cache non-isbits ForwardDiff workspaces`. ForwardDiff `Dual` values whose scalar storage is not `isbits` previously received a newly zeroed workspace on every `DiffCache` lookup; both cache variants now cache correctly typed workspaces, and same-shaped array workspaces are returned directly so the warmed vector lookup is allocation-free.
- #208 — compat: drop stale majors.

**Minor**, matching this repo's convention (1.5.0 -> 1.6.0 carried the #206 batch). No exported or `public` name is added or removed, but downstreams need a floor to depend on the new allocation behaviour - JuliaSymbolics/Symbolics.jl#1968 is waiting on exactly this.



Claude-Session: https://claude.ai/code/session_014FEzNTLFutCmTEAZ3zBg5R

Co-authored-by: Claude <[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