15 Commits
Author SHA1 Message Date
tunc-dandCopilot App 110ff4d59f artifact: honor Retry-After on HTTP 429 and prepare 6.3.0
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
2026-10-06 11:39:25 +02:00
Daniel Kennedy 0df0288961 @actions/artifact: convert to an ESM module (#2266)
* `@actions/artifact`: convert to an ESM module

* Update the package-lock.json

* Undo the GHES ignores

* Fix the reference to `@actions/http-client` in the lock file

* Bump `@actions/core` to `3.0.0`

* Remove `jest.config.cjs`

* Import `OctoKitOptions` from `@octokit/core/types`

* Pull the package version from `package.json`

* Workaround getting the package version for the user-agent

* Fix the `archiver` import

* Fix linting
2026-01-29 09:52:09 -05:00
Rob Herley 774e7d6589 artifact client: retry on non-JSON response 2024-04-19 14:03:47 +00:00
Rob Herley f34a01591a better error message for usage limits 2023-12-11 22:01:08 -05:00
Rob Herley a7f5604d2c Add specific messages for network-specific node error codes 2023-12-11 17:07:48 -05:00
Vallie Joseph 8e374f0c15 Improve error messages (duplicate artifacts; too many artifacts) (#1600)
* cleaning up error messages

* updating package-json

* updating package-lock

* .

* .

* testing return message

* updating error check

* adding test

* rmv unused var

* updating status code to match conflict message
2023-12-11 11:26:54 -05:00
Rob Herley 22d9c85575 update download-artifact tests for public and internal impl 2023-12-01 01:32:45 +00:00
Rob Herley c6e89b42bc some test updates 2023-12-01 00:31:27 +00:00
Bethany af479c07b9 lint 2023-08-09 07:10:43 -07:00
Bethany 49eb3a0db3 prettier 2023-08-08 13:19:43 -07:00
Bethany 57feac0323 tests and fix bug for retry 2023-08-08 12:49:05 -07:00
Bethany dfbde17a4d wip 2023-08-07 16:26:07 -07:00
Bethany e0d65bc269 wip 2023-08-07 14:24:58 -07:00
Bethany df8063ae41 pass in http client to constructor 2023-08-07 08:43:39 -07:00
Bethany 1d84c50048 Start writing tests 2023-08-04 13:00:58 -07:00