actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.39k stars 1.17k forks source link

Cannot find cache and unable to delete it manually #1193

Closed he0119 closed 6 months ago

he0119 commented 1 year ago

image

Cancelling a running post cache step by concurrency cancel-in-progress settings will cause this.

https://github.com/he0119/action-test/actions/runs/5269537577/jobs/9527822433 https://github.com/he0119/action-test/actions/runs/5269550112/jobs/9527854128#step:11:3

I have contacted customer support #2206548.

Hi uy/sun,

Thank you for the follow-up!

It looks like the post-step being cancelled mid-execution is leaving a cache entry object but no actual cache finishes being created for that object - which prevents it from being deleted or used.

Overall, this use case appears to be reproducible only under specific conditions and timing, so I think it would be best for you to share this as an issue post on the actions/cache repository for product enhancement. It would be an excellent scenario to share there for our product team to consider possible solutions for improving this behavior if a cache entry enters a similar state.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.

github-actions[bot] commented 6 months ago

This issue was closed because it has been inactive for 5 days since being marked as stale.