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

推荐订阅源

量子位
博客园_首页
罗磊的独立博客
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
Last Week in AI
Last Week in AI
D
DataBreaches.Net
Jina AI
Jina AI
博客园 - Franky
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
V
V2EX
D
Docker
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
人人都是产品经理
人人都是产品经理
H
Help Net Security
T
The Blog of Author Tim Ferriss

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
test: require agent async callbacks · openclaw/openclaw@1...
steipete · 2026-05-09 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -327,7 +327,7 @@ describe("session MCP runtime", () => {

327327

});

328328
329329

it("disposes catalog startup in-flight without leaving cached runtimes", async () => {

330-

let notifyCatalogStarted!: () => void;

330+

let notifyCatalogStarted: (() => void) | undefined;

331331

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

332332

notifyCatalogStarted = resolve;

333333

});

@@ -339,6 +339,9 @@ describe("session MCP runtime", () => {

339339

workspaceDir: params.workspaceDir,

340340

configFingerprint: params.configFingerprint ?? "fingerprint",

341341

getCatalog: async () => {

342+

if (!notifyCatalogStarted) {

343+

throw new Error("Expected bundle MCP catalog start callback to be initialized");

344+

}

342345

notifyCatalogStarted();

343346

return await new Promise((_, reject) => {

344347

rejectCatalog = reject;

Original file line numberDiff line numberDiff line change

@@ -60,7 +60,7 @@ describe("handleAssistantFailover", () => {

6060

describe("rotate_profile branch", () => {

6161

it("rotates before waiting on auth profile failure marking", async () => {

6262

const events: string[] = [];

63-

let releaseMark!: () => void;

63+

let releaseMark: (() => void) | undefined;

6464

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

6565

releaseMark = resolve;

6666

});

@@ -91,6 +91,9 @@ describe("handleAssistantFailover", () => {

9191
9292

expect(outcome.action).toBe("retry");

9393

expect(events).toEqual(["advance", "mark-start"]);

94+

if (!releaseMark) {

95+

throw new Error("Expected auth profile failure mark release callback to be initialized");

96+

}

9497

releaseMark();

9598

await markSettled;

9699

await vi.waitFor(() => expect(events).toEqual(["advance", "mark-start", "mark-finish"]));

Original file line numberDiff line numberDiff line change

@@ -136,14 +136,17 @@ describe("subagent registry steer restarts", () => {

136136

};

137137
138138

const createDeferredAnnounceResolver = (): ((value: boolean) => void) => {

139-

let resolveAnnounce!: (value: boolean) => void;

139+

let resolveAnnounce: ((value: boolean) => void) | undefined;

140140

announceSpy.mockImplementationOnce(

141141

() =>

142142

new Promise<boolean>((resolve) => {

143143

resolveAnnounce = resolve;

144144

}),

145145

);

146146

return (value: boolean) => {

147+

if (!resolveAnnounce) {

148+

throw new Error("Expected subagent announcement resolver to be initialized");

149+

}

147150

resolveAnnounce(value);

148151

};

149152

};

Original file line numberDiff line numberDiff line change

@@ -122,7 +122,7 @@ describe("video generate background helpers", () => {

122122
123123

it("keeps long-running media tasks fresh while provider work is pending", async () => {

124124

vi.useFakeTimers();

125-

let resolveRun!: (value: string) => void;

125+

let resolveRun: ((value: string) => void) | undefined;

126126

const runPromise = new Promise<string>((resolve) => {

127127

resolveRun = resolve;

128128

});

@@ -145,6 +145,9 @@ describe("video generate background helpers", () => {

145145

progressSummary: "Generating video",

146146

});

147147
148+

if (!resolveRun) {

149+

throw new Error("Expected video generation run resolver to be initialized");

150+

}

148151

resolveRun("done");

149152

await expect(task).resolves.toBe("done");

150153

const callsAfterCompletion = taskExecutorMocks.recordTaskRunProgressByRunId.mock.calls.length;