UBERF-8433: Support for archived workspaces (#6937)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-11-12 18:06:51 +07:00
committed by GitHub
parent 1afe8ef326
commit a220fac255
29 changed files with 506 additions and 119 deletions
+5 -1
View File
@@ -750,8 +750,12 @@ export class PlatformWorker {
errors++
return
}
if (workspaceInfo?.mode === 'archived') {
this.ctx.warn('Workspace is archived.', { workspace })
return
}
if (workspaceInfo?.disabled === true) {
this.ctx.error('Workspace is disabled workspaceId', { workspace })
this.ctx.warn('Workspace is disabled', { workspace })
return
}
try {