210 Commits

Author SHA1 Message Date
JoannaaKL
857c61a9df
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
Art Leo
514314311c
Log cache version requested 2025-03-15 10:13:43 +11:00
Salman Chishti
957d42e6c5 add encoding back with extra tests 2025-03-14 06:38:57 -07:00
Salman Chishti
39419dd8c3 don't need to url encode or set var 2025-03-14 06:21:41 -07:00
Salman Chishti
6876e2a664 update ts docs 2025-03-13 04:47:49 -07:00
Salman Chishti
fc482662af PR feedback, back to simplified approach, no export on client as well 2025-03-13 04:23:45 -07:00
Salman Chishti
abd9054c61 Log debug error when failing to decode 2025-03-12 08:14:01 -07:00
Salman Chishti
3ac34ffcb7 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
47c4fa85df masks the whole URL, update tests 2025-03-10 06:47:52 -07:00
Salman Chishti
1cd2f8a538 Instead of using utility method in core lib, use method in both twirp clients 2025-03-07 06:01:25 -08:00
Salman Chishti
944e6b78db Add secret and signature masking for cache and artifact packages 2025-03-06 14:25:32 -08:00
Rob Herley
d096588f08
cache: wrap create failures in ReserveCacheError 2025-02-25 12:49:08 -05:00
Rob Herley
e6fb8f1c5d
cache miss as debug, not warning annotation 2025-02-14 09:28:01 -05:00
Rob Herley
e0c069db55
remove runtime dependency on twirp-ts 2025-01-27 17:52:55 +00:00
Josh Gross
01f21badd5
Remove more unused cache APIs 2024-12-17 14:51:57 -05:00
Josh Gross
26f8f84a96
Remove unused cache API (#1907) 2024-12-17 14:04:05 -05:00
Bassem Dghaidi
c02c929c56 Minor comment adjustments 2024-12-02 11:10:25 -08:00
Bassem Dghaidi
c649df4b94 Minor comment adjustments 2024-12-02 10:55:33 -08:00
Bassem Dghaidi
fb40492b6f
Merge branch 'enhance-blob-client' of github.com:actions/toolkit into enhance-blob-client 2024-12-02 10:55:00 -08:00
Bassem Dghaidi
502e8ce651 Minor comment adjustments 2024-12-02 10:53:29 -08:00
Bassem Dghaidi
3f7df8ec5a
Fix comments
Co-authored-by: Josh Gross <joshmgross@github.com>
2024-12-02 19:46:18 +01:00
Bassem Dghaidi
b24632bd80
Fix comments
Co-authored-by: Josh Gross <joshmgross@github.com>
2024-12-02 19:46:11 +01:00
Bassem Dghaidi
792ec716de Tune upload options 2024-12-02 07:32:33 -08:00
Bassem Dghaidi
a762876d6d Minor refactoring 2024-12-02 04:08:21 -08:00
Bassem Dghaidi
d89855bb90 Fix upload progress bug 2024-12-02 03:55:57 -08:00
Bassem Dghaidi
db1d01308c Troubleshoot 2024-12-02 03:35:20 -08:00
Bassem Dghaidi
4a272e9053 Troubleshoot 2024-12-02 03:08:05 -08:00
Bassem Dghaidi
ee1c07d0aa Add error handling for failed uploads 2024-12-02 02:38:51 -08:00
Bassem Dghaidi
c6f1224d30 Add progress tracking for blob uploads 2024-12-02 02:33:27 -08:00
Bassem Dghaidi
1d403c2fd8 Fix tests 2024-11-29 07:36:51 -08:00
Bassem Dghaidi
65892d5ffe Fine tune blob uploads 2024-11-29 07:09:05 -08:00
Bassem Dghaidi
8c5f6f2dc5 Force use of Azure for restoreCacheV2 2024-11-28 07:42:07 -08:00
Bassem Dghaidi
62f5f1885b Refactor saveCacheV2 to use saveCache from cacheHttpClient 2024-11-28 07:22:01 -08:00
Bassem Dghaidi
eaf0083ee2 Respect download options for restore 2024-11-28 04:56:37 -08:00
Bassem Dghaidi
c1fb081674
Linter fixes 2024-11-28 03:53:34 -08:00
Bassem Dghaidi
df166709a3
Refactor cache upload functionality and improve test cases 2024-11-28 03:52:09 -08:00
Bassem Dghaidi
c5a5de05f6 Delete download-cache 2024-11-28 03:36:32 -08:00
Bassem Dghaidi
35d87ab129
Refactor code formatting for consistency and readability 2024-11-27 05:58:22 -08:00
Bassem Dghaidi
af3981c955 Update the useragent of the old http client to pass cache version 2024-11-27 05:50:01 -08:00
Bassem Dghaidi
27e5cf2514 Replace downloadCacheFile with downloadCacheStorageSDK 2024-11-27 04:51:21 -08:00
John Sudol
b050504b2d Add test case for when the uploadFile fails on the blobclient 2024-11-27 01:45:46 +00:00
John Sudol
94f18eb26e Only mock the cacheUtil methods we need 2024-11-26 23:05:11 +00:00
John Sudol
46174ed573 run prettier 2024-11-26 00:56:07 +00:00
John Sudol
1f087496ca Add debug message for uploadResponse 2024-11-26 00:43:37 +00:00
John Sudol
8f606682c2 Add saveCacheV2 tests 2024-11-26 00:23:42 +00:00
Bassem Dghaidi
4d31e1048a Add the download cache file status code to debug log 2024-11-25 07:34:52 -08:00
Bassem Dghaidi
0e321b26f4 Add the download cache file status code to debug log 2024-11-25 07:34:07 -08:00
Bassem Dghaidi
de236da416 Fix cache lookup scenario 2024-11-25 05:47:51 -08:00
Bassem Dghaidi
4dadd612d6 Add support for matching on restore key values 2024-11-25 05:42:50 -08:00
Bassem Dghaidi
54ac2dd012 Add cache service version debug message 2024-11-25 04:08:47 -08:00