Commit graph

3 commits

Author SHA1 Message Date
Radek Simko
0fe906fa8c make copyrightfix 2026-02-17 13:56:34 +00:00
Liam Cervante
915b174da3
stacks: split the terraform1 RPC package into per-service packages (#35513)
* stacks: split the terraform1 RPC package into per-service packages

* pull latest changes
2024-08-07 17:33:51 +02:00
Alisdair McDiarmid
698caa7f9a rpcapi: Allow stopping long-running operations
The new Setup.Stop RPC allows clients to abort long-running operations.
Each operation implementation must add itself to the server's stopper,
and listen on the given channel for a signal to abort.

In this commit, plan, apply, and validate operations translate the stop
signal into a context cancellation. This alone is not yet sufficient for
a truly graceful shutdown, so in later commits we need to adjust the
stacks runtime to instruct the modules runtime to stop on cancellation.
2024-05-27 15:44:06 -07:00