pulumi/pkg/backend/httpstate
Abhinav Gupta 1d7db547f4
{cli, httpstate}: Don't retry GetCLIVersionInfo
Changes the httpstate client to not retry requests to
`GET /api/cli/version` so as not to block the CLI for 7 seconds
in airgapped environments and the like.

Testing:
Before this change, the accompanying test took 7 seconds to fail.
With this change, it succeeds nearly instantly.

Resolves #13166
2023-06-20 10:08:33 -07:00
..
client {cli, httpstate}: Don't retry GetCLIVersionInfo 2023-06-20 10:08:33 -07:00
testdata [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
backend.go sdk/go: Add tokens.ValidateProjectName 2023-06-13 10:08:31 -07:00
backend_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
console.go Add support for a PULUMI_CONSOLE_DOMAIN env var (#4410) 2020-04-17 11:50:00 -07:00
console_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
diffs.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
diffs_post_1.20.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
diffs_pre_1.20.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
policypack.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
snapshot.go [snapshot] Pool checkpoint buffers 2023-05-12 10:54:24 -07:00
snapshot_test.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
stack.go Make filestate.Snapshot lazy like httpstate 2023-05-24 08:24:04 +01:00
state.go [cli] Add an "open in browser" keybinding 2023-03-09 15:52:13 -08:00
token_source.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
token_source_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00