I added the list of cache entries as a subpage to the GitHub runners
page. It shows data sizes and timestamps in humanized format. To
accomplish this, I wrote two simple helper functions.
GitHub Actions cache has similar page
(https://github.com/ubicloud/ubicloud/actions/caches). There are several
use cases for this UI:
- We give 10GB of free cache storage and purge any caches that haven't
been accessed for 7 days or that exceed the storage limit. This new
UI allows users to monitor their cache storage usage and see future
needs. They can choose to clear some caches to free up space and
prevent cache eviction.
- Sometimes, users might need to delete certain caches to force their
regeneration, especially if the caches are corrupted.