QA: run_qa v1.6 form + ExplicitImports#80
Draft
ChrisRackauckas-Claude wants to merge 1 commit into
Draft
Conversation
Collapse the hand-rolled test/qa/{explicit_imports,jet_tests}.jl into a single
test/qa/qa.jl that calls SciMLTesting.run_qa (v1.6 form) with ExplicitImports
enabled. run_qa now covers Aqua (10 sub-checks), JET (package-wide test_package,
mode=:typo, replacing the per-constructor `@test_opt` checks), and the six
ExplicitImports checks.
Findings resolved:
- Aqua deps_compat: add missing `Markdown = "1"` compat (real fix);
set `deps_compat = (; check_extras = false)` for the test-only stdlib extras.
- ExplicitImports: `AbstractSDEProblem` is owned by SciMLBase and reexported
(non-public) by DiffEqBase, and is non-public in SciMLBase too, so it cannot
be made owner- or public-clean by re-pointing the import; ignored in both
all_explicit_imports_via_owners and all_explicit_imports_are_public.
test/qa deps: drop ExplicitImports (transitive via SciMLTesting), add Aqua as a
direct dep (needed for the ambiguities child-process check), bump SciMLTesting
compat floor to "1.6". alloc_tests.jl (AllocCheck) is unchanged.
Verified locally against released SciMLTesting 1.6.0 via Pkg.test + GROUP=QA:
lts (1.10) and "1" (1.12) lanes both green (qa.jl 17/17, alloc_tests.jl 16/16).
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Please ignore until reviewed by @ChrisRackauckas.
Converts the QA group onto the SciMLTesting
run_qav1.6 form with ExplicitImports enabled. The hand-rolledtest/qa/explicit_imports.jlandtest/qa/jet_tests.jlare collapsed into a singletest/qa/qa.jlcallingrun_qa.test/qa/alloc_tests.jl(AllocCheck functional check, not part of run_qa) is unchanged.qa.jlThis single call covers Aqua (10 sub-checks), JET (package-wide
test_package,mode=:typo, replacing the old per-constructor@test_optchecks), and the six ExplicitImports checks.Findings & resolution (goal: 0 hard FAILs)
Aqua
deps_compat(deps):Markdownhad no[compat]entry. FIXED — addedMarkdown = "1"to the rootProject.toml.deps_compat(extras): the test-only stdlib extras (Pkg,Statistics,Test) lack compat. Handled with the standarddeps_compat = (; check_extras = false)(not a broken-marker; extras-compat is not meaningful for test-only stdlibs).aqua_brokenneeded.JET
JET.test_package(DiffEqFinancial; target_modules=(DiffEqFinancial,), mode=:typo)passes clean. Nojet_brokenneeded.ExplicitImports (6 checks)
no_implicit_imports: PASSno_stale_explicit_imports: PASSall_explicit_imports_via_owners: FAIL onAbstractSDEProblem— owned by SciMLBase but imported from DiffEqBase. IGNORED (source: SciMLBase). Re-pointing the import to SciMLBase would require adding SciMLBase as a direct dep and would still fail the public check below, so an ignore is cleaner.all_qualified_accesses_via_owners: PASSall_qualified_accesses_are_public: PASSall_explicit_imports_are_public: FAIL onAbstractSDEProblem— non-public in DiffEqBase (and also non-public in SciMLBase, its owner). IGNORED (source: SciMLBase). Cannot be made public-clean from any module.No
ei_brokenentries: every EI check ends PASS once the two unfixableAbstractSDEProblemignores are applied.test/qa deps
ExplicitImports(transitive via SciMLTesting).Aquaas a direct dep (needed for the ambiguities child-process check).SciMLTestingcompat floor to"1.6".Local verification (released SciMLTesting 1.6.0, via
Pkg.test+GROUP=QA)QA/qa.jl17/17,QA/alloc_tests.jl16/16 —tests passed.QA/qa.jl17/17,QA/alloc_tests.jl16/16 —tests passed.0 FAIL / 0 ERROR / 0 BROKEN on both lanes.
qa.jlis Runic-clean.🤖 Generated with Claude Code