pulumi/pkg/engine
Sean Gillespie 7ce29eeb33
Save old inputs on partial update failures (#2035)
Whenever an update fails partially, it gives the engine back some state
bag of outputs that should be persisted to the snapshot. When saving
this state, we shouldn't save the inputs that triggered the update that
failed, since the resource that exists will never have been updated
successfully with those inputs.

Instead of saving the new inputs on partial failed updates, this commit
saves the old inputs and the new outputs. The new outputs will likely
need to be refreshed to be useful, but the old inputs will be correct
from the perpsective of the Pulumi program that generated the last
successful update.

Fixes pulumi/pulumi#2011
2018-10-09 11:19:31 -07:00
..
destroy.go Implement status sinks 2018-08-31 15:56:53 -07:00
diff.go Fix rendering of the 'outputs:' header in the diff view. (#2020) 2018-10-03 13:06:20 -07:00
engine.go Add license headers 2018-05-22 15:02:47 -07:00
errors.go Show a better error message when decrypting fails (#1815) 2018-08-22 15:32:54 -07:00
events.go Implement status sinks 2018-08-31 15:56:53 -07:00
eventsink.go Make a smattering of CLI UX improvements 2018-09-24 08:43:46 -07:00
lifecycle_test.go Save old inputs on partial update failures (#2035) 2018-10-09 11:19:31 -07:00
plan.go Process deletions conservatively in parallel (#1963) 2018-09-27 15:49:08 -07:00
project.go Add license headers 2018-05-22 15:02:47 -07:00
refresh.go Implement status sinks 2018-08-31 15:56:53 -07:00
snapshot.go Add license headers 2018-05-22 15:02:47 -07:00
update.go Save old inputs on partial update failures (#2035) 2018-10-09 11:19:31 -07:00