mirror of https://github.com/pulumi/pulumi.git
34961a6a29
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 |
||
---|---|---|
.. | ||
pending | ||
config.yaml |