Fix cockroach (#6965)

Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
Denis Bykhov
2024-10-23 13:29:44 +05:00
committed by GitHub
parent 498b390b10
commit 5eeb828f9c
88 changed files with 447 additions and 314 deletions
@@ -86,7 +86,8 @@ export async function createWorkspace (
version: Data<Version>,
progress: number,
message?: string
) => Promise<void>
) => Promise<void>,
external: boolean = false
): Promise<void> {
const childLogger = ctx.newChild('createWorkspace', {}, { workspace: workspaceInfo.workspace })
const ctxModellogger: ModelLogger = {
@@ -162,7 +163,8 @@ export async function createWorkspace (
await handleWsEvent?.('progress', version, 80 + Math.round((Math.min(value, 100) / 100) * 20))
},
false,
'disable'
'disable',
external
)
await handleWsEvent?.('create-done', version, 100, '')