-
Notifications
You must be signed in to change notification settings - Fork 301
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
artifact download (and shasum) only search for finished uploads. #1584
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yesss, this looks like exactly what we need!
Given this command: buildkite-agent artifact download --debug hello.txt . Before this PR, for an artifact in
After this PR for that same
After this PR, once the artifact is
|
Also a quick For an unfinished artifact:
For a finished artifact:
|
Here's a previous report that @pzeballos pointed out which validates that this change should be good: #1511 |
The Artifact Search API endpoint supports filtering the search to
finished
artifacts, so that incomplete uploads are not included.buildkite-agent artifact download
andbuildkite-agent artifact shasum
probably want to apply that filter, otherwise they're likely to get stuck trying to download artifacts that don't exist.