Commit 003cbd3
Split AD tests into a dedicated off-downgrade group (Mooncake 0.5 needs >= 1.10.8) (#617)
* Run downgrade CI on Julia 1.11 (Mooncake 0.5 needs >= 1.10.8)
The Downgrade (Core) job fails on master with `ERROR: LoadError:
Unsatisfiable`. The downgrade resolver runs `--min=@deps` and minimizes
the Julia version to the floor implied by the workflow's Julia channel.
With the default `lts` channel that floor is 1.10.0, but every Mooncake
0.5.x release (used by RecursiveArrayToolsMooncakeExt) declares
`julia = "1.10.8 - 1.10, 1.11.6 - 1"`, so no Mooncake version is
installable at 1.10.0 and Mooncake gets no candidate version.
Reproduced locally with the actual julia-actions/julia-downgrade-compat
downgrade.jl driver against a checkout of this repo:
julia_version=1.10 -> ERROR: LoadError: Unsatisfiable
julia_version=1.11 -> "Successfully resolved minimal versions"
Pin the downgrade job to Julia 1.11 (the same approach OrdinaryDiffEq.jl
uses), where 1.10.8+ is satisfied and every declared floor is jointly
installable. Core support for Julia 1.10 is unchanged and is still
exercised by the normal lts test legs; this only affects which Julia the
downgrade resolver minimizes against.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Fix typo: tupe -> type in named_array_partition comment
Fixes the Spell Check with Typos CI failure flagging `tupe` in
src/named_array_partition.jl.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Split AD tests into a dedicated off-downgrade group
Move the Mooncake/Zygote/ForwardDiff/ReverseDiff test files out of the root
Core group and into a dedicated `AD` group with its own sub-environment
(test/AD/Project.toml, [sources] RecursiveArrayTools = path), modeled on the
NoPre group. The AD group is marked in_all = false and is not run in the
Downgrade lane (which runs only Core), so its deps are never fed to the
downgrade resolver.
This removes Mooncake (and the other AD backends) from the root [targets].test
set. The downgrade workflow builds/tests with project: "@." (the repo root) and
minimizes every direct dep plus the Julia version to the 1.10.0 LTS floor;
Mooncake 0.5 requires Julia >= 1.10.8, so at the 1.10.0 floor it was
Unsatisfiable. With Mooncake out of the root test target the resolver no longer
sees it, fixing the wall at the source instead of pinning the downgrade Julia
version.
This reverts the Downgrade.yml julia-version: "1.11" approach from this branch
in favor of the AD split. Mooncake/Zygote/ForwardDiff/ReverseDiff remain as
[weakdeps]+[compat] for the AD extensions; the AD tests still run (in their own
group on a normal Julia). The tupe->type spellcheck fix is kept.
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: ChrisRackauckas-Claude <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 37288fd commit 003cbd3
7 files changed
Lines changed: 42 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
89 | 88 | | |
90 | 89 | | |
91 | | - | |
92 | 90 | | |
93 | 91 | | |
94 | 92 | | |
| |||
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
105 | 102 | | |
106 | | - | |
107 | 103 | | |
108 | 104 | | |
109 | | - | |
| 105 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
File renamed without changes.
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
70 | 68 | | |
71 | 69 | | |
72 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
73 | 83 | | |
74 | 84 | | |
75 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
| |||
0 commit comments