sparse-intern-71089
01/04/2021, 10:42 PMbored-oyster-3147
01/04/2021, 10:54 PMRun
part of the protolemon-agent-27707
01/04/2021, 11:11 PMLanguageServer
. The gRPC language server is reimplemented in dotnet so that the delegate runs in the same process as the containing automation api program. You can set breakpoints, debug, etc.
What is the Pulumi CLI doing that we can't just skip gRPC altogether?The pulumi CLI and engine is hundreds of thousands of lines of Go. This gRPC approach allows us to have language native programs (
dotnet run automation.cs
node index.js
, etc) while only having to reimplement LanguageServer. Getting rid of the Pulumi CLI dependency would more or less require reimplementing the entirety of pulumi in a particular language which is not a practical possibility.