We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a84c8d commit 942a512Copy full SHA for 942a512
apps/api/src/sandbox/entities/sandbox.entity.ts
@@ -326,7 +326,11 @@ export class Sandbox {
326
if (this.pending && String(this.state) === String(this.desiredState)) {
327
this.pending = false
328
}
329
- if (this.state === SandboxState.ERROR || this.state === SandboxState.BUILD_FAILED) {
+ if (
330
+ this.state === SandboxState.ERROR ||
331
+ this.state === SandboxState.BUILD_FAILED ||
332
+ (this.state === SandboxState.ARCHIVING && this.desiredState === SandboxDesiredState.ARCHIVED)
333
+ ) {
334
335
336
0 commit comments