Skip to content

feat: add Level 3 signature freezing tests for reexport API#728

Merged
ocots merged 1 commit intodevelopfrom
api-tests
Mar 16, 2026
Merged

feat: add Level 3 signature freezing tests for reexport API#728
ocots merged 1 commit intodevelopfrom
api-tests

Conversation

@ocots
Copy link
Copy Markdown
Member

@ocots ocots commented Mar 16, 2026

Add comprehensive tests to freeze API signatures across all reexport files:

  • Type hierarchy checks for inheritance relationships
  • Method signature checks with has() for key functions
  • Missing symbols: solve and plot! now properly tested
  • All 503 reexport tests passing

This will detect breakages when CTX packages change their APIs.

Files modified:

  • test/suite/reexport/test_ctbase.jl: exception inheritance
  • test/suite/reexport/test_ctdirect.jl: discretizer hierarchy + discretize signature
  • test/suite/reexport/test_ctflows.jl: Hamiltonian types + Lift/Flow signatures
  • test/suite/reexport/test_ctmodels.jl: plot! + OCP types + serialization signatures
  • test/suite/reexport/test_ctsolvers.jl: solver/modeler/parameter hierarchy + DOCP signatures
  • test/suite/reexport/test_optimalcontrol.jl: solve + methods signatures

Add comprehensive tests to freeze API signatures across all reexport files:
- Type hierarchy checks for inheritance relationships
- Method signature checks with has() for key functions
- Missing symbols: solve and plot! now properly tested
- All 503 reexport tests passing

This will detect breakages when CTX packages change their APIs.

Files modified:
- test/suite/reexport/test_ctbase.jl: exception inheritance
- test/suite/reexport/test_ctdirect.jl: discretizer hierarchy + discretize signature
- test/suite/reexport/test_ctflows.jl: Hamiltonian types + Lift/Flow signatures
- test/suite/reexport/test_ctmodels.jl: plot! + OCP types + serialization signatures
- test/suite/reexport/test_ctsolvers.jl: solver/modeler/parameter hierarchy + DOCP signatures
- test/suite/reexport/test_optimalcontrol.jl: solve + methods signatures
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 16, 2026

Breakage test results
Date: 2026-03-16 14:48:07

Name Latest Stable
OptimalControlProblems
Tutorials

@ocots ocots merged commit 76a0e70 into develop Mar 16, 2026
13 checks passed
@ocots ocots deleted the api-tests branch March 16, 2026 14:44
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.

1 participant