Skip to content

Commit e9b5fd3

Browse files
committed
fix(supervisor): don't destroy compute instance after snapshot
1 parent 7ed9221 commit e9b5fd3

File tree

1 file changed

+2
-2
lines changed
  • apps/supervisor/src/workloadServer

1 file changed

+2
-2
lines changed

apps/supervisor/src/workloadServer/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,11 +471,11 @@ export class WorkloadServer extends EventEmitter<WorkloadServerEvents> {
471471
});
472472

473473
if (result.success) {
474-
this.logger.info("Suspend completion submitted, deleting instance", {
474+
this.logger.info("Suspend completion submitted", {
475475
runId,
476476
instanceId: body.instance_id,
477+
snapshotId: body.snapshot_id,
477478
});
478-
await this.computeManager?.deleteInstance(body.instance_id);
479479
} else {
480480
this.logger.error("Failed to submit suspend completion", {
481481
runId,

0 commit comments

Comments
 (0)