mirror of
https://github.com/actions/cache.git
synced 2025-10-30 10:38:41 +08:00
- 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 |
||
|---|---|---|
| .. | ||
| __fixtures__ | ||
| actionUtils.test.ts | ||
| create-cache-files.sh | ||
| downloadValidation.test.ts | ||
| restore.test.ts | ||
| restoreImpl.test.ts | ||
| restoreOnly.test.ts | ||
| save.test.ts | ||
| saveImpl.test.ts | ||
| saveOnly.test.ts | ||
| stateProvider.test.ts | ||
| verify-cache-files.sh | ||