Conversation
|
Need to resolve the conflict and recheck if the cache can be resaved properly. If not, I think we would need to use "deps2" for now. |
|
https://github.com/iris-cpp/x4/actions/runs/22061450058/job/63742469284#step:15:59
oh 🥹 |
|
My hypothesis:
I just removed ~100 obsolete caches manually. That's roughly 20MB * 100 = 2000MB of space freed. Perhaps we should re-run the jobs and see what happens? |
|
I think I found out what the real problem is. In a full build, we have two distinct sets of jobs: alloy and x4. The "alloy" job usually runs faster and completes the restore/save steps successfully. However, the "x4" job runs slower, and tries to reference the cache which is probably used by the "alloy" jobs. In theory, if the corresponding "alloy" jobs finished entirely before the "x4" job, the "x4" job should not see the error. But I think the current design of GHA somehow locks the existing cache for the entire workflow run, resulting in the error. So I think the error can be safely ignored. Now this is the important part: the legitimate problem we have is that our "alloy" and "x4" jobs are currently too distinct. I think we should extract the common steps into a separate job (for example, "prepare-build") and then reference it by This way we would have only single restore/save step executed by the "prepare-build" job. @yaito3014 Could you test this solution? |
|
By the way, I think we should revert the name to "deps" because "deps2" was not working |
|
@yaito3014 Maybe related: actions/stale#1090 (comment) |
|
@yaito3014 Maybe related: actions/cache#485 (comment) |
|
Remaining task
|

related PR: iris-cpp/iris#32