pulumi/pkg
Pat Gavlin 1a16857a44 Generate steps concurrently.
Before these changes, the step generator was not capable of running
concurrently due to the use of shared state. These changes enable
concurrent step generation by protecting shared state with locks where
necessary.

By far the most subtle changes are those required for the safe
concurrent evaluation of delete-before-replace graphs. Because step
generation is stateful, it is not safe for two processes to concurrently
evaluate steps for the same resource. To prevent this situation, each
resource is locked before its steps are planned and unlocked after its
steps are planned. During the evaluation of a DBR graph, all resources
that _might_ be deleted are locked prior to evaluation and unlocked once
evaluation has completed.

Fixes #3302.
2019-10-13 10:33:17 -07:00
..
apitype Print PolicyPacks run as part of update summary 2019-09-30 14:49:21 -07:00
backend Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
codegen/python Creation of generator package (#2970) 2019-07-22 17:09:35 -07:00
diag Stop using loreley. (#3331) 2019-10-12 13:53:57 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Fix a dependency graph bug during DBR. (#3329) 2019-10-12 17:22:13 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
npm fix: node_modules typo (#3175) 2019-09-09 23:11:35 +03:00
operations Collect logs from Google Cloud Functions 2019-04-08 09:44:05 -07:00
resource Generate steps concurrently. 2019-10-13 10:33:17 -07:00
secrets Cache ciphertext for secret properties. (#3183) 2019-09-18 15:52:31 -07:00
testing Override all options in ProgramTest.With (#3264) 2019-10-07 14:11:36 +03:00
tokens Fix comment about QName regex (#3121) 2019-08-20 14:43:48 -07:00
tools Add a `WriteString` method to `tools/GenWriter`. (#1839) 2018-08-29 14:43:20 -07:00
util Add codefresh CI detection. Thanks to @fernandocarletti. (#3270) 2019-09-25 14:41:13 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00