pulumi/sdk/go/common
Fraser Waters 9d54d48236
Invalidate GITHUB_TOKEN on 401 (#17351)
Part one of fixing https://github.com/pulumi/pulumi/issues/17217. This
disables and retries the plugin http request without GITUHB_TOKEN if we
get a 401 error.

This should help with cases where people have tokens that don't have
access to public resources. We'll see the 401 and retry without the
token set.

This doesn't fix the other part of #17217 to retry 403 error without the
token.

---------

Co-authored-by: Thomas Gummerer <t.gummerer@gmail.com>
2024-09-26 20:28:27 +00:00
..
apitype Add explanations about features to improve UX (#17307) 2024-09-26 14:40:51 +00:00
channel Send all events to the engine event stream (#14607) 2023-11-20 21:55:59 +00:00
constant Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
diag Show the count of unchanged resources (#17257) 2024-09-17 08:41:53 +00:00
encoding all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
env Enable Copilot link by default (#17293) 2024-09-20 01:15:16 +00:00
promise Add tests to sdk/go/common/promise for coverage (#17197) 2024-09-08 21:07:08 +00:00
resource Centralize resource state dependency traversal (#17320) 2024-09-23 08:37:34 +00:00
slice Engine support for remote transforms (#15290) 2024-02-21 16:30:46 +00:00
testing allow component providers to return more detailed error messages (#17306) 2024-09-25 15:38:36 +00:00
tokens Move resource.URN to urn.URN (#15689) 2024-03-14 15:28:32 +00:00
tools Switch back to `os/user` to get the current user (#17125) 2024-08-31 18:54:35 +00:00
util Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
version move pkg/version -> sdk/go/common/version 2020-03-18 15:25:25 -07:00
workspace Invalidate GITHUB_TOKEN on 401 (#17351) 2024-09-26 20:28:27 +00:00