pulumi/pkg/backend/filestate
Thomas Gummerer f278fa9696
stack ls: remove misleading updateInProgress output for file backend (#14309)
File backends currently do not support indicating whether an operation
is currently in progress or not. In the `stack ls --json` output we
always end up with a "updateInProgress = false" field, even when an
update is in progress. This is misleading.

Disable showing this erroneous and misleading output.

Fixes #10677

Based on Luke's comments in that issue, I believe we should merge this
as bug fix for the issue, and then open a separate feature request
tracking the implementation of tracking whether an update is in progress
in the file backend.

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
  - [x] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [x] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [x] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2023-10-27 07:33:07 +00:00
..
backend.go stack ls: remove misleading updateInProgress output for file backend (#14309) 2023-10-27 07:33:07 +00:00
backend_legacy_test.go Use `assert.NoError` rather than `assert.Nil` (#14233) 2023-10-13 09:46:07 +00:00
backend_test.go Switch to use env.Env in filestate (#14044) 2023-10-18 10:52:54 +00:00
bucket.go pkg/filestate: Plumb context 2023-04-10 15:53:32 -07:00
bucket_test.go pkg/filestate: Plumb context 2023-04-10 15:53:32 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
lock.go pkg/filestate: Plumb context 2023-04-10 15:53:32 -07:00
meta.go Switch to use env.Env in filestate (#14044) 2023-10-18 10:52:54 +00:00
meta_test.go Switch to use env.Env in filestate (#14044) 2023-10-18 10:52:54 +00:00
pool.go filestate: Add re-usable worker pool 2023-06-12 09:20:26 -07:00
pool_test.go filestate: Add re-usable worker pool 2023-06-12 09:20:26 -07:00
snapshot.go Move SecretsManager from SnapshotPersister to SnapshotManager (#13976) 2023-09-19 18:31:56 +00:00
stack.go Move sdk/go/common/display to /pkg/display (#13954) 2023-09-18 11:01:28 +00:00
state.go Switch to use env.Env in filestate (#14044) 2023-10-18 10:52:54 +00:00
store.go Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00
store_test.go Use slice.Prealloc instead of make([]T, 0, ...) 2023-06-29 11:27:50 +01:00