pulumi/pkg
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
..
apitype Have ListStacksResponse include data required for 'stacks ls' (#1908) 2018-09-10 12:50:10 -07:00
backend Add git head ref name to update metadata (#2033) 2018-10-08 11:13:21 -07:00
diag Bring back support for the 'auto' value for colorization. (#2023) 2018-10-04 16:20:01 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Save old inputs on partial update failures (#2035) 2018-10-09 11:19:31 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
operations Use test helper. (#1977) 2018-09-22 22:44:49 -07:00
resource Allow previews when operations are pending. (#1999) 2018-10-01 09:48:48 -07:00
testing Add git head ref name to update metadata (#2033) 2018-10-08 11:13:21 -07:00
tokens Validate type tokens before using them (#1904) 2018-09-07 15:19:18 -07:00
tools Add a WriteString method to tools/GenWriter. (#1839) 2018-08-29 14:43:20 -07:00
util Add git head ref name to update metadata (#2033) 2018-10-08 11:13:21 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Process deletions conservatively in parallel (#1963) 2018-09-27 15:49:08 -07:00