detect restore after failed snapshot fetch
🚀 Publish Trigger.dev Docker / units (push) Failing after 0s
🚀 Publish Trigger.dev Docker / typecheck (push) Failing after 4s
🚀 Publish Trigger.dev Docker / publish-webapp (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-worker (push) Has been skipped
🚀 Publish Trigger.dev Docker / publish-worker-v4 (push) Has been skipped

This commit is contained in:
nicktrn
2025-05-06 15:19:26 +01:00
parent b09178adb8
commit 59d9784a1b
@@ -252,8 +252,6 @@ export class RunExecution {
this.snapshotPoller?.updateSnapshotId(snapshot.friendlyId);
this.snapshotPoller?.resetCurrentInterval();
await this.processEnvOverrides("snapshot change");
switch (snapshot.executionStatus) {
case "PENDING_CANCEL": {
this.sendDebugLog("run was cancelled", snapshotMetadata);
@@ -1102,6 +1100,9 @@ export class RunExecution {
source,
error: response.error,
});
await this.processEnvOverrides("snapshots since error");
return;
}