Commit Graph

122 Commits (26cf03359438e93aa542f3fdfbb369cbd28cf4f8)

Author SHA1 Message Date
Brenden Matthews 2e68c2b015
Merge branch 'v4' of https://github.com/runs-on/cache into v4
Resolved conflicts in dist files by rebuilding after merge.
4 months ago
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
4 months ago
Cyril Rohr ae0e379aa0
Merge tag 'v4.2.3' into v4 5 months ago
Salman Chishti 76d40dd347 Update to use the latest version of the cache package to obfuscate the SAS 7 months ago
Salman Chishti 76dd5eb692 update cache with main 7 months ago
Salman Chishti 8c80c27c5e new package 8 months ago
Salman Chishti 45cfd0e7ff updates 8 months ago
Salman Chishti edd449b9cf updated cache with latest changes 8 months ago
Brenden Matthews 7994cabd39
Add support for S3 endpoints 8 months ago
Salman Chishti 0576707e37 latest test before pr 8 months ago
Salman Chishti 3105dc9754 update 8 months ago
Salman Chishti 9450d42d15 mask 8 months ago
Salman Chishti 7d05b27fb9 update cache package to mask whole sas to the end of the line 8 months ago
Salman Chishti 507b84c6a6 artifact changes 8 months ago
Salman Chishti f248408e15 type 8 months ago
Salman Chishti c30eb5542e debugging 8 months ago
Salman Chishti 5b6ae99d8b mask whole url 8 months ago
Salman Chishti eca7c65a55 changed 8 months ago
Salman Chishti 1b5d75f5cf add changes 8 months ago
Rob Herley da26677639
bump @actions/cache to v4.0.2, prep for v4.2.2 release 8 months ago
Rob Herley 710893c236
bump @actions/cache to v4.0.1 9 months ago
Bassem Dghaidi b109c12f3b Upgrade @actions/core to 1.11.1 and other deps 11 months ago
Bassem Dghaidi b7d227d702 Upgrade @vercel/ncc to 0.38.3 11 months ago
Bassem Dghaidi 4bc41c01bd Upgrade @actions/cache to 4.0.0 11 months ago
John Wesley Walker III 71d826cc33 appease the linter 1 year ago
John Wesley Walker III 25942a73ac ran `npm run build` 1 year ago
Josh Gross 3624ceb22c
Restore original behavior of `cache-hit` output (#1467)
* Restore original behavior of `cache-hit` output

* Bump version to 4.1.1
1 year ago
r4mimu 40c3b67b29
Fix cache-hit output when cache missed (#1404)
* fix: cache-hit output

* fix: Output chache hit timing

* fix: Output chache hit timing

---------

Co-authored-by: Josh Gross <joshmgross@github.com>
1 year ago
Cyril Rohr 4c85713eab Merge remote-tracking branch 'upstream/main' into fix/v4-update 1 year ago
Cyril Rohr 70d7646a11 build 1 year ago
Cyril Rohr 5cc6904a62 build 1 year ago
Marc Mueller e29dad3e36 Fix fail-on-cache-miss not working 2 years ago
bethanyj28 d2c84da363 update @actions/cache 2 years ago
Cyril Rohr f45c4284d8
dist 2 years ago
Cyril Rohr df4fed6d95
dist 2 years ago
Cyril Rohr ede15a2f5d
better defaults 2 years ago
Cyril Rohr 8f9e839eda
dist 2 years ago
Cyril Rohr e477012777
RunsOn implem 2 years ago
Tatyana Kostromskaya d0be34d544 Fix dist 2 years ago
Tatyana Kostromskaya a0a285ffd4 replace deprecated @zeit/ncc with @vercel/ncc 2 years ago
Tatyana Kostromskaya 99d573b49d Rebuild dist 2 years ago
Chad Kimes f7ebb81a3f
Consume latest toolkit and fix dangling promise bug (#1217)
* Consume latest toolkit and fix dangling promise bug

* Pass earlyExit parameter to run method so tests don't hang

* Pass earlyExit parameter to run method so tests don't hang

* Refactor restore files to have better patterns for testing

* style
2 years ago
Sankalp Kotewar 88522ab9f3
Reduced download segment size to 128 MB and timeout to 10 minutes (#1129)
* Changed segment size to 128mb & timeout to 10 min

* Updated license

* Updated licenses
3 years ago
Marc Mueller 940f3d7cf1
Add `lookup-only` option (#1041)
* Add new actions/cache version (with dryRun support)

* Add dry-run option

* Changes after rebase

* Update readme

* Rename option to lookup-only

* Update test name

* Update package.json + changelog

* Update README

* Update custom package version

* Update custom package version

* Update @actions/cache to 3.2.0

* Code review

* Update log statement

* Move test case

---------

Co-authored-by: Sankalp Kotewar <98868223+kotewar@users.noreply.github.com>
3 years ago
Lovepreet Singh b1db4b4897 Fix zstd breaking after new version release 3 years ago
Sampark Sharma 6998d139dd
Release patch version update (#1105) 3 years ago
Marc Mueller 627f0f41f6
Add `fail-on-cache-miss` option (#1036)
* Add fail-on-cache-miss option

* Small improvements

* Changes after rebase

* Update description

* Only fail if no cache entry is found

* Code review

* Update readme

* Add additional test case

* Bump version + changelog

* Update package-lock.json

* Update Readme
3 years ago
Sampark Sharma 6fd2d4538c
Add support to opt-in enable cross-os caching on windows (#1056)
* Add support to opt-in enable cross-os caching on windows

* Fix tests

* Address review comments and update tests

* Fix tests

* Address review comments

* Address review comments
3 years ago
Sampark Sharma 4723a57e26
Revert compression changes related to windows but keep version logging (#1049)
* Revert compression changes related to windows
 due to symlink issues

* Added tips and workarounds for cross os
3 years ago
Sampark Sharma 9b0be58822
Release compression related changes for windows (#1039)
* Release compression related changes for windows

* Update license
3 years ago