Salman Muin Kayser Chishti
8a2701f328
fix(cache): replace @azure/ms-rest-js with @azure/core-rest-pipeline
...
Remove abandoned @azure/ms-rest-js dependency which pulls in node-fetch@v2, causing punycode deprecation warnings on Node.js 24+.
The TransferProgressEvent type is now imported from @azure/core-rest-pipeline instead.
2025-12-10 11:23:06 +00: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
e0c069db55
remove runtime dependency on twirp-ts
2025-01-27 17:52:55 +00: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
62f5f1885b
Refactor saveCacheV2 to use saveCache from cacheHttpClient
2024-11-28 07:22:01 -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
8f606682c2
Add saveCacheV2 tests
2024-11-26 00:23:42 +00:00
Bassem Dghaidi
4de30f744e
Add more tests for restoreCacheV2
2024-11-25 03:53:03 -08:00
Bassem Dghaidi
267841d7bd
Add isGhes gate and refactor to clean up circular dependencies
2024-11-21 04:01:44 -08:00
Bassem Dghaidi
a1e6ef3759
Update cache service APIs & cleanup
2024-11-20 13:53:47 -08:00
Bassem Dghaidi
5e9ef8532f
Lint fixes
2024-11-14 04:47:27 -08:00
Bassem Dghaidi
c3e354da23
Remove unnecessary debug information
2024-11-14 04:33:31 -08:00
Bassem Dghaidi
b2557ac90c
Formatting and stylistic cleanup
2024-11-14 03:22:03 -08:00
Bassem Dghaidi
9dff82c727
Port dependencies & remove dependency on toolkit/artifacts
2024-11-14 03:01:04 -08:00
Bassem Dghaidi
d109d9c03e
Handle ACTIONS_CACHE_SERVICE_V2 feature flag
2024-11-14 03:00:43 -08:00
Bassem Dghaidi
28dbd8ff93
Cleanups and package refactoring
2024-10-24 05:19:48 -07:00
Bassem Dghaidi
89354f6540
Cleanup implementation and use tarballs instead of streaming zip
2024-10-21 05:21:32 -07:00
Bassem Dghaidi
4d1dedf2c7
Merge branch 'main' into neo-cache-service
2024-10-09 07:45:11 -07:00
Bassem Dghaidi
13abc95165
Port restoreCache to new service
2024-10-09 04:32:57 -07:00
Josh Gross
d14afd7973
Explicitly import crypto ( #1842 )
...
* Explicitly import `crypto`
* Add release notes for 1.11.1
* Fix crypto mock in test
* Fix `crypto` mock
* Lint
2024-10-04 17:23:42 -04:00
Josh Gross
78af634e7e
Remove dependency on uuid package ( #1824 )
2024-10-02 12:28:06 -04:00
Bassem Dghaidi
e62c6428e7
Fix service urls
2024-09-24 03:29:14 -07:00
Bassem Dghaidi
07e51a445e
Add cache service v2 client
2024-09-24 03:17:44 -07:00
Bassem Dghaidi
04d1a7ec3c
Add fix cache paths
2024-06-17 03:36:06 -07:00
Bassem Dghaidi
8d7ed4fb57
Fix cache service url bug
2024-06-17 01:32:41 -07:00
Bassem Dghaidi
5afc042a74
Add download cache v2
2024-06-17 01:17:10 -07:00
Bassem Dghaidi
5e5faf73fc
Use zlib for compression
2024-06-13 03:16:59 -07:00
Bassem Dghaidi
9e63a77e7a
Implement cache v2
2024-06-10 12:19:52 -07:00
Bassem Dghaidi
6635d12ce0
Implement cache v2
2024-06-10 11:36:37 -07:00
Bassem Dghaidi
dccc3f7f1c
Fix upload mechanics
2024-06-10 11:01:01 -07:00