mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-31 18:57:06 +00:00
test(codex): keep live subagent smoke lightweight
This commit is contained in:
parent
101db565ca
commit
469bec97ef
1 changed files with 2 additions and 1 deletions
|
|
@ -791,7 +791,7 @@ async function waitForCodexSubagentStarted(params: {
|
|||
childSessionKey: string;
|
||||
events: CapturedAgentEvent[];
|
||||
}): Promise<void> {
|
||||
const deadline = Date.now() + Math.min(CODEX_HARNESS_REQUEST_TIMEOUT_MS, 120_000);
|
||||
const deadline = Date.now() + CODEX_HARNESS_REQUEST_TIMEOUT_MS;
|
||||
while (Date.now() < deadline) {
|
||||
if (hasCodexAppServerLifecycleEvent(params)) {
|
||||
return;
|
||||
|
|
@ -876,6 +876,7 @@ async function verifyCodexSubagentProbe(params: {
|
|||
mode: "run",
|
||||
cleanup: "keep",
|
||||
context: "isolated",
|
||||
lightContext: true,
|
||||
expectsCompletionMessage: false,
|
||||
runTimeoutSeconds: CODEX_HARNESS_AGENT_TIMEOUT_SECONDS,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue