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

推荐订阅源

GbyAI
GbyAI
B
Blog
Stack Overflow Blog
Stack Overflow Blog
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
Tailwind CSS Blog
MongoDB | Blog
MongoDB | Blog
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
U
Unit 42
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
D
DataBreaches.Net
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
罗磊的独立博客
L
LangChain Blog
V
Visual Studio Blog
雷峰网
雷峰网
aimingoo的专栏
aimingoo的专栏
宝玉的分享
宝玉的分享

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
chore(lint): enable object and reassignment rules · openc...
steipete · 2026-05-31 · via Recent Commits to openclaw:main

@@ -2735,17 +2735,18 @@ describe("runCodexAppServerAttempt", () => {

27352735

});

2736273627372737

it("does not drop turn completion notifications emitted while turn/start is in flight", async () => {

2738-

let harness: ReturnType<typeof createAppServerHarness>;

2739-

harness = createAppServerHarness(async (method) => {

2740-

if (method === "thread/start") {

2741-

return threadStartResult();

2742-

}

2743-

if (method === "turn/start") {

2744-

await harness.completeTurn({ threadId: "thread-1", turnId: "turn-1" });

2745-

return turnStartResult("turn-1", "completed");

2746-

}

2747-

return {};

2748-

});

2738+

const harness: ReturnType<typeof createAppServerHarness> = createAppServerHarness(

2739+

async (method) => {

2740+

if (method === "thread/start") {

2741+

return threadStartResult();

2742+

}

2743+

if (method === "turn/start") {

2744+

await harness.completeTurn({ threadId: "thread-1", turnId: "turn-1" });

2745+

return turnStartResult("turn-1", "completed");

2746+

}

2747+

return {};

2748+

},

2749+

);

2749275027502751

const result = await runCodexAppServerAttempt(

27512752

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

@@ -2755,30 +2756,31 @@ describe("runCodexAppServerAttempt", () => {

27552756

});

2756275727572758

it("does not fail when a buffered terminal notification is followed by client close", async () => {

2758-

let harness: ReturnType<typeof createAppServerHarness>;

27592759

let resolveBufferedTerminal!: () => void;

27602760

const bufferedTerminal = new Promise<void>((resolve) => {

27612761

resolveBufferedTerminal = resolve;

27622762

});

2763-

harness = createAppServerHarness(async (method) => {

2764-

if (method === "thread/start") {

2765-

return threadStartResult();

2766-

}

2767-

if (method === "turn/start") {

2768-

await harness.notify({

2769-

method: "item/started",

2770-

params: {

2771-

threadId: "thread-1",

2772-

turnId: "turn-1",

2773-

item: { id: "tool-1", type: "commandExecution" },

2774-

},

2775-

});

2776-

await harness.completeTurn({ threadId: "thread-1", turnId: "turn-1" });

2777-

resolveBufferedTerminal();

2778-

return turnStartResult("turn-1", "inProgress");

2779-

}

2780-

return {};

2781-

});

2763+

const harness: ReturnType<typeof createAppServerHarness> = createAppServerHarness(

2764+

async (method) => {

2765+

if (method === "thread/start") {

2766+

return threadStartResult();

2767+

}

2768+

if (method === "turn/start") {

2769+

await harness.notify({

2770+

method: "item/started",

2771+

params: {

2772+

threadId: "thread-1",

2773+

turnId: "turn-1",

2774+

item: { id: "tool-1", type: "commandExecution" },

2775+

},

2776+

});

2777+

await harness.completeTurn({ threadId: "thread-1", turnId: "turn-1" });

2778+

resolveBufferedTerminal();

2779+

return turnStartResult("turn-1", "inProgress");

2780+

}

2781+

return {};

2782+

},

2783+

);

2782278427832785

const run = runCodexAppServerAttempt(

27842786

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

@@ -2795,24 +2797,25 @@ describe("runCodexAppServerAttempt", () => {

27952797

});

2796279827972799

it("does not time out when turn progress arrives before turn/start returns", async () => {

2798-

let harness: ReturnType<typeof createAppServerHarness>;

2799-

harness = createAppServerHarness(async (method) => {

2800-

if (method === "thread/start") {

2801-

return threadStartResult();

2802-

}

2803-

if (method === "turn/start") {

2804-

await harness.notify({

2805-

method: "turn/started",

2806-

params: {

2807-

threadId: "thread-1",

2808-

turnId: "turn-1",

2809-

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

2810-

},

2811-

});

2812-

return turnStartResult("turn-1", "inProgress");

2813-

}

2814-

return {};

2815-

});

2800+

const harness: ReturnType<typeof createAppServerHarness> = createAppServerHarness(

2801+

async (method) => {

2802+

if (method === "thread/start") {

2803+

return threadStartResult();

2804+

}

2805+

if (method === "turn/start") {

2806+

await harness.notify({

2807+

method: "turn/started",

2808+

params: {

2809+

threadId: "thread-1",

2810+

turnId: "turn-1",

2811+

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

2812+

},

2813+

});

2814+

return turnStartResult("turn-1", "inProgress");

2815+

}

2816+

return {};

2817+

},

2818+

);

28162819

const params = createParams(

28172820

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

28182821

path.join(tempDir, "workspace"),