Commit Graph
430 Commits
Author SHA1 Message Date
Bassem Dghaidi ffdfbf62e9 Reintroduce @protobuf-ts/runtime as a runtime dependency v2.11.1 2025-08-07 03:15:33 -07:00
Bassem Dghaidi f338cadd54 Merge pull request #2111 from actions/Link-/cache-4.0.4
Prepare `@actions/cache` 4.0.4
2025-08-06 21:11:24 +02:00
Bassem Dghaidi 64b0793505 Prepare release 4.0.4 2025-08-06 11:37:53 -07:00
Bassem Dghaidi dedf59c1d6 Merge pull request #2106 from actions/Link-/optimise-cache-deps
Move `@protobuf-ts/plugin` to dev dependencies
2025-07-31 14:03:14 +02:00
Bassem Dghaidi 6c3a8b03bb Optimise cache dependencies 2025-07-31 04:20:29 -07:00
Bassem Dghaidi 8d73df03be Move @protobuf-ts/plugin to dev dependencies 2025-07-28 07:58:41 -07:00
Bassem Dghaidi 23733c502e Merge pull request #2100 from actions/copilot/fix-2099
Improve cache service availability determination and implement conditional error logging
2025-07-28 16:49:10 +02:00
Bassem Dghaidi 2b3d0627fa Merge pull request #2101 from actions/Link-/clarify-cache-hit-log
Explicit logging of cache key and restore key matches
2025-07-18 15:20:45 +02:00
copilot-swe-agent[bot]andLink- 780c52920e Fix v1 cache service to only check ACTIONS_CACHE_URL
Co-authored-by: Link- <568794+Link-@users.noreply.github.com>
2025-07-14 13:39:13 +00:00
copilot-swe-agent[bot]andLink- c0e1707545 Restore server error test and confirm logCacheError function removal
Co-authored-by: Link- <568794+Link-@users.noreply.github.com>
2025-07-14 13:01:02 +00:00
copilot-swe-agent[bot]andLink- a5f3dac9b5 Remove logCacheError function and implement inline 5xx error detection as requested
Co-authored-by: Link- <568794+Link-@users.noreply.github.com>
2025-07-14 12:42:37 +00:00
copilot-swe-agent[bot]andLink- 098b391e92 Complete PR feedback implementation: all cache tests passing
Co-authored-by: Link- <568794+Link-@users.noreply.github.com>
2025-07-14 12:26:40 +00:00
copilot-swe-agent[bot]andLink- 768c09e245 Implement 5xx server error detection and fix most cache tests
Co-authored-by: Link- <568794+Link-@users.noreply.github.com>
2025-07-14 12:23:44 +00:00
copilot-swe-agent[bot]andLink- 0632db1508 Update tests to expect warnings instead of errors for non-5xx cache failures
Co-authored-by: Link- <568794+Link-@users.noreply.github.com>
2025-07-14 12:07:37 +00:00
Bassem Dghaidi 355b96f648 Fix linting issues 2025-07-14 03:49:28 -07:00
Bassem Dghaidi 50df04cfa4 Fix logging of cache key and restore key matches 2025-07-14 03:45:17 -07:00
copilot-swe-agent[bot]andLink- 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]andLink- 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