Skip to content

ci(downgrade): fix empty-mode regression + add project input#67

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:downgrade-project-input
Jun 6, 2026
Merged

ci(downgrade): fix empty-mode regression + add project input#67
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:downgrade-project-input

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Jun 6, 2026

Copy link
Copy Markdown

Two downgrade.yml fixes — the first is urgent (org-wide regression):

  1. Empty-mode regression (BREAKING downgrade CI org-wide). A recently-added mode input defaulted to "" and was passed verbatim as mode: "${{ inputs.mode }}". julia-downgrade-compat rejects an empty mode (mode in valid_modes || error(...)downgrade.jl:22), so every downgrade.yml@v1 caller that doesn't set mode errors at the downgrade-compat step. Confirmed live: DASSL#95, SciMLLogging#77, etc. all fail there. Fix: default mode to "deps" and map empty→"deps" in the expression. Merge + v1 retag ASAP to un-break downgrade CI everywhere.

  2. project input (the original purpose): pass --project to build/test so the workflow can target a workspace submodule or lib/X (default @.).

actionlint clean.

Ignore until reviewed by @ChrisRackauckas.

🤖 Generated with Claude Code

…es, lib/X)

downgrade.yml forwarded `projects` only to julia-downgrade-compat, then ran
build/test at the repo root (@.), so it couldn't target a workspace submodule
or sublibrary (e.g. OptimalUncertaintyQuantification's workspace projects, or
lib/X). Add a `project` input (default "@.") passed to julia-buildpkg and
julia-runtest, mirroring tests.yml, so a caller can matrix over submodules.

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 6, 2026 08:55
@ChrisRackauckas ChrisRackauckas merged commit 5046f22 into SciML:master Jun 6, 2026
2 checks passed
@ChrisRackauckas-Claude ChrisRackauckas-Claude changed the title ci(downgrade): add project input (workspace submodules / lib/X) ci(downgrade): fix empty-mode regression + add project input Jun 6, 2026
ChrisRackauckas added a commit that referenced this pull request Jun 6, 2026
PR #64 added a `mode` input defaulting to "" and passed it through
verbatim as `mode: "${{ inputs.mode }}"`. julia-downgrade-compat rejects
an empty mode (`mode in valid_modes || error()`, downgrade.jl), so every
downgrade.yml@v1 caller that does not set `mode` explicitly errors at the
downgrade-compat step before tests run — breaking downgrade CI org-wide.

PR #67 added the `project` input but did NOT include this fix, so the
regression is still live on @v1. Default `mode` to "deps" and map an
explicit empty string to "deps" as well.

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