pulumi/pkg/backend/httpstate
Thomas Gummerer 318ce38836 token_source: show logs to users in case of an error
We're trying to figure out why this token sometimes expires and fails
to renew in https://github.com/pulumi/pulumi/issues/7094.  However
doing so is proving tricky, as the issue is hard to reproduce.
Ideally we'd get some logs from users that did manage to reproduce the
issue.

Since the issue only happens occasionally it's hard to reproduce
though, and most users don't run pulumi with logging enabled.  Let's
make collecting and submitting the logs easier for users by collecting
the logs internally, and always printing them in case an error
happens, or if the token is expired.
2024-10-17 18:24:11 +02:00
..
client Add explanations about features to improve UX (#17307) 2024-09-26 14:40:51 +00:00
testdata [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
backend.go Respect existing stack configuration when initialising secret managers (#17465) 2024-10-03 15:40:39 +00:00
backend_test.go Let `Backend.CreateStack` accept an initial state (#17369) 2024-09-26 08:00:52 +00: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 Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
diffs_post_1.20.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00: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
environments.go Merge ESC Projects feature branch (#17226) 2024-09-10 23:08:09 +00:00
mock.go Update pu/pu to support deployment run command (#16492) 2024-07-01 14:18:44 +00:00
policypack.go Enable goheader rule and add missing license headers (#15473) 2024-09-09 12:05:45 +00:00
snapshot.go Lift context parameter to SerializeDeployment/Resource/Operations/Properties (#15929) 2024-04-15 07:45:46 +00:00
snapshot_test.go Add display to the engine tests (#16050) 2024-05-13 07:18:25 +00:00
stack.go Enable some more linting rules (#17456) 2024-10-03 17:37:13 +00:00
state.go Keep the token source loop going in the face of errors (#17519) 2024-10-08 15:16:04 +00:00
token_source.go token_source: show logs to users in case of an error 2024-10-17 18:24:11 +02:00
token_source_test.go token_source: show logs to users in case of an error 2024-10-17 18:24:11 +02:00