Skip to content

QA: run_qa v1.6 form + ExplicitImports#31

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:qa-run_qa-v1.6
Jun 27, 2026
Merged

QA: run_qa v1.6 form + ExplicitImports#31
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:qa-run_qa-v1.6

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Collaborator

Please ignore until reviewed by @ChrisRackauckas.

Converts the hand-rolled JET-only test/qa/qa.jl to the SciMLTesting 1.6 run_qa form with ExplicitImports enabled (explicit_imports = true). The QA group now runs the full standard body: Aqua.test_all (8 sub-checks), JET.test_package, and the 6 ExplicitImports checks.

ExplicitImports findings (all FIXED/IGNORED, 0 broken)

  • no_implicit_imports (was ERROR): only 3 implicit names from LinearAlgebra (Diagonal, det, mul!). FIX: made explicit in src/DataCollocations.jlusing LinearAlgebra: Diagonal, det, mul! replacing bare using LinearAlgebra.
  • all_explicit_imports_are_public (was ERROR): fast_scalar_indexing is not (yet) public in ArrayInterface. IGNORE via ei_kwargs.all_explicit_imports_are_public = (; ignore = (:fast_scalar_indexing,)) (other package's non-public name; will go public as ArrayInterface marks it).
  • no_stale_explicit_imports, all_explicit_imports_via_owners, all_qualified_accesses_via_owners, all_qualified_accesses_are_public: PASS.

Aqua compat findings (FIXED in root Project.toml)

  • deps_compat: LinearAlgebra (stdlib dep) had no [compat] entry → added LinearAlgebra = "1".
  • deps_compat extras: the JET test extra had no [compat] entry → added JET = "0.9, 0.10, 0.11".

Deps

  • test/qa/Project.toml: keep Aqua a direct dep — its ambiguities sub-check spawns a child process that import Aqua, which fails ("Package Aqua not found in current path") when Aqua is only transitive. Bumped SciMLTesting floor to 1.6; ExplicitImports stays transitive via SciMLTesting (no direct dep).
  • root [compat]: SciMLTesting bumped 11.6.

Verified locally vs released SciMLTesting 1.6.0

No dev-from-branch — Pkg resolves SciMLTesting 1.6.0. Ran the QA group via the run_tests folder path (GROUP=QA Pkg.test):

Test Summary: | Pass  Total
QA/qa.jl      |   18     18

0 fail / 0 error / 0 broken on Julia 1.10 (lts), 1.11, and 1.12 (JET 0.11 picked on 1.12). All intended checks run: 11 Aqua results + JET.test_package + 6 ExplicitImports.

🤖 Generated with Claude Code

Convert the hand-rolled JET-only test/qa/qa.jl to the SciMLTesting 1.6
run_qa form with ExplicitImports enabled (explicit_imports = true), so
the QA group runs the full standard body: Aqua.test_all (8 sub-checks),
JET.test_package, and the 6 ExplicitImports checks.

ExplicitImports findings resolved:
- no_implicit_imports: made LinearAlgebra usage explicit
  (using LinearAlgebra: Diagonal, det, mul!) instead of bare using.
- all_explicit_imports_are_public: ignore fast_scalar_indexing
  (not yet public in ArrayInterface) via ei_kwargs.

Aqua compat findings fixed in the root Project.toml:
- add LinearAlgebra compat (stdlib, "1").
- add JET compat for the test extra ("0.9, 0.10, 0.11").

Deps:
- test/qa/Project.toml keeps Aqua a direct dep (its ambiguities
  sub-check spawns a child process that must import Aqua) and bumps the
  SciMLTesting floor to 1.6; ExplicitImports stays transitive via
  SciMLTesting.
- root SciMLTesting compat bumped to 1.6.

Verified locally against released SciMLTesting 1.6.0 (no dev-from-branch)
on the run_tests QA folder path: QA/qa.jl 18/18 pass on Julia 1.10 (lts),
1.11, and 1.12, 0 fail/error/broken.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 27, 2026 13:05
@ChrisRackauckas ChrisRackauckas merged commit fef61d9 into SciML:main Jun 27, 2026
15 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