Skip to content

Convert artifact upload test to 1000 individual uploads#45

Closed
Copilot wants to merge 5 commits intomainfrom
copilot/remove-parameter-and-add-uploads
Closed

Convert artifact upload test to 1000 individual uploads#45
Copilot wants to merge 5 commits intomainfrom
copilot/remove-parameter-and-add-uploads

Conversation

Copy link
Contributor

Copilot AI commented Jan 21, 2026

Modified upload-artifact-test-single-upload.yml to stress test individual artifact uploads at scale.

Changes

  • Removed number_of_files input parameter - workflow now hardcoded to 1000 files
  • File generation - creates exactly 1000 test files via seq 1 1000
  • Upload strategy - replaced single batch upload with 1000 individual upload-artifact@v4 steps, each uploading one file
# Before: 1 step uploading all files
- name: Upload all files in a single step
  uses: actions/upload-artifact@v4
  with:
    name: test-${{ inputs.number_of_files }}-files-single-upload
    path: test-files/

# After: 1000 steps, each uploading 1 file
- name: Upload file 1
  uses: actions/upload-artifact@v4
  with:
    name: test-file-1
    path: test-files/file-1.txt
# ... repeated 1000 times

Workflow file expanded from 36 to 6,025 lines.

Original prompt

Ok, make the following modifications to this file:

remove teh parameter, we don't need it. For the step that generates files, have it create 1000 files.

Then, rather than just 1 upload-artifact step, I want 1000 upload-artifact steps, each one loading a single file.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: mickeygousset <20031479+mickeygousset@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove parameter and create 1000 upload-artifact steps Convert artifact upload test to 1000 individual uploads Jan 21, 2026
Copilot AI requested a review from mickeygousset January 21, 2026 23:15
@mickeygousset mickeygousset marked this pull request as ready for review January 21, 2026 23:17
@mickeygousset mickeygousset deleted the copilot/remove-parameter-and-add-uploads branch January 22, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants