Skip to content

ci: make buildcache index update non-fatal#921

Open
wdconinc wants to merge 2 commits into
developfrom
buildcache-index-nonfatal
Open

ci: make buildcache index update non-fatal#921
wdconinc wants to merge 2 commits into
developfrom
buildcache-index-nonfatal

Conversation

@wdconinc
Copy link
Copy Markdown
Contributor

The spack buildcache update-index step can fail with transient errors such as 503: Egress is over the account limit. which are unrelated to the actual build result. Add continue-on-error: true to both Update buildcache index steps (in the build-environment and build-packages jobs) so these infrastructure hiccups do not mark an otherwise successful build as failed.

Fixes the failure seen at https://github.com/eic/eic-spack/actions/runs/25825838204/job/75878671152?pr=917#step:15:94

Copilot AI review requested due to automatic review settings May 13, 2026 21:07
The 'spack buildcache update-index' step can fail with transient errors
such as '503: Egress is over the account limit.' which are unrelated to
the actual build result. Add continue-on-error: true to both
'Update buildcache index' steps so these infrastructure hiccups do not
mark an otherwise successful build as failed.

Co-authored-by: Copilot <[email protected]>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR makes the buildcache index update step non-fatal in CI so transient registry/buildcache failures do not fail otherwise successful builds.

Changes:

  • Adds continue-on-error: true to the Update buildcache index step in the environment build job.
  • Adds continue-on-error: true to the equivalent step in the changed-package build job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wdconinc wdconinc requested a review from veprbl May 13, 2026 21:11
@wdconinc wdconinc enabled auto-merge (squash) May 13, 2026 21:12
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