pulumi/pkg/engine
Pat Gavlin 4a550e308f
Fix provider cancellation. (#1914)
We signal provider cancellation by hangning a goroutine off of the plan
executor's parent context. To ensure clean shutdown, this goroutine also
listens on a channel that closes once the plan has finished executing.
Unfortunately, we were closing this channel too early, and the close was
racing with the cancellation signal. These changes ensure that the
channel closes after the plan has fully completed.

Fixes #1906.
Fixes pulumi/pulumi-kubernetes#185.
2018-09-10 15:18:25 -07:00
..
destroy.go Implement status sinks 2018-08-31 15:56:53 -07:00
diff.go Generate empty update steps for partial failures 2018-08-28 18:00:35 -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 Implement status sinks 2018-08-31 15:56:53 -07:00
lifecycle_test.go Fix provider cancellation. (#1914) 2018-09-10 15:18:25 -07:00
plan.go Implement status sinks 2018-08-31 15:56:53 -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 Implement status sinks 2018-08-31 15:56:53 -07:00