Merge commit 'ba21ca122496e1038993378753de863e571cdc2a' into codex/product-providers-pr2-claude-code

This commit is contained in:
pku-xht
2026-08-04 22:52:07 +08:00
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -150,7 +150,7 @@ export async function startCodexRun(
)
}
if (runAbort.signal.aborted) {
throw new Error('subagent-codex: request was aborted before app-server startup')
throw new Error('subagent-codex: request was aborted before run publication')
}
throw thrownError(error)
}
@@ -939,7 +939,7 @@ describe('run lifecycle and quiescence', () => {
const threadStart = await child.peer.nextMethod('thread/start')
child.peer.respond(threadStart, { thread: { id: 'thread-1', ephemeral: true } })
controller.abort('startup race')
await expect(starting).rejects.toThrow('aborted before app-server startup')
await expect(starting).rejects.toThrow('aborted before run publication')
expect(child.terminate).toHaveBeenCalledTimes(1)
})