@lemon-agent-27707’s answer is about the way you could cancel something running from the code, which might also help in cleaning up the pulumi processes myself. And that would allow me to write code to cancel a running process. The totality of the issue is a bit more complex and all tied to each other. Instead of spamming the slack, i put a synthesis of my current understanding into the github issue: https://github.com/pulumi/pulumi/issues/5531