pulumi/pkg/resource/plugin
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
..
analyzer.go Add license headers 2018-05-22 15:02:47 -07:00
analyzer_plugin.go Add license headers 2018-05-22 15:02:47 -07:00
check.go Add license headers 2018-05-22 15:02:47 -07:00
config_source.go Add license headers 2018-05-22 15:02:47 -07:00
context.go Implement status sinks 2018-08-31 15:56:53 -07:00
host.go Fix provider cancellation. (#1914) 2018-09-10 15:18:25 -07:00
host_server.go Implement status sinks 2018-08-31 15:56:53 -07:00
langruntime.go Add license headers 2018-05-22 15:02:47 -07:00
langruntime_plugin.go Allow more types for runtimeOptions 2018-08-06 14:00:58 -07:00
plugin.go Revert "Plumb LogRequest.IsStatus through the logging subsystem" 2018-08-31 15:56:53 -07:00
provider.go Implement partial Read 2018-08-10 15:10:14 -07:00
provider_plugin.go Fix two issues that can cause hangs during refresh (#1770) 2018-08-13 21:43:10 -07:00
rpc.go Add license headers 2018-05-22 15:02:47 -07:00
rpc_test.go Add license headers 2018-05-22 15:02:47 -07:00