Skip to content

ci: add centralized sublibrary downgrade CI#602

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:sublibrary-downgrade-ci
Jun 4, 2026
Merged

ci: add centralized sublibrary downgrade CI#602
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:sublibrary-downgrade-ci

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown
Contributor

Please ignore until reviewed by @ChrisRackauckas.

What this does

Adds a centralized sublibrary downgrade CI workflow (.github/workflows/DowngradeSublibraries.yml) that calls the reusable SciML/.github/.github/workflows/sublibrary-downgrade.yml@v1 workflow.

The reusable workflow auto-discovers every lib/* package containing a Project.toml and, for each one, runs julia-downgrade-compat + julia-buildpkg + julia-runtest on project: lib/<sub>. This ensures the lower bounds of each sublibrary's [compat] are actually installable and pass tests.

It runs on push/pull_request to master (ignoring docs/**), with concurrency cancellation on non-master refs.

Sublibraries covered (3)

  • lib/RecursiveArrayToolsArrayPartitionAnyAll
  • lib/RecursiveArrayToolsRaggedArrays
  • lib/RecursiveArrayToolsShorthandConstructors

All three contain a test/runtests.jl.

skip list

Dependencies excluded from downgrade (in-repo core package + stdlibs):

RecursiveArrayTools, Pkg, TOML, Statistics, LinearAlgebra, SparseArrays, InteractiveUtils, Random, Test

RecursiveArrayTools is the root in-repo package that all three sublibraries depend on, so it should not be downgraded.

Config

  • julia-version: "lts"
  • allow-reresolve: true
  • No projects/exclude (auto-discover all lib/*).

Note

This adds new required-looking status checks (one job per sublibrary). New checks will appear on PRs once merged.

🤖 Generated with Claude Code

Adds DowngradeSublibraries.yml calling the reusable
SciML/.github sublibrary-downgrade.yml@v1 workflow to run downgrade
tests for each lib/* sublibrary package.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas marked this pull request as ready for review June 4, 2026 15:28
@ChrisRackauckas ChrisRackauckas merged commit 0aa6b50 into SciML:master Jun 4, 2026
36 of 38 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