agent icon indicating copy to clipboard operation
agent copied to clipboard

`buildkite-agent pipeline upload` should chunk uploads for the user

Open jsoo1 opened this issue 2 years ago • 4 comments

Is your feature request related to a problem? Please describe. We regularly upload pipelines with step quantities > 500. It is frustrating to have to do the chunking as the user.

Describe the solution you'd like buildkite-agent pipeline upload should chunk the steps for me, especially if the stdin stream can be made to support it.

Describe alternatives you've considered GNU parallel does something like this but it is a papercut.

jsoo1 avatar Jul 19 '23 18:07 jsoo1

hey @jsoo1! i get where you're coming from here - the 500 step limit is a little bit of intentional friction to give our servers a wee bit of a break in between large pipeline uploads. i agree that there may be better ways to do this - ie, chunking and waiting a bit between chunk uploads. we'll have a bit more of a chat internally and get back to you.

moskyb avatar Jul 26 '23 01:07 moskyb

hey @jsoo1! i get where you're coming from here - the 500 step limit is a little bit of intentional friction to give our servers a wee bit of a break in between large pipeline uploads. i agree that there may be better ways to do this - ie, chunking and waiting a bit between chunk uploads. we'll have a bit more of a chat internally and get back to you.

Hey there! Totally understand! That would be appreciated!

jsoo1 avatar Jul 26 '23 02:07 jsoo1

Hi @jsoo1 , we did talk internally and this is great feedback. We unfortunately are unsure about when we'll get to it, but this will stay in our feedback backlog. If you need it urgently we would welcomes PRs for it. Just make sure that the chunk size is 100 to be safe.

ozdenyilmaz avatar Aug 09 '23 01:08 ozdenyilmaz

Lovely! I may put in a patch but I wouldn't count on it.

jsoo1 avatar Aug 10 '23 01:08 jsoo1