Commit Graph

125 Commits (71a268f01ab91c7d1e48f932d8670afced970fde)

Author SHA1 Message Date
Cyril Rohr 71a268f01a
build 2025-10-14 20:52:01 +02:00
Brenden Matthews 2e68c2b015
Merge branch 'v4' of https://github.com/runs-on/cache into v4
Resolved conflicts in dist files by rebuilding after merge.
2025-06-23 21:03:22 -04:00
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
Cyril Rohr ae0e379aa0
Merge tag 'v4.2.3' into v4 2025-05-27 14:14:08 +02:00
Salman Chishti 76d40dd347 Update to use the latest version of the cache package to obfuscate the SAS 2025-03-18 07:58:36 -07:00
Salman Chishti 76dd5eb692 update cache with main 2025-03-18 03:43:02 -07:00
Salman Chishti 8c80c27c5e new package 2025-03-13 04:55:45 -07:00
Salman Chishti 45cfd0e7ff updates 2025-03-13 04:30:51 -07:00
Salman Chishti edd449b9cf updated cache with latest changes 2025-03-12 03:22:00 -07:00
Brenden Matthews 7994cabd39
Add support for S3 endpoints 2025-03-11 13:29:31 -04:00
Salman Chishti 0576707e37 latest test before pr 2025-03-10 06:54:42 -07:00
Salman Chishti 3105dc9754 update 2025-03-10 04:27:54 -07:00
Salman Chishti 9450d42d15 mask 2025-03-10 04:24:44 -07:00
Salman Chishti 7d05b27fb9 update cache package to mask whole sas to the end of the line 2025-03-10 04:20:14 -07:00
Salman Chishti 507b84c6a6 artifact changes 2025-03-07 08:47:30 -08:00
Salman Chishti f248408e15 type 2025-03-07 08:12:07 -08:00
Salman Chishti c30eb5542e debugging 2025-03-07 08:06:30 -08:00
Salman Chishti 5b6ae99d8b mask whole url 2025-03-07 08:02:01 -08:00
Salman Chishti eca7c65a55 changed 2025-03-07 08:00:03 -08:00
Salman Chishti 1b5d75f5cf add changes 2025-03-07 07:56:21 -08:00
Rob Herley da26677639
bump @actions/cache to v4.0.2, prep for v4.2.2 release 2025-02-26 12:45:56 -05:00
Rob Herley 710893c236
bump @actions/cache to v4.0.1 2025-02-14 13:20:28 -05:00
Bassem Dghaidi b109c12f3b Upgrade @actions/core to 1.11.1 and other deps 2024-12-04 12:06:05 -08:00
Bassem Dghaidi b7d227d702 Upgrade @vercel/ncc to 0.38.3 2024-12-04 11:59:05 -08:00
Bassem Dghaidi 4bc41c01bd Upgrade @actions/cache to 4.0.0 2024-12-04 11:32:28 -08:00
John Wesley Walker III 71d826cc33 appease the linter 2024-10-18 13:52:16 +00:00
John Wesley Walker III 25942a73ac ran `npm run build` 2024-10-18 13:25:07 +00:00
Josh Gross 3624ceb22c
Restore original behavior of `cache-hit` output (#1467)
* Restore original behavior of `cache-hit` output

* Bump version to 4.1.1
2024-10-08 13:08:22 -04:00
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>
2024-07-31 16:56:48 +00:00
Cyril Rohr 4c85713eab Merge remote-tracking branch 'upstream/main' into fix/v4-update 2024-05-21 17:58:44 +00:00
Cyril Rohr 70d7646a11 build 2024-05-21 16:53:32 +00:00
Cyril Rohr 5cc6904a62 build 2024-05-21 16:27:55 +00:00
Marc Mueller e29dad3e36 Fix fail-on-cache-miss not working 2024-03-01 07:28:18 +01:00
bethanyj28 d2c84da363 update @actions/cache 2024-02-29 13:11:38 -05:00
Cyril Rohr f45c4284d8
dist 2024-02-28 09:30:03 +00:00
Cyril Rohr df4fed6d95
dist 2024-02-28 08:26:54 +00:00
Cyril Rohr ede15a2f5d
better defaults 2024-02-15 16:00:07 +00:00
Cyril Rohr 8f9e839eda
dist 2024-02-15 12:38:10 +00:00
Cyril Rohr e477012777
RunsOn implem 2024-02-15 12:38:10 +00:00
Tatyana Kostromskaya d0be34d544 Fix dist 2024-01-15 14:19:39 +00:00
Tatyana Kostromskaya 01229828ff Apply workaround for earlyExit 2024-01-10 15:36:58 +00:00
Tatyana Kostromskaya a0a285ffd4 replace deprecated @zeit/ncc with @vercel/ncc 2023-12-15 11:00:48 +00:00
Tatyana Kostromskaya 99d573b49d Rebuild dist 2023-12-15 10:17:02 +00:00
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
2023-08-09 15:36:51 +01:00
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
2023-03-13 10:32:46 +05:30
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>
2023-03-09 18:00:28 +05:30
Lovepreet Singh b1db4b4897 Fix zstd breaking after new version release 2023-02-20 19:51:54 +00:00
Sampark Sharma 6998d139dd
Release patch version update (#1105) 2023-02-10 11:44:56 +05:30
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
2023-01-30 16:40:58 +05:30
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
2023-01-05 16:49:13 +05:30