[cd] Tolerate 409 when uploading preview tarballs (#99091)
A rerun or new run on the same commit currently reuploads and overwrites
the tarballs. Mostly to accomodate full runs on a commit to get all the
binaries (regular runs only build for Linux).
Instead, we'll soon return a 409 from the server so that a tarball can
be served as immutable.
This PR makes the client resilient against 409s.
If we ever build different variants for the same commit, we should
update the route instead to reflect different build variants. This is
would be the better choice anyway so that you know what build variant is
behind a commit.
Co-authored-by:
Claude Code (kimi-k3[1m]) <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment