copilot-swe-agent[bot] and Link-
4b4a56d5f7
Fix tests to expect errors instead of warnings for cache failures
...
- Update restoreCacheV2.test.ts, restoreCache.test.ts, saveCacheV2.test.ts, and saveCache.test.ts
- Change test expectations from core.warning to core.error for cache operation failures
- All tests now pass successfully
Co-authored-by: Link- <568794+Link-@users.noreply.github.com >
2025-07-14 10:38:47 +00:00
copilot-swe-agent[bot] and Link-
6c9465b976
Improve cache service availability determination and change warnings to errors
...
- Update isFeatureAvailable() to leverage ACTIONS_CACHE_SERVICE_V2 feature flag
- For v2: check ACTIONS_RESULTS_URL availability
- For v1: check either ACTIONS_CACHE_URL or ACTIONS_RESULTS_URL availability
- Change warning logs to error logs for cache failures
- Add comprehensive tests covering all scenarios
Co-authored-by: Link- <568794+Link-@users.noreply.github.com >
2025-07-14 10:32:34 +00:00
Ryan Ghadimi
b7a90ec742
Merge pull request #2041 from actions/ghadimir/fix_cache_tests
...
Fix cache tests
2025-05-07 09:53:32 +01:00
Ryan Ghadimi
62997f4a4a
alphabetically order them
2025-05-07 08:31:17 +00:00
Ryan Ghadimi
fee58efe37
maybe this works instead
2025-05-06 20:22:05 +00:00
Ryan Ghadimi
7e000b8182
don't need that maybe
2025-05-06 20:08:50 +00:00
Ryan Ghadimi
61892208ae
change url
2025-05-06 20:02:27 +00:00
Ryan Ghadimi
233b58ff4c
add env variable for cache tests
2025-05-06 19:50:44 +00:00
Salman Chishti
d1b5f30339
Merge pull request #1995 from actions/salmanmkc/2-new-cache-artifacts-release
...
Prepare Cache v4.0.3 & Artifact v2.3.2 releases
2025-03-17 21:22:10 +00:00
Salman Chishti
0f9155c2bd
remove extra brace
2025-03-17 17:14:25 +00:00
Salman Chishti
b23b3d6d4e
Add update to release doc, as will include it in this release
2025-03-17 17:12:32 +00:00
JoannaaKL
4d0dc6ece5
Merge pull request #1994 from gitulisca-enterprise-cloud-testing/gitulisca/log-restore-request-version
...
Log cache version requested on debugging message
2025-03-17 17:58:16 +01:00
Salman Chishti
3fe4261a00
Use patch instead of minor
2025-03-17 14:08:42 +00:00
Salman Chishti
4d14c06d03
shared instead of secure
2025-03-17 12:48:56 +00:00
Salman Chishti
0b168ac7fd
update package-lock.json
2025-03-17 12:47:54 +00:00
Salman Chishti
a3fda0276a
change it to minor version instead of patch
2025-03-17 12:44:51 +00:00
Salman Chishti
37181a0c7e
update versions for cache and artifact
2025-03-17 12:09:16 +00:00
Art Leo
54ac8fc2b0
Log cache version requested
2025-03-15 10:13:43 +11:00
Salman Chishti
2e7002485c
add encoding back with extra tests
2025-03-14 06:38:57 -07:00
Salman Chishti
c417b394aa
don't need to url encode or set var
2025-03-14 06:21:41 -07:00
Salman Chishti
fb3958ba44
update ts docs
2025-03-13 04:47:49 -07:00
Salman Chishti
b55f609ced
PR feedback, back to simplified approach, no export on client as well
2025-03-13 04:23:45 -07:00
Salman Chishti
b3590604e8
Log debug error when failing to decode
2025-03-12 08:14:01 -07:00
Salman Chishti
c7ec9af3af
Mask different situations, malformed URL, encoded, decoded, raw signatures, nested parameters, and moved to a utility file
2025-03-12 03:17:35 -07:00
Salman Chishti
330919bb70
Remove clean script
2025-03-10 06:51:30 -07:00
Salman Chishti
cd186258e8
masks the whole URL, update tests
2025-03-10 06:47:52 -07:00
Salman Chishti
00d0e25088
Instead of using utility method in core lib, use method in both twirp clients
2025-03-07 06:01:25 -08:00
Salman Chishti
0ba281d011
remove these changes
2025-03-06 14:31:21 -08:00
Salman Chishti
10e284a34d
Add secret and signature masking for cache and artifact packages
2025-03-06 14:25:32 -08:00
Rob Herley
8a4fdf5d3c
cache: prep v4.0.2 release
2025-02-25 15:03:37 -05:00
Rob Herley
fc7b7edf30
Merge pull request #1966 from actions/robherley/wrap-create-cache-err
...
cache: wrap create failures in ReserveCacheError
2025-02-25 15:00:25 -05:00
Rob Herley
c6b0a26648
cache: wrap create failures in ReserveCacheError
2025-02-25 12:49:08 -05:00
Rob Herley
ebbf17e9f1
Merge pull request #1958 from actions/robherley/cache/v4.0.1
...
Update manifests & release notes for cache v4.0.1
2025-02-14 12:20:52 -05:00
Rob Herley
5813dd9b59
update manifests & release notes for cache v4.0.1
2025-02-14 11:02:13 -05:00
Rob Herley
d0ad5efb8b
Merge pull request #1954 from actions/robherley/miss-msg
...
Cache miss as debug, not warning annotation
2025-02-14 10:58:45 -05:00
Rob Herley
516a802ae7
update mocks
2025-02-14 09:42:41 -05:00
Rob Herley
3259ff2c2f
cache miss as debug, not warning annotation
2025-02-14 09:28:01 -05:00
Rob Herley
61f222d41c
remove runtime dependency on twirp-ts
2025-01-27 17:52:55 +00:00
Josh Gross
24ef84f8b7
Remove more unused cache APIs ( #1909 )
2024-12-19 13:26:19 -05:00
Josh Gross
598c4ecc3e
Remove more unused cache APIs
2024-12-17 14:51:57 -05:00
Josh Gross
db5f85cef0
Remove unused cache API ( #1907 )
2024-12-17 14:04:05 -05:00
Bassem Dghaidi
3ae9efd92d
Merge pull request #1886 from actions/Link-/cache-4.0.0
...
Prepare `@actions/cache` `4.0.0` release
2024-12-04 20:09:19 +01:00
Bassem Dghaidi
e6b01ddf26
Rerun CI
2024-12-04 10:53:00 -08:00
Bassem Dghaidi
0e3e84bb8f
Add announcement link
2024-12-04 08:23:10 -08:00
Bassem Dghaidi
87c0d3ba25
Update deprecation notice
2024-12-04 05:33:47 -08:00
Bassem Dghaidi
c9c84035a5
Update deprecation notice
2024-12-04 05:30:50 -08:00
Bassem Dghaidi
100a33ec37
Update README to include deprecation notice
2024-12-03 02:52:39 -08:00
Bassem Dghaidi
6d92f77218
Prepare @actions/cache 4.0.0 release
2024-12-03 02:40:00 -08:00
Bassem Dghaidi
8d09b6349a
Merge pull request #1882 from actions/enhance-blob-client
...
Enhance blob client resilience & performance
2024-12-02 20:48:46 +01:00
Bassem Dghaidi
61623c2e2b
Minor comment adjustments
2024-12-02 11:10:25 -08:00