Skip to content

ci: reduce low-signal Actions usage#1241

Open
MilesCranmerBot wants to merge 3 commits into
astroautomata:masterfrom
MilesCranmerBot:bot/ci-cost-trim
Open

ci: reduce low-signal Actions usage#1241
MilesCranmerBot wants to merge 3 commits into
astroautomata:masterfrom
MilesCranmerBot:bot/ci-cost-trim

Conversation

@MilesCranmerBot

Copy link
Copy Markdown
Contributor

This PR reduces low-signal Actions usage without removing the required Linux PR gate.

Changes

  • Added PR concurrency cancellation to CI, Windows, macOS, docs workflows
  • Narrowed Linux push trigger from all branches to master/release-*/tags
  • Moved Docker CI to monthly/manual schedule
  • Moved Docker Large Nightly from daily ARM64+AMD64 to monthly AMD64, with optional ARM64 via manual dispatch
  • Moved Apptainer CI to monthly/manual
  • Removed daily Docker deploy schedule (keeps push/tag triggers)
  • Reduced conda-forge from daily to weekly
  • Fixed backend-update to skip redispatch when PR already exists; only dispatches Linux/Windows/macOS
  • Removed unnecessary pip caches from update_backend and validate_papers_yml

Expected savings

Dominant cost centres were Docker_Large_Nightly (28.5k min/90d, mostly ARM64 QEMU), Linux push on all branches (12.4k min), and conda-forge (2.5k min, all failing).

Required checks

Linux test job names are unchanged; branch protection is unaffected.

Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>

@MilesCranmer MilesCranmer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@MilesCranmerBot please address each comment

Comment thread .github/workflows/CI.yml
Comment thread .github/workflows/CI_apptainer.yml
Comment thread .github/workflows/CI_conda_forge.yml
Comment thread .github/workflows/CI_docker.yml
@MilesCranmer

Copy link
Copy Markdown
Member

Also note that CI is failing so needs fix for that too

Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Co-authored-by: Miles Cranmer <miles.cranmer@gmail.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