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

GitHub Actions Cache Failure #151

Open
erikreinert opened this issue Jan 30, 2025 · 0 comments
Open

GitHub Actions Cache Failure #151

erikreinert opened this issue Jan 30, 2025 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@erikreinert
Copy link
Member

Overview

When trying to upload cache to GitHub Actions for the store, we sometimes see an intermittent error:

Error: Stream error: Status { code: Internal, message: "failed to push artifact: Status { code: Internal, message: \"failed to save cache: \\\"error sending request for url (https://acghubeus1.actions.githubusercontent.com/NhoeVa0TEpxJHzqBO2XiaAx3oxpeIfiZ3k6aA2CduZgd2zygZ5/_apis/artifactcache/caches/3151)\\\"\", metadata: MetadataMap { headers: {\"content-type\": \"application/grpc\", \"date\": \"Thu, 30 Jan 2025 02:12:42 GMT\", \"content-length\": \"0\"} }, source: None }", source: None }

Because of this any following pipelines that try and save the cache again will fail with this error:

Error: Stream error: Status { code: Internal, message: "failed to push artifact: Status { code: Internal, message: \"failed to reserve cache: \\\"Unexpected status code: 409 Conflict\\\"\", metadata: MetadataMap { headers: {\"content-type\": \"application/grpc\", \"date\": \"Thu, 30 Jan 2025 02:47:36 GMT\", \"content-length\": \"0\"} }, source: None }", source: None }

We need to investigate how to safely skip or fail on this.

Possible Options

  • skip the cache entirely
  • remove the cache reservation and retry
@erikreinert erikreinert added bug Something isn't working good first issue Good for newcomers labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant