Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: ignore error if gha cache export fails #5650

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max commented Jan 14, 2025

We often encounter rate limits when trying to export the GHA cache on this repo:

#41 exporting to GitHub Actions Cache
#41 preparing build cache for export
#41 writing layer sha256:4dfab37fddd981de09c236979ac9e012419dc3b5abc78e9b416e5ac243838826
#41 writing layer sha256:4dfab37fddd981de09c236979ac9e012419dc3b5abc78e9b416e5ac243838826 0.1s done
#41 writing layer sha256:bcf9cb26c40f8c5b74030342ac94a99169912038ab09dc3d727e1c7452c6ac7a
#41 writing layer sha256:bcf9cb26c40f8c5b74030342ac94a99169912038ab09dc3d727e1c7452c6ac7a 0.1s done
#41 preparing build cache for export 607.5s done
#41 ERROR: maximum timeout reached

We can use the ignore-error attribute to avoid jobs to fail. We also have the testBasicGhaCacheImportExportExtraTimeout integration test for such case so I'm not that concerned that we could miss actual issues with GHA cache backend.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant