You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
allow the APIs deliberately reexported by the NonlinearSolve umbrella and NonlinearSolveQuasiNewton facade
derive each allowlist from the public APIs of its explicit @reexport owner modules, so unrelated accidental reexports still fail QA
Root cause
SciMLTesting 2.4.0 enabled check_reexports by default. NonlinearSolve and NonlinearSolveQuasiNewton already computed partial allowlists for external APIs in rendered-doc QA, but did not pass complete facade allowlists to the new check. Clean master therefore reported 393 root reexports and 211 QuasiNewton reexports as unapproved.
On the same clean master and Julia 1.12.6, pinning SciMLTesting 2.3.0 passes 18/18 root QA checks; SciMLTesting 2.4.0 fails only the new reexport check. The default-on change is SciMLTesting commit 2881f4c15fb715f0934009a800d42765751587b1.
Local verification
root GROUP=QA julia +1.12 --project=. -e "using Pkg; Pkg.test()" with SciMLTesting 2.4.0: 19/19 passed
Clean-master failure reproduced from Actions run 29902380036 / job 88866081514 and locally on e18f6830e.
The same unrelated failure also appears in job 88976448993. Both report exactly 393 unapproved public reexports before configuration.
Dependency bisect on the same source: SciMLTesting 2.3.0 gives QA | 18 passed; SciMLTesting 2.4.0 gives 18 passed, 1 failed, solely No unapproved public reexports.
SciMLTesting history narrows the behavior change to 2881f4c15fb715f0934009a800d42765751587b1 (default check_reexports = false to true; ultimately registered as 2.4.0).
A partial external-only allowlist was deliberately tested and still failed on 64 solver/sublibrary facade names. The committed allowlist mirrors every owner module named by the root @reexport statements and passes all 19 current QA checks, leaving the audit enabled for names from any other owner.
CI verification: the dedicated tests / QA (julia 1, ubuntu-latest) job 88986403314 completed successfully. Its log reports QA | 19 passed / 19 total and NonlinearSolve tests passed. This is the exact check that fails 18/1 on clean master.
Follow-up commit a2d6a5674 covers the same default-on audit in NonlinearSolveQuasiNewton without disabling it.
Evidence:
Clean master e18f6830e, Julia 1.12.6, SciMLTesting 2.4.0: QA | 19 pass, 1 fail; the sole failure is 211 unapproved reexports. This matches Stabilize unglobalized bad Broyden steps #1101 job 89002058809.
The facade source explicitly has @reexport using SciMLBase, NonlinearSolveBase; the new allowlist is derived only from those two owners.
CI verification for a2d6a5674: sublibraries / lib/NonlinearSolveQuasiNewton [QA] / Julia 1 job 89018282756 completed successfully. Its log reports QA | 20 passed / 20 total and NonlinearSolveQuasiNewton tests passed.
Superseded: master already carries the equivalent NONLINEARSOLVE_ALLOWED_REEXPORTS allow-list (landed via #1112), and the QuasiNewton sublibrary QA is green on master without an explicit reexports_allow. Closing as no longer needed.
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
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.
Summary
@reexportowner modules, so unrelated accidental reexports still fail QARoot cause
SciMLTesting 2.4.0 enabled
check_reexportsby default. NonlinearSolve and NonlinearSolveQuasiNewton already computed partial allowlists for external APIs in rendered-doc QA, but did not pass complete facade allowlists to the new check. Clean master therefore reported 393 root reexports and 211 QuasiNewton reexports as unapproved.On the same clean master and Julia 1.12.6, pinning SciMLTesting 2.3.0 passes 18/18 root QA checks; SciMLTesting 2.4.0 fails only the new reexport check. The default-on change is SciMLTesting commit
2881f4c15fb715f0934009a800d42765751587b1.Local verification
GROUP=QA julia +1.12 --project=. -e "using Pkg; Pkg.test()"with SciMLTesting 2.4.0: 19/19 passedGROUP=QA julia +1.12 --project=. -e "using Pkg; Pkg.test()": 20/20 passedgit diff --check: passed