test: fix upload expectations and exited process cleanup
This commit is contained in:
1 parent
7da882dbeb
commit
0eb87a4590
7 files changed
+26
-1
No files matched your search
@@ -24,3 +24,7 @@
|
||||
- insert:
|
||||
- id: llm-replay
|
||||
name: '@deepseek-ai/dsh-llm-replay'
|
||||
|
||||
- id: session-log-deepseek
|
||||
config:
|
||||
enabled: false
|
||||
@@ -23,3 +23,7 @@
|
||||
# Publish the persisted agent before the driver selects the single root.
|
||||
- id: resumed-agent
|
||||
name: './tests/fixtures/semantic-checkpoint-agent.ts'
|
||||
|
||||
- id: session-log-deepseek
|
||||
config:
|
||||
enabled: false
|
||||
@@ -26,3 +26,7 @@
|
||||
# Publish the persisted agent before the driver selects the single root.
|
||||
- id: resumed-agent
|
||||
name: './tests/fixtures/subagent-diagnostic-agent.ts'
|
||||
|
||||
- id: session-log-deepseek
|
||||
config:
|
||||
enabled: false
|
||||
@@ -32,3 +32,7 @@
|
||||
# Publish the persisted agent before the driver selects the single root.
|
||||
- id: resumed-agent
|
||||
name: './tests/fixtures/subagent-inheritance-agent.ts'
|
||||
|
||||
- id: session-log-deepseek
|
||||
config:
|
||||
enabled: false
|
||||
@@ -28,3 +28,7 @@
|
||||
# Hold the parent's second step until the manager notice enters its inbox.
|
||||
- id: settlement-fence
|
||||
name: './tests/fixtures/subagent-settlement-fence.ts'
|
||||
|
||||
- id: session-log-deepseek
|
||||
config:
|
||||
enabled: false
|
||||
@@ -28,3 +28,7 @@
|
||||
# Publish the persisted agent before the driver selects the single root.
|
||||
- id: resumed-agent
|
||||
name: './tests/fixtures/workspace-context-resume-agent.ts'
|
||||
|
||||
- id: session-log-deepseek
|
||||
config:
|
||||
enabled: false
|
||||
@@ -136,7 +136,8 @@ async function waitGone(pid: number, timeoutMs = 5_000): Promise<void> {
|
||||
const state = stat.slice(stat.lastIndexOf(')') + 2, stat.lastIndexOf(')') + 3)
|
||||
if (state === 'Z' || state === 'X') return
|
||||
} catch (error: unknown) {
|
||||
if ((error as NodeJS.ErrnoException).code === 'ENOENT') return
|
||||
const code = (error as NodeJS.ErrnoException).code
|
||||
if (code === 'ENOENT' || code === 'ESRCH') return
|
||||
throw error
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user