pulumi/pkg
Pat Gavlin 94802f5c16
Fix deletes with duplicate URNs. (#1716)
When calculating deletes, we will only issue a single delete step for a
particular URN. This is incorrect in the presence of pending deletes
that share URNs with a live resource if the pending deletes follow the
live resource in the checkpoint: instead of issuing a delete for
every resource with a particular URN, we will only issue deletes for
the pending deletes.

Before first-class providers, this was mostly benigin: any remaining
resources could be deleted by re-running the destroy. With the
first-class provider changes, however, the provider for the undeleted
resources will be deleted, leaving the checkpoint in an invalid state.

These changes fix this issue by allowing the step generator to issue
multiple deletes for a single URN and add a test for this scenario.
2018-08-07 11:01:08 -07:00
..
apitype Expand ErrorResponse type (#1720) 2018-08-07 10:43:18 -07:00
backend Implement first-class providers. (#1695) 2018-08-06 17:50:29 -07:00
diag Add support for providing a log stream-id to our RPC interface. (#1627) 2018-07-11 15:04:00 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Fix deletes with duplicate URNs. (#1716) 2018-08-07 11:01:08 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
operations Save resources obtained from ".get" in the snapshot (#1654) 2018-08-03 14:06:00 -07:00
resource Fix deletes with duplicate URNs. (#1716) 2018-08-07 11:01:08 -07:00
testing Use new native typescript support in many tests 2018-08-06 14:00:58 -07:00
tokens Add license headers 2018-05-22 15:02:47 -07:00
tools Add license headers 2018-05-22 15:02:47 -07:00
util 1-index error messages printed to the console (#1709) 2018-08-06 11:58:06 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Allow more types for runtimeOptions 2018-08-06 14:00:58 -07:00