pulumi/pkg/resource/deploy
Sean Gillespie a35aba137b
Retire pending deletions at start of plan (#1886)
* Retire pending deletions at start of plan

Instead of letting pending deletions pile up to be retired at the end of
a plan, this commit eagerly disposes of any pending deletions that were
pending at the end of the previous plan. This is a nice usability win
and also reclaims an invariant that at most one resource with a given
URN is live and at most one is pending deletion at any point in time.

* Rebase against master

* Fix a test issue arising from shared snapshots

* CR feedback

* plan -> replacement

* Use ephemeral statuses to communicate deletions
2018-09-10 16:48:14 -07:00
..
deploytest Fix provider cancellation. (#1914) 2018-09-10 15:18:25 -07:00
providers Validate type tokens before using them (#1904) 2018-09-07 15:19:18 -07:00
plan.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
plan_executor.go Retire pending deletions at start of plan (#1886) 2018-09-10 16:48:14 -07:00
plan_test.go
snapshot.go
source.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_error.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_eval.go Validate type tokens before using them (#1904) 2018-09-07 15:19:18 -07:00
source_eval_test.go Implement status sinks 2018-08-31 15:56:53 -07:00
source_fixed.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
source_null.go Reimplement refresh. (#1814) 2018-08-22 17:52:46 -07:00
step.go Retire pending deletions at start of plan (#1886) 2018-09-10 16:48:14 -07:00
step_executor.go Fail refreshes with init errors. (#1882) 2018-09-05 14:00:28 -07:00
step_generator.go Retire pending deletions at start of plan (#1886) 2018-09-10 16:48:14 -07:00
target.go