Skip to content

Add Aqua.jl to CI - #167

Merged
ViralBShah merged 2 commits into
v11from
vs/aqua
Oct 27, 2026
Merged

ViralBShah merged 2 commits into
v11from
vs/aqua

Conversation

@ViralBShah

@ViralBShah ViralBShah commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Adds an Aqua job to ci.yml. It runs Aqua.test_all (Aqua 0.8) in a temporary environment on Julia 1, separate from Pkg.test. Fixes for what it flagged:

  • Undefined exports: SparseArrayCompat, hvcat!, BinaryOps.BinaryOp and BinaryOps.fmod were exported but never defined. They are no longer exported.
  • Deps compat: compat entries added for the stdlib deps (Libdl, LinearAlgebra, Random, Serialization, SparseArrays, SuiteSparse).

Fixed or skipped:

  • Ambiguities: skipped. There are ~190 pre-existing (Test.detect_ambiguities).
  • Unbound args: fixed. defaultfill(::Type{Union{T, Nothing}}) where T (and the Missing variant) left T unbound and returned the type T itself, e.g. defaultfill(Union{Int, Nothing}) === Int64. The generic method now strips Nothing/Missing and returns zero of the rest, so it gives 0.

Locally on nightly, the Aqua command passes (all checks except ambiguities), and so does Pkg.test().

🤖 Generated with Claude Code

- Drop exports of names that were never defined (SparseArrayCompat, hvcat!,
  BinaryOps.BinaryOp, BinaryOps.fmod).
- Add compat entries for the stdlib dependencies.
- Ambiguities are skipped (many pre-existing) and the two unbound-parameter
  defaultfill methods are marked broken.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 67.38%. Comparing base (ced917d) to head (dc3133a).
⚠️ Report is 1 commits behind head on v11.

Files with missing lines Patch % Lines
src/types.jl 80.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              v11     #167      +/-   ##
==========================================
+ Coverage   67.23%   67.38%   +0.14%     
==========================================
  Files          54       54              
  Lines        4465     4485      +20     
==========================================
+ Hits         3002     3022      +20     
  Misses       1463     1463              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

defaultfill(::Type{Union{T, Nothing}}) where T (and the Missing variant) left T
unbound and returned the type T instead of a value. The generic method now
strips Nothing/Missing and returns zero of the remaining type. Aqua's
unbound_args check is no longer marked broken.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ViralBShah
ViralBShah merged commit 1fb74bb into v11 Oct 27, 2026
8 checks passed
@ViralBShah
ViralBShah deleted the vs/aqua branch October 27, 2026 18:25
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