Commit Graph
203 Commits
Author SHA1 Message Date
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 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 10e284a34d Add secret and signature masking for cache and artifact packages 2025-03-06 14:25:32 -08:00
Rob Herley c6b0a26648 cache: wrap create failures in ReserveCacheError 2025-02-25 12:49:08 -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 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 61623c2e2b Minor comment adjustments 2024-12-02 11:10:25 -08:00
Bassem Dghaidi 00ba0e14b3 Minor comment adjustments 2024-12-02 10:55:33 -08:00
Bassem Dghaidi d779b4bc2a Merge branch 'enhance-blob-client' of github.com:actions/toolkit into enhance-blob-client 2024-12-02 10:55:00 -08:00
Bassem Dghaidi 4cde3217d2 Minor comment adjustments 2024-12-02 10:53:29 -08:00
Bassem DghaidiandJosh Gross f3451f4e32 Fix comments
Co-authored-by: Josh Gross <joshmgross@github.com>
2024-12-02 19:46:18 +01:00
Bassem DghaidiandJosh Gross a38b7c8c85 Fix comments
Co-authored-by: Josh Gross <joshmgross@github.com>
2024-12-02 19:46:11 +01:00
Bassem Dghaidi e51a94a67c Tune upload options 2024-12-02 07:32:33 -08:00
Bassem Dghaidi e93d126075 Minor refactoring 2024-12-02 04:08:21 -08:00
Bassem Dghaidi dd7886c186 Fix upload progress bug 2024-12-02 03:55:57 -08:00
Bassem Dghaidi f51d6a5578 Troubleshoot 2024-12-02 03:35:20 -08:00
Bassem Dghaidi f22a76997a Troubleshoot 2024-12-02 03:08:05 -08:00
Bassem Dghaidi 081d3c497e Add error handling for failed uploads 2024-12-02 02:38:51 -08:00
Bassem Dghaidi b12049ae0c Add progress tracking for blob uploads 2024-12-02 02:33:27 -08:00
Bassem Dghaidi b1ea5b92cd Fix tests 2024-11-29 07:36:51 -08:00
Bassem Dghaidi dc9b9ba34f Fine tune blob uploads 2024-11-29 07:09:05 -08:00
Bassem Dghaidi ff642a18e3 Force use of Azure for restoreCacheV2 2024-11-28 07:42:07 -08:00
Bassem Dghaidi 3e095368f1 Refactor saveCacheV2 to use saveCache from cacheHttpClient 2024-11-28 07:22:01 -08:00
Bassem Dghaidi 10c2c22dd2 Respect download options for restore 2024-11-28 04:56:37 -08:00
Bassem Dghaidi ffe895ecd9 Linter fixes 2024-11-28 03:53:34 -08:00
Bassem Dghaidi af0425c904 Refactor cache upload functionality and improve test cases 2024-11-28 03:52:09 -08:00
Bassem Dghaidi ecf992d567 Delete download-cache 2024-11-28 03:36:32 -08:00
Bassem Dghaidi 33f6373861 Refactor code formatting for consistency and readability 2024-11-27 05:58:22 -08:00
Bassem Dghaidi f1aa7811eb Update the useragent of the old http client to pass cache version 2024-11-27 05:50:01 -08:00
Bassem Dghaidi 82befd3a8f Replace downloadCacheFile with downloadCacheStorageSDK 2024-11-27 04:51:21 -08:00
John Sudol a2898cbdd4 Add test case for when the uploadFile fails on the blobclient 2024-11-27 01:45:46 +00:00
John Sudol 0a64fffb61 Only mock the cacheUtil methods we need 2024-11-26 23:05:11 +00:00
John Sudol f4bb9a563c run prettier 2024-11-26 00:56:07 +00:00
John Sudol 29b76597d9 Add debug message for uploadResponse 2024-11-26 00:43:37 +00:00
John Sudol 8e0c67a6ea Add saveCacheV2 tests 2024-11-26 00:23:42 +00:00
Bassem Dghaidi 5cd6c0376f Add the download cache file status code to debug log 2024-11-25 07:34:52 -08:00
Bassem Dghaidi 01128265a9 Add the download cache file status code to debug log 2024-11-25 07:34:07 -08:00
Bassem Dghaidi 2360eb3d26 Fix cache lookup scenario 2024-11-25 05:47:51 -08:00
Bassem Dghaidi b39d23cb38 Add support for matching on restore key values 2024-11-25 05:42:50 -08:00
Bassem Dghaidi 7c9c946d7e Add cache service version debug message 2024-11-25 04:08:47 -08:00
Bassem Dghaidi d464c6fdaf Add more tests for restoreCacheV2 2024-11-25 03:53:03 -08:00
Bassem Dghaidi eafd0f7f46 Add restore tests 2024-11-22 09:01:59 -08:00
Bassem Dghaidi edb731e24f Linter fixes and remove unnecessary dependency 2024-11-21 04:05:04 -08:00
Bassem Dghaidi b72fc22ab7 Add isGhes gate and refactor to clean up circular dependencies 2024-11-21 04:01:44 -08:00
Bassem Dghaidi f1bb07f5f0 Update cache service APIs & cleanup 2024-11-20 13:53:47 -08:00
Bassem Dghaidi 8a57bddafb Remove unused definitions 2024-11-14 07:11:12 -08:00
Bassem Dghaidi 879ea8b0dd Merge branch 'neo-cache-service' of github.com:actions/toolkit into neo-cache-service 2024-11-14 06:50:01 -08:00