mirror of https://github.com/actions/cache.git
- Add empty file validation (0 bytes) and minimum size checks (512 bytes) for tar archives - Implement download completeness validation (bytes downloaded = expected) - Add retry logic with exponential backoff for validation failures (3 attempts: 1s/2s/4s delays) - Create DownloadValidationError class for specific validation failures - Add comprehensive test coverage for validation scenarios - Maintain graceful degradation - validation failures log warnings but don't fail workflows |
||
---|---|---|
.. | ||
custom | ||
utils | ||
constants.ts | ||
restore.ts | ||
restoreImpl.ts | ||
restoreOnly.ts | ||
save.ts | ||
saveImpl.ts | ||
saveOnly.ts | ||
stateProvider.ts |