actions / actions/toolkit

Download multiple artifacts at once (in parallel)

Open
#1,380 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
5.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Describe the enhancement
When downloading all artifacts, it is using a while loop and an await for each artifact.
To speed things up it would be nice to add a download queue and download X items at once

Code Snippet
https://github.com/actions/toolkit/blob/457303960f03375db6f033e214b9f90d79c3fe5c/packages/artifact/src/internal/artifact-client.ts#L240-L251

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with packages/artifact/src/internal/artifact-client.ts at the referenced lines and trace how all artifacts are currently downloaded. Define the queue's concurrency limit and verify that downloads run in parallel without losing completion or error behavior; done means all requested artifacts download successfully with bounded concurrency.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.