cache/__tests__
Brenden Matthews a28af779d2
Add S3 cache download validation and retry logic
- 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
2025-06-20 16:35:40 -04:00
..
__fixtures__ Add unit tests for actionUtils (#93) 2019-11-13 16:13:00 -05:00
actionUtils.test.ts Add support to opt-in enable cross-os caching on windows (#1056) 2023-01-05 16:49:13 +05:30
create-cache-files.sh Add path argument to create-cache-files.sh 2020-04-07 23:29:07 -04:00
downloadValidation.test.ts Add S3 cache download validation and retry logic 2025-06-20 16:35:40 -04:00
restore.test.ts Consume latest toolkit and fix dangling promise bug (#1217) 2023-08-09 15:36:51 +01:00
restoreImpl.test.ts Add test case for process exit 2024-03-19 09:28:12 +01:00
restoreOnly.test.ts Consume latest toolkit and fix dangling promise bug (#1217) 2023-08-09 15:36:51 +01:00
save.test.ts Apply workaround for earlyExit 2024-01-10 15:36:58 +00:00
saveImpl.test.ts Apply workaround for earlyExit 2024-01-10 15:36:58 +00:00
saveOnly.test.ts Apply workaround for earlyExit 2024-01-10 15:36:58 +00:00
stateProvider.test.ts GA for granular cache (#1035) 2022-12-21 19:38:44 +05:30
verify-cache-files.sh Add path argument to verify-cache-files.sh 2020-04-07 23:30:01 -04:00