fix: harden release backend gates
This commit is contained in:
1 parent
1867fff7fc
commit
322be55319
2 files changed
+2
-6
No files matched your search
@@ -460,7 +460,7 @@ export class TerminalSessionManager {
|
||||
await Promise.race([
|
||||
session.ready,
|
||||
new Promise<void>((_, reject) =>
|
||||
setTimeout(() => reject(new Error('terminal_start_timeout')), 3000)
|
||||
setTimeout(() => reject(new Error('terminal_start_timeout')), 10_000)
|
||||
)
|
||||
])
|
||||
} catch (error) {
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
import { afterEach, beforeAll, describe, expect, it } from 'vitest'
|
||||
import {
|
||||
hasLiveLlmConfigInEnv,
|
||||
loadLiveVisionLlmConfigFromEnv
|
||||
} from '../../../harness/backend/llmConfig'
|
||||
import { loadLiveVisionLlmConfigFromEnv } from '../../../harness/backend/llmConfig'
|
||||
|
||||
const ENV_KEYS = [
|
||||
'AI_LIVE_BASE_URL',
|
||||
@@ -17,7 +14,6 @@ const ENV_KEYS = [
|
||||
const originalEnv = new Map<string, string | undefined>()
|
||||
|
||||
beforeAll(() => {
|
||||
hasLiveLlmConfigInEnv()
|
||||
for (const key of ENV_KEYS) originalEnv.set(key, process.env[key])
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user