Skip to content

Fix ReleaseTest tag concurrency check - #1445

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:agent/fix-releasetest-ref-context
Jul 21, 2026
Merged

ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:agent/fix-releasetest-ref-context

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Jul 15, 2026 •

Copy link
Copy Markdown
Member

Important

Ignore this draft until it has been reviewed by @ChrisRackauckas.

Summary

  • replace the undefined github.refs context property with the supported github.ref_type
  • preserve the intended concurrency policy: never cancel master or tag runs, but cancel superseded PR and other branch runs

Root cause

.github/workflows/ReleaseTest.yml compared github.refs against a tag glob. GitHub Actions has no github.refs property, so Actionlint rejects the concurrency expression.

An independent git bisect run on current upstream master identified 073b6caa6f6dc08e8b1f198acf187eac95b105a2 (add test for released Catalyst version) as the first bad commit; that commit introduced the workflow and the typo.

Using github.ref_type != 'tag' expresses the intended check through a documented GitHub context property.

Regression coverage

Actionlint is the direct regression test for this GitHub Actions expression. A Julia unit test would not execute or type-check GitHub expression contexts, so no Julia source test was added.

Local validation

Validated after merging current upstream master at 641d5d054046dc2b5b9c739aefad5ef12fd421e3:

  • actionlint -no-color .github/workflows/ReleaseTest.yml — exit 0, no diagnostics
  • actionlint -no-color — exit 0, no diagnostics
  • julia +1.12 --startup-file=no -m Runic --check . — exit 0
  • GROUP=All JULIA_NUM_THREADS=11 julia +1 --startup-file=no --project=. -e 'using Pkg; Pkg.test()' — exit 0; final output: Remake | 4430 / 4430 and Testing SciMLBase tests passed
  • git diff --check — exit 0

The branch was refreshed with a normal merge and push; no force push was used.

Co-Authored-By: Chris Rackauckas <[email protected]>
@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member Author

Implementation plan and commit log:

  • reproduce the Actionlint error on an unmodified upstream master
  • bisect the workflow history to the introducing commit
  • replace the undefined context property with the supported tag discriminator
  • run targeted and repository-wide Actionlint, Runic, and the curated GROUP=All package tests

Commit 71b809e1730e0b730dc9206dd8b0184f5ce0420b contains the focused workflow fix.

Copy link
Copy Markdown
Member Author

Refreshed this branch onto current upstream master at 641d5d054046dc2b5b9c739aefad5ef12fd421e3 with merge commit 0815a2327731e5aad48041fcfa427a51189d38eb; no force push was used.

Independent reproduction and validation on the refreshed head:

  • current clean upstream master: Actionlint reports github.refs is undefined at ReleaseTest.yml:14
  • git bisect run: first bad commit is 073b6caa6f6dc08e8b1f198acf187eac95b105a2
  • targeted Actionlint: exit 0, no diagnostics
  • repository-wide Actionlint: exit 0, no diagnostics
  • Runic over the repository: exit 0
  • curated GROUP=All tests: exit 0; final summaries include Remake | 4430 / 4430 and Testing SciMLBase tests passed
  • git diff --check: exit 0

⎿ Setting a 2-hour timer for CI completion based on the previous run's longest jobs (about 68 minutes).
Current time: 2026-07-16 13:32:38 EDT
Will check CI results at: 2026-07-16 15:32:38 EDT

@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review July 21, 2026 21:19
@ChrisRackauckas
ChrisRackauckas merged commit 053e26e into SciML:master Jul 21, 2026
50 of 63 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