2021: Debug-action-cache

Sometimes the cache hit is correct, but the files it points to are corrupted or missing from the CAS.

Because the cache is normally "invisible" (you can't browse it like a folder), a common "solid" debugging technique is to temporarily upload the cached directory as an . Workflow Step : debug-action-cache

[debug] Resolved path: 'node_modules' -> '/home/runner/work/app/node_modules' [debug] Path exists: true [debug] Contents: [ 'react', 'lodash', '.bin' ] Sometimes the cache hit is correct, but the

Sometimes, cache restoration succeeds, but the data is wrong. The debug-action-cache logs won't show file contents. You need to manually inspect. Sometimes the cache hit is correct

: Cache not found for key: linux-npm-xyz123