惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale
博客园 - 【当耐特】
博客园_首页
The GitHub Blog
The GitHub Blog
月光博客
月光博客
Hugging Face - Blog
Hugging Face - Blog
有赞技术团队
有赞技术团队
博客园 - 三生石上(FineUI控件)
D
Docker
Stack Overflow Blog
Stack Overflow Blog
WordPress大学
WordPress大学
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
酷 壳 – CoolShell
酷 壳 – CoolShell
雷峰网
雷峰网
小众软件
小众软件
I
InfoQ
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(codex): keep attempt watchdog for queued terminal tur...
vincentkoc · 2026-05-27 · via Recent Commits to openclaw:main

@@ -9365,6 +9365,65 @@ describe("runCodexAppServerAttempt", () => {

93659365

expect(result.timedOut).toBe(false);

93669366

});

936793679368+

it("keeps the attempt watchdog armed when terminal projection wedges", async () => {

9369+

const harness = createStartedThreadHarness();

9370+

vi.spyOn(CodexAppServerEventProjector.prototype, "handleNotification").mockImplementation(

9371+

async () => new Promise(() => undefined),

9372+

);

9373+

const warn = vi.spyOn(embeddedAgentLog, "warn").mockImplementation(() => undefined);

9374+

const params = createParams(

9375+

path.join(tempDir, "session.jsonl"),

9376+

path.join(tempDir, "workspace"),

9377+

);

9378+

params.timeoutMs = 120;

9379+9380+

const run = runCodexAppServerAttempt(params, {

9381+

turnCompletionIdleTimeoutMs: 5,

9382+

turnTerminalIdleTimeoutMs: 5,

9383+

});

9384+

await harness.waitForMethod("turn/start");

9385+9386+

void harness.notify({

9387+

method: "turn/completed",

9388+

params: {

9389+

threadId: "thread-1",

9390+

turnId: "turn-1",

9391+

turn: { id: "turn-1", status: "completed" },

9392+

},

9393+

});

9394+9395+

const result = await Promise.race([

9396+

run,

9397+

new Promise<never>((_, reject) => {

9398+

setTimeout(

9399+

() => reject(new Error("attempt watchdog did not release queued terminal turn")),

9400+

1_000,

9401+

);

9402+

}),

9403+

]);

9404+

expect(result.aborted).toBe(true);

9405+

expect(result.timedOut).toBe(true);

9406+

expect(result.promptError).toBe(

9407+

"codex app-server turn idle timed out waiting for turn/completed",

9408+

);

9409+

expect(

9410+

warn.mock.calls.some(

9411+

([message]) => message === "codex app-server turn idle timed out waiting for progress",

9412+

),

9413+

).toBe(true);

9414+

expect(

9415+

warn.mock.calls.some(

9416+

([message]) =>

9417+

message === "codex app-server turn idle timed out waiting for terminal event",

9418+

),

9419+

).toBe(false);

9420+

expect(

9421+

warn.mock.calls.some(

9422+

([message]) => message === "codex app-server turn idle timed out waiting for completion",

9423+

),

9424+

).toBe(false);

9425+

});

9426+93689427

it("routes Computer Use MCP elicitations through the native bridge", async () => {

93699428

let notify: (notification: CodexServerNotification) => Promise<void> = async () => undefined;

93709429

let handleRequest: