Debug-action-cache !full!
Every run tries to cache node_modules but fails due to >2 GB size. Debugging: Debug log explicitly says cache size (2.8 GB) exceeds limit . Fix: Cache only production dependencies ( npm ci --production ) or split across multiple cache actions.
If you find a corrupted cache, you cannot edit it. You must delete it. GitHub does not have a UI for deleting individual caches (as of 2025), but you can use the gh CLI or the delete-cache action. debug-action-cache
: Since native workflows prevent overwriting an existing cache key, utilize tools like the gh-actions-cache CLI extension to programmatically clear out stagnant or corrupted entries. Every run tries to cache node_modules but fails
If your cache keys are not deterministic—meaning they change unexpectedly between runs—you will never get a cache hit. The debug logs are invaluable here. If you find a corrupted cache, you cannot edit it
Let’s examine a few real-world failure patterns and the debugging steps that uncover them.
Before changing your codebase, force GitHub Actions to output verbose logs. You can enable runner diagnostic logging by setting specific repository secrets in your GitHub settings:
Add these secrets in your repository or organization: