Skip to content

CI: cancel superseded runs; build container images for releases only - #1311

Merged
lmoresi merged 1 commit into
developmentfrom
ci/limit-actions-usage
Nov 25, 2026
Merged

lmoresi merged 1 commit into
developmentfrom
ci/limit-actions-usage

Conversation

@lmoresi

@lmoresi lmoresi commented Nov 25, 2026

Copy link
Copy Markdown
Member

What

  • Cancel superseded runs. test_uw3, Style Gates and the architectural review get a concurrency group per PR (per branch for pushes) with cancel-in-progress: true. A new push to a PR, or a new merge to development, cancels the run it supersedes instead of leaving a 6-shard, 40-80 minute job running.
  • Container images for releases only. The UW3 images (hpc-uw3-image.yml, docker-image.yaml, binder-image.yml) now build on v* tags and workflow_dispatch only, not on pushes to main or development. The HPC base and PETSc images (hpc-base-images.yml, hpc-petsc-image.yml) build by workflow_dispatch only.

Why

On 2026-11-20 this repository ran 413 workflow runs: 202 of the full test matrix (about 800 runner-hours) and 69 container builds, most of them superseded by a later push. Container builds should follow releases, not every merge (Louis, 2026-11-25).

Not changed

  • The test matrix itself, its shards and timeouts.
  • The release workflow, and the tag-handling logic inside the image workflows (IS_RELEASE is still derived from the ref).

Check

All workflow files parse as YAML. The concurrency change shows itself on this PR's own run: pushing again to this branch should cancel the earlier run.

Underworld development team with AI support from Claude Code


Generated by Claude Code

- test_uw3, Style Gates and the architectural review get a concurrency
  group per PR (or per branch for pushes) with cancel-in-progress, so a new
  push cancels the run it supersedes instead of leaving a 6-shard,
  40-80 minute job running for a commit nobody will merge.
- The UW3 images (HPC, command-line, binder) are built on v* tags and by
  workflow_dispatch only, no longer on pushes to main/development.
- The HPC base and PETSc images are built by workflow_dispatch only.

On 2026-11-20 this repository ran 413 workflow runs, 202 of them the full
test matrix and 69 container builds, most of them superseded.

Underworld development team with AI support from Claude Code
Copilot AI balanced review requested due to automatic review settings November 25, 2026 01:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@lmoresi
lmoresi merged commit fbef72f into development Nov 25, 2026
10 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