Replace cached state from the same commit, rather than failing the job #4842
Labels
A-devops
Area: Pipelines, CI/CD and Dockerfiles
C-bug
Category: This is a bug
I-integration-fail
Continuous integration fails, including build and test failures
Motivation
If a cached state job is run twice on the same commit on the same branch, the job fails.
If other required jobs depend on that cached state job, they are skipped, and the PR won't merge.
https://github.com/ZcashFoundation/zebra/runs/7588987700?check_suite_focus=true#step:8:72
Suggested Solution
Replace the image, rather than failing the job.
If that's not possible, it's also ok to skip creating the image. But the job still has to run successfully. That's not ideal, because it leaves an older (and possibly buggy) cached state image behind.
The text was updated successfully, but these errors were encountered: