pulumi/changelog
Abhinav Gupta 34961a6a29
pkg/filestate: Plumb context
The filestate backend implementation drops context in many places
instead opting to use context.TODO.
context.TODO is a TODO--something intended to be addressed.
context.Backgruond is appropriate for process-scoped operations.

In this case, we can resolve the issues and drop all uses of
context.TODO by plumbing the received contexts appropriately.

For localSnapshotPersister, we add a new `ctx` field
because the interface doesn't yet accept a context argument.
This is tracked in #12594.

Result:

```
% rg context.TODO pkg/backend/filestate
[empty]
```

Resolves #12594
2023-04-10 15:53:32 -07:00
..
pending pkg/filestate: Plumb context 2023-04-10 15:53:32 -07:00
config.yaml Reorder scopes to be alphabetically ordered. 2022-11-10 16:54:37 -05:00