pulumi/sdk/go/common
Fraser Waters 2dc683f8c5
Retry plugin downloads (#10248)
* Retry plugin downloads

We occasionally see network issues (most notably "tls: bad record MAC")
during plugin downloads. When grabbing plugins for codegen we already
had some retry logic. This shares that retry logic to the pulumi plugin install command and the engine.

Fixes #9824

Note, plumbing in the progress bar and support for printing about
retries is a little bit odd but we're going to have to totally rethink
this interface at some point when the engine gets put behind a gRPC
interface and all the display logic has to be ripped out. So it works
good enough for now.

* Add to CHANGELOG

* lint

* Finish comment
2022-07-27 11:13:17 +01:00
..
apitype Remove sequence numbers (#10203) 2022-07-25 12:08:03 +01:00
constant expose execution kind via update metadata (#5258) 2020-08-31 09:07:59 -07:00
diag Revert "Send smart aliases via gRPC to engine (#9731)" (#9999) 2022-06-29 13:18:14 +01:00
display Moving previewDigest to sdk/go/common/display, and exporting it. (#9886) 2022-06-27 09:08:06 -05:00
encoding Add gzip flag to filestate backend (#9610) 2022-05-23 12:13:21 -07:00
resource Remove config from host, was unused (#10235) 2022-07-25 12:34:49 +01:00
testing ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
tokens Remove As[Q]Name functions (#10156) 2022-07-15 14:56:54 +01:00
tools Toward replacing MSBuild with make+bash on Windows (#8617) 2022-01-07 22:27:14 -05:00
util test: use `T.Setenv` to set env vars in tests (#10234) 2022-07-24 10:41:44 +01:00
version move pkg/version -> sdk/go/common/version 2020-03-18 15:25:25 -07:00
workspace Retry plugin downloads (#10248) 2022-07-27 11:13:17 +01:00