Skip to content

Fix intentional sublibrary re-export QA failures - #1120

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/fix-sublib-reexport-qa
Jul 28, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/fix-sublib-reexport-qa

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

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

Summary

  • allow the public APIs that the facade sublibraries intentionally re-export
  • keep the homotopy allowlist limited to HomotopyNonlinearFunction
  • leave package exports and runtime behavior unchanged

Root cause

SciMLTesting.run_qa now checks re-exports, but these seven sublibraries intentionally use @reexport and did not pass their dependency API allowlists through reexports_allow. Their intended facade APIs were therefore reported as accidental re-exports.

Closes #1119.

Validation

Ran each affected sublibrary's official QA group with Julia 1.12:

  • BracketingNonlinearSolve: 20 passed
  • NonlinearSolveFirstOrder: 20 passed
  • NonlinearSolveHomotopyContinuation: 19 passed, 1 pre-existing broken
  • SimpleNonlinearSolve: 20 passed
  • NonlinearSolveQuasiNewton: 20 passed
  • NonlinearSolveSpectralMethods: 20 passed
  • NonlinearSolveSciPy: 20 passed, 1 pre-existing broken

Command:

NONLINEARSOLVE_TEST_GROUP=QA julia +1.12 --project=. -e 'using Pkg; Pkg.test()'

Also ran the whole-repository Runic 1.7.0 check successfully:

julia +1.12 --project=../.runic_env -e 'using Runic; exit(Runic.main(["--check", "."]))'

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Implementation and validation log:

  • based on clean upstream/master at 2b0dda5f64402c5177507d9b1bb2e73ed0db4e5b
  • commit: 8b7088c543594ec48e3db5f3bb20a8b575160744
  • retained narrow allowlists derived from each explicitly re-exported dependency's public API
  • ran the official QA group for all seven affected sublibraries; all completed successfully
  • ran whole-repository Runic 1.7.0; exit code 0
  • git diff --check; exit code 0

@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review July 28, 2026 07:52
@ChrisRackauckas
ChrisRackauckas merged commit 43fc81a into SciML:master Jul 28, 2026
84 of 101 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.

Sublibrary QA rejects intentional SciMLBase facade reexports with SciMLTesting 2.4

2 participants