You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/relui: wait for all files in uploadArtifacts
CL 429275 and CL 429536 have hidden partially-written files from the
release test. I think a remaining race was that uploadArtifacts only
waits for the main artifact file, and uploadArtifact copies that one
first. So it was possible for fakeCDNLoad to periodically copy all the
main files but not yet one of the .sha256 files, and the test release
workflow would complete too early, before fakeCDNLoad finished its work.
This race is very unlikely to happen in production since everything
else takes longer. Still, we consider the .sha256 metadata file as
non-optional, so modify uploadArtifacts to wait for all files to be
made available before considering its job as done.
Fixesgolang/go#55178. (Third time's the charm, right?)
Updates golang/go#53972.
Change-Id: Id470da1fb94ba91b292c63a53e34705b30ba8d66
Reviewed-on: https://go-review.googlesource.com/c/build/+/448135
TryBot-Result: Gopher Robot <[email protected]>
Reviewed-by: Heschi Kreinick <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>
Run-TryBot: Dmitri Shuralyov <[email protected]>
0 commit comments