mirror of https://github.com/pulumi/pulumi.git
25901d95c4
Uses the new TerminateProcessGroup functionality introduced in #13792 to shut down plugins gracefully. Graceful shutdown takes the following form: - Send a termination signal (SIGINT or CTRL_BREAK_EVENT) - Wait up to 1 second for the plugin to exit - Kill it with SIGKILL Note that TerminateProcessGroup kills the entire group so we don't need a separate KillChildren and cmd.Process.Kill(). This change also deprecates cmdutil.KillChildren since we shouldn't really be using SIGKILL as a first resort anyway. Note that this does not modify the behavior of individual plugins. Those will exit as usual but with a SIGINT instead of SIGKILL terminating them. Resolves #9780 |
||
---|---|---|
.. | ||
analyzer.go | ||
analyzer_plugin.go | ||
check.go | ||
config_source.go | ||
context.go | ||
context_test.go | ||
converter.go | ||
converter_plugin.go | ||
converter_plugin_test.go | ||
converter_server.go | ||
converter_server_test.go | ||
diagnostic.go | ||
diagnostic_test.go | ||
doc.go | ||
host.go | ||
host_server.go | ||
host_test.go | ||
langruntime.go | ||
langruntime_plugin.go | ||
plugin.go | ||
plugin_test.go | ||
provider.go | ||
provider_plugin.go | ||
provider_plugin_test.go | ||
provider_server.go | ||
provider_server_test.go | ||
provider_test.go | ||
provider_unimplemented.go | ||
rpc.go | ||
rpc_rapid_test.go | ||
rpc_test.go | ||
server.go |