Add Downgrade CI#3383
Open
vchuravy wants to merge 5 commits into
Open
Conversation
Test that the lower bounds of compat entries actually resolve and pass, using julia-actions/julia-downgrade-compat on Julia 1.10 (the minimum supported version). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Downgrade CI revealed two lower bounds that do not co-resolve with the rest of the dependency graph at their minimum versions: - BFloat16s 0.2/0.3 fail to resolve alongside the LLVM 9.10 requirement in the test environment; 0.4 is the lowest that works. - Preferences is pulled to 1.5.2 by the transitive test dependencies, so the 1.4 lower bound is unsatisfiable in the Pkg.test sandbox. Verified on Julia 1.10 by reproducing the julia-downgrade-compat transform + Pkg.test sandbox resolution. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
SparseArrays is an upgradeable stdlib whose only available version on a given Julia is the bundled one, so julia-downgrade-compat must not try to downgrade it. Keep the package version unchanged. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Contributor
Benchmark Results
Benchmark PlotsA plot of the benchmark results has been uploaded as an artifact at https://github.com/EnzymeAD/Enzyme.jl/actions/runs/29918794948/artifacts/8529223020. |
vchuravy
marked this pull request as ready for review
July 22, 2026 12:28
giordano
approved these changes
Jul 22, 2026
Comment on lines
+55
to
+61
| - name: add EnzymeCore EnzymeTestUtils | ||
| shell: julia --color=yes --project=. {0} | ||
| run: | | ||
| using Pkg | ||
| Pkg.develop([PackageSpec(; path) for path in ("lib/EnzymeCore", "lib/EnzymeTestUtils")]) | ||
| env: | ||
| JULIA_PKG_SERVER_REGISTRY_PREFERENCE: eager |
Member
There was a problem hiding this comment.
When are we moving to v1.11+? 😁
Member
Author
There was a problem hiding this comment.
For this CI run we could immediately
giordano
reviewed
Jul 22, 2026
giordano
reviewed
Jul 22, 2026
Co-authored-by: Mosè Giordano <765740+giordano@users.noreply.github.com>
giordano
reviewed
Jul 22, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3383 +/- ##
=======================================
Coverage 76.97% 76.97%
=======================================
Files 66 66
Lines 22333 22333
=======================================
Hits 17191 17191
Misses 5142 5142 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
giordano
reviewed
Jul 22, 2026
Member
There was a problem hiding this comment.
What's up with this diff? Why it looks like the entire file changed?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Downgrade CI workflow that tests the lower bounds of the
[compat]entries inProject.tomlactually resolve and pass, usingjulia-actions/julia-downgrade-compat.ubuntu-24.04.EnzymeCore/EnzymeTestUtils(path deps) and skipsEnzymeCorefrom downgrade since it's a local source.CI.yml.🤖 Generated with Claude Code