Skip to content

Preserve Aqua owned types in QA defaults - #37

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:agent/preserve-aqua-treat-as-own-types
Jul 27, 2026
Merged

ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:agent/preserve-aqua-treat-as-own-types

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Please ignore this draft until it has been reviewed by @ChrisRackauckas.

Summary

  • Preserve caller-provided Aqua piracies.treat_as_own types when adding the standard SciML solver extension functions.
  • Add a regression test that combines a UnionAll type with functions.
  • Bump SciMLTesting to 2.6.1.

Root cause

SciMLTesting 2.6.0's standard Aqua defaults accumulated treat_as_own entries in a Function[]. Aqua documents and accepts Union{Function, Type} entries, and existing SciML package QA configurations include problem types such as IntervalNonlinearProblem. Appending one of those types therefore threw a conversion MethodError before Aqua could run.

The accumulator now matches Aqua's accepted element type. Duplicate removal and ordering are unchanged.

The faulty helper was introduced by 3b35d6f (#35) and reached the registry in 2.6.0 after the subsequent version bump.

Local validation

  • Julia 1.10.11: SciMLTesting | 334 passed / 334 total.
  • Julia 1.12.6: SciMLTesting | 349 passed / 349 total.
  • Julia 1.13.0-rc1: SciMLTesting | 349 passed / 349 total.
  • On clean NonlinearSolve master 2b0dda5f, the official Bracketing GROUP=QA test with SciMLTesting 2.6.0 reproduced the exact Type{SciMLBase.IntervalNonlinearProblem} conversion error. Re-running the same official group with this local SciMLTesting passed all 19 checks before reaching the independent existing No unapproved public reexports failure.
  • Repository-wide Runic --check: exit 0.
  • git diff --check: exit 0.

No test was skipped, disabled, silenced, or loosened.

@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review July 27, 2026 17:59
@ChrisRackauckas
ChrisRackauckas merged commit 5237cca into SciML:main Jul 27, 2026
12 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