Commit Graph
52 Commits
Author SHA1 Message Date
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
Jonathan Tamsut 2c8a94cbfc Add back 429 to list of retryable requests (#1599)
* add back 429 to list of retryable requests

* fix lint error
2023-12-08 11:00:44 -08:00
Jonathan Tamsut c9d4ee0f27 Remove 429 request from list of retry-able status codes (#1597)
* remove 429 request from retryable

* remove 413

* make linter happy
2023-12-07 13:22:17 -08:00
Rob Herley 469fb7f7c6 Generate Typescript Docs for @actions/artifact (#1595)
* autogenerate artifact documentation

* clean up comments for better autogen docs
2023-12-07 09:57:20 -08:00
Rob Herley b9abfc4e24 linter 2023-12-06 23:57:33 +00:00
Rob Herley e4829bd6e1 one too many parses 2023-12-06 23:51:16 +00:00
Rob Herley 0e2ab5dc2f cleanup artifact handlers hanging node process 2023-12-06 23:42:07 +00:00
Rob Herley e1314b246d initalize artifact client as default export 2023-12-06 04:00:07 +00:00
Rob Herley f3097c8cb4 readme & error updates 2023-12-05 21:55:22 +00:00
Rob Herley 59de958dda fix typo 2023-12-05 18:47:37 +00:00
Rob Herley 82f54b0aa5 update GHES warning behavior 2023-12-05 18:42:36 +00:00
Rob Herley 1bd4136583 consistent promise behavior for download artifact 2023-12-05 18:35:26 +00:00
Rob Herley 1f6311c296 consistent promise behavior for get artifact 2023-12-05 17:56:18 +00:00
Rob Herley d61f5a8209 consistent promise behavior for upload artifact 2023-12-05 17:35:46 +00:00
Rob Herley 76929666f6 wip 2023-12-03 06:24:49 +00:00
Rob Herley e23dba60e4 ability to filter artifacts by latest 2023-12-03 05:01:20 +00:00
Rob Herley 4286ccb138 updates to get/list artifacts 2023-12-02 21:18:22 -05:00
Rob Herley fc051fc5d6 more debug info 2023-12-01 03:04:10 +00:00
Rob Herley 3a5b84efa6 make FindOptions interface more user friendly 2023-12-01 02:15:25 +00:00
Rob Herley c6e89b42bc some test updates 2023-12-01 00:31:27 +00:00
Rob Herley 87a7c03510 rewrite artifacts client to have public and internal implementations 2023-11-30 03:47:04 +00:00
Rob Herley 8262f2cbe7 fix results url construction 2023-11-20 18:06:44 +00:00
Rob Herley 420a520de3 linter 2023-11-20 16:46:08 +00:00
Rob Herley 1b6320e1d0 increase upload concurrency based on cpus, adjust highWaterMark, specify compression level 2023-11-20 15:03:58 +00:00
Bethany 51b7d6a651 use inline eslint disable 2023-08-23 10:12:06 -07:00
Bethany 68fb6c17d5 remove folder option in favor of path 2023-08-23 07:21:01 -07:00
Bethany d0cf96f319 Use options to specify download folder 2023-08-23 06:47:51 -07:00
Bethany e7ddf2aea8 use GITHUB_WORKSPACE as default download dir 2023-08-22 11:44:38 -07:00
Bethany 7262d472fe use require 2023-08-22 11:33:00 -07:00
Bethany cbe3f44b01 lint 2023-08-22 10:06:40 -07:00
Rob Herley d27eb4002d cleanup 2023-08-21 17:47:17 -04:00
Konrad Pabjan 6450327d35 [Artifacts] @actions/artifact list artifact functionality + download interface setup (#1495)
* actions/artifact preparation for download-artifact v4

* Test matrix strategy

* Fix needs dependency

* Improve list artifact test

* Fix typo

* Fix variables

* Cleanup download-all interfaces

* Fix tsc error

* Simplify to just name instead of artifactName

* Simplify to id instead of ArtifactId

* PR cleanup
2023-08-17 14:40:33 -04:00
Konrad Pabjan 1e8e6f92d3 [Artifacts] Add tests for E2E artifact upload (#1497)
* Add tests for E2E artifact upload

* Trigger Build

* Extra debug logs

* Debug dumping GitHub Context

* More logging

* Minor cleanup

* Trigger Build

* Unique artifact name

* Fix typo

* Fix

* Try using github-script

* Potential fix

* Cleanup

* More cleanup
2023-08-17 12:32:55 -04:00
Konrad Pabjan 6d4dfd8442 [Artifacts] zip creation + blob storage upload functionality (#1488)
* Artifact zip creation + blob storage upload functionality

* Fix lint

* PR feedback
2023-08-10 15:28:41 -04:00
Bethany 3f53e15631 implement feedback 2023-08-09 17:42:14 -07:00
Bethany 36c70dd6ec move getExpiration to upload-artifact 2023-08-09 13:12:30 -07:00
Bethany 04f8ae1cea Add tests for backend id fetch 2023-08-09 12:29:43 -07:00
Bethany 5fe11f07bd prettier 2023-08-09 12:09:17 -07:00
Bethany 31046e8606 catch errors at the root, remove unneccessary disabled rule 2023-08-09 12:08:43 -07:00
Bethany 5a7b20df59 lint 2023-08-09 11:34:18 -07:00
Bethany 5fbeb2c3b8 utilize client, fetch IDs 2023-08-09 11:26:33 -07:00
BethanyandKonrad Pabjan 32e58a3d43 Update packages/artifact/src/internal/shared/config.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2023-08-09 10:30:50 -04:00
BethanyandKonrad Pabjan 0786e6af52 Update packages/artifact/src/internal/shared/config.ts
Co-authored-by: Konrad Pabjan <konradpabjan@github.com>
2023-08-09 10:30:44 -04: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 df8063ae41 pass in http client to constructor 2023-08-07 08:43:39 -07:00