Commit Graph
35 Commits
Author SHA1 Message Date
Salman Muin Kayser Chishti fff3a02570 Merge branch 'main' into salmanmkc/node24 2025-08-08 03:54:30 +01:00
Bassem Dghaidi da5f546157 Fix linter complaints 2025-08-07 03:49:51 -07:00
Salman Muin Kayser Chishti 7533af2e97 updates 2025-07-31 23:48:44 +01: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- 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
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
Bassem Dghaidi 3e095368f1 Refactor saveCacheV2 to use saveCache from cacheHttpClient 2024-11-28 07:22:01 -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 eb5b59e169 Refactoring & cleanup 2024-10-24 06:09:23 -07:00
Bassem Dghaidi 735f4c343d Use zlib for compression 2024-06-13 03:16:59 -07:00
Sampark Sharma 85bb581273 Cache package release for compression change in windows with symlink fix (#1291)
* Cache package release for compression change in windows

This reverts commit d4fc1ac928.

* Add env variable to enable windows symlinks

* Add cross os opt-in functionality for cache on windows

* Fix test

* Address review comments

* Fix test

* Fix tests

* Fix tests

* Fix tests

* Address review comments

* Address review comments

* Fix tests

* Fix tests

* Add npm version

* Add release details
2023-01-04 12:16:25 +05:30
Shubham Tiwari 98f1922f44 Graceful handling of error (non-validation one) (#1122)
* Initial changes

* added info error as well

* Format

* Unused package

* adding message field

* removed line

* Review comments

* review comment to add validation as errors handling
2022-06-24 10:46:20 +05:30
Sankalp Kotewar 6b5378202f Test case fix for warning message changes 2022-05-23 12:05:31 +00:00
Sankalp Kotewar a018510ff8 Fixed linting issues 2022-05-23 06:49:26 +00:00
Sankalp Kotewar 1741a92358 Standardized test case input 2022-05-23 06:39:22 +00:00
Sankalp Kotewar 94fe8e1a0d Added unit test case for #624 2022-05-23 06:32:13 +00:00
Brian Cristante 8262beac6e Update other packages to use http-client v2 (#1082)
We moved `@actions/http-client` to be part of the toolkit in https://github.com/actions/toolkit/pull/1062.  We also made some breaking changes to exported types and released v2.

The biggest change in terms of lines of code affected was to get rid of the `I-` prefix for interfaces since TypeScript doesn't follow this convention.

I bumped the patch version of all packages except for `tool-cache`, where I bumped the major version.  The rationale is explained in the release notes for that package.
2022-05-11 17:14:25 -04:00
2849f395bc Added cacheSize in ReserveCache API request (#1044)
* Added cacheSize in ReserveCache API request

* minor

* minor

* minor

* Cleanup

* package-lock revert

* Modified tests

* New Response Type

* cleanup

* Linting

* Lint fix

* Resolved comments

* Added tests

* package-lock

* Resolved package-lock mismatch

* Liniting

* Update packages/cache/src/cache.ts

Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>

* Linting issue

* Resolved few comments

* version upgrade

* Savecache tests

* RequestUtil test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

Co-authored-by: Apple <apple@Apples-MacBook-Pro.local>
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
2022-04-04 16:21:58 +05:30
Deepak Dahiya 25c2a7de74 Revert "T dedah/cache size" (#1042) 2022-04-01 02:10:08 +05:30
Apple c24bdf1c4c Resolved comments 2022-04-01 01:41:12 +05:30
Apple bef181dc3f Lint fix 2022-04-01 01:16:43 +05:30
Deepak Dahiya ae40a4eeab Linting 2022-03-31 10:41:54 +00:00
Deepak Dahiya 2f2e0dc2cc New Response Type 2022-03-31 09:42:59 +00:00
Apple cd441954ec Modified tests 2022-03-30 13:27:36 +05:30
Aparna Ravindra 98e6cf8881 Cache: Increasing client validation to 10GB (#934)
* increasing client validation limit in cache package to 10gb
2021-11-19 16:34:33 +05:30
Thomas Boop d445878917 Re-enable the audit tools step and update dependencies (#815)
* update package versions

* run audit

* fix eslint config

* linter updates

* re-enable audit

* update timeouts test

* pass done into callback

* fix format
2021-05-21 09:19:40 -04:00
Minh Nguyen e22f646915 Fix typo in function name (#590) 2021-05-03 11:09:44 -04:00
Aiqiao Yan 6c4ba6514f React to feedback 2020-05-15 12:26:42 -04:00
Aiqiao Yan 2df0bd7fb8 Add cache upload options and pull from latest actions/cache master 2020-05-12 12:53:45 -04:00
Aiqiao Yan eccf4388e3 Fix tests 2020-05-12 12:02:18 -04:00
Aiqiao Yan 7f6eb71d18 Change variable path to a list 2020-05-12 12:02:18 -04:00
Aiqiao Yan ab4976ef10 Initial commit to create @actions/cache package 2020-05-12 12:02:18 -04:00