1
0
Fork 0
toolkit/packages
janssen 8aba179523 Added custom retry codes configuration options (#1569)
Extended the `RequestOptions` interface with `retryCodes` and `noRetryCodes` options, added the implementation for that in `index.js` by creating the function `_shouldRetryOnCode`, which has the hierarchy `retryCodes` > `noRetryCodes` > `DefaultHttpResponseRetryCodes`. Also fixed the failing unit tests by updating the imports (can be reverted if that was not needed, but in my case it was) and wrote new unit tests for the retry mechanism. Wrote the unit tests by adding the variable `retryCount` to `HttpClientResponse` to be able to track the amount of retries done. This is also very usefull for logging in production, as there is no current method for that.
2023-10-24 13:00:56 +02:00
..
artifact use sha256 instead of md5 for artifact v4 integrity hash 2023-10-16 16:20:24 +00:00
cache fix test + update semver 2023-09-26 11:10:18 +00:00
core Add function to return proxy agent dispatcher for compatibility with latest octokit 2023-10-05 16:20:26 +02:00
exec Update dependencies 2023-09-08 14:29:27 +00:00
github Update dependencies in github package (#1553) 2023-10-10 16:04:42 +02:00
glob Audit Fix (#1480) 2023-08-03 16:36:11 -04:00
http-client Added custom retry codes configuration options (#1569) 2023-10-24 13:00:56 +02:00
io Update dependencies 2023-09-08 14:29:27 +00:00
tool-cache fix audit 2023-10-05 16:41:02 +02:00