fix(supervisor): don't destroy compute instance after snapshot

This commit is contained in:
nicktrn
2026-03-02 19:35:15 +00:00
parent 7ed9221662
commit e9b5fd3846
+2 -2
View File
@@ -471,11 +471,11 @@ export class WorkloadServer extends EventEmitter<WorkloadServerEvents> {
});
if (result.success) {
this.logger.info("Suspend completion submitted, deleting instance", {
this.logger.info("Suspend completion submitted", {
runId,
instanceId: body.instance_id,
snapshotId: body.snapshot_id,
});
await this.computeManager?.deleteInstance(body.instance_id);
} else {
this.logger.error("Failed to submit suspend completion", {
runId,