Skip to content

Fix downgrade CI config (julia_floor)#199

Closed
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-downgrade-ci
Closed

Fix downgrade CI config (julia_floor)#199
ChrisRackauckas-Claude wants to merge 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:fix-downgrade-ci

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Contributor

What

The Downgrade Sublibraries workflow has been failing on master (the regular Downgrade workflow is green). Every sublibrary job dies in the julia-actions/julia-downgrade-compat@v2 step with:

[ERROR] Invalid compat version spec: --julia=lts

Why

DowngradeSublibraries.yml passes no julia-version, so the reusable
SciML/.github/.github/workflows/sublibrary-downgrade.yml@v1 uses its default
"lts". That reusable workflow forwards the value straight into
julia-downgrade-compat@v2 as julia_version, which the action passes to its
resolver as a registry compat version spec (--julia=lts). The resolver
only accepts numeric compat versions (e.g. 1.10), not channel aliases like
lts, so it errors out before any package resolution happens.

(The non-sublibrary Downgrade workflow does not hit this — it does not feed
lts into the compat action's julia_version — which is why only the
sublibrary variant is red.)

Fix (config-only)

Pin the numeric LTS floor explicitly in the caller. Every lib/* sublibrary
declares julia = "1.10" (as does the root), so 1.10 is both a valid
setup-julia channel and a valid --julia= compat spec, and it satisfies every
sublibrary's floor.

No Project.toml, test, or source changes.

Verification

  • actionlint .github/workflows/DowngradeSublibraries.yml → clean (rc=0).
  • julia-version resolves to 1.10, which matches the julia = "1.10" compat
    floor of the root and all seven lib/* sublibraries.

Ignore until reviewed by @ChrisRackauckas.

…ngrade

The Downgrade Sublibraries caller relied on the reusable workflow's
"lts" default for julia-version. sublibrary-downgrade.yml@v1 forwards
that value straight into julia-actions/julia-downgrade-compat@v2 as a
registry compat spec (--julia=lts), and the downgrade resolver rejects
channel aliases:

  [ERROR] Invalid compat version spec: --julia=lts

Every lib/* sublibrary declares julia = "1.10", so pass the numeric LTS
floor explicitly. This is config-only; no Project.toml/test/source change.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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