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

推荐订阅源

D
Docker
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
A
About on SuperTechFans
博客园 - 【当耐特】
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The GitHub Blog
The GitHub Blog
雷峰网
雷峰网
博客园_首页
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
IT之家
IT之家
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
B
Blog RSS Feed
H
Help Net Security
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
D
DataBreaches.Net
L
LangChain Blog
Vercel News
Vercel News

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: tighten command extension helper assertions · openc...
steipete · 2026-05-09 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -142,7 +142,6 @@ describe("fetchDiscord", () => {

142142

});

143143
144144

expect(result).toEqual({ id: "42" });

145-

expect(request).toBeDefined();

146145

if (!request) {

147146

throw new Error("expected Discord request init");

148147

}

Original file line numberDiff line numberDiff line change

@@ -14,7 +14,6 @@ describe("resolve-allowlist-common", () => {

1414
1515

it("resolves and filters guilds by id or name", () => {

1616

const mainGuild = findDiscordGuildByName(guilds, "Main Guild");

17-

expect(mainGuild).toBeDefined();

1817

if (!mainGuild) {

1918

throw new Error("expected Main Guild lookup result");

2019

}

Original file line numberDiff line numberDiff line change

@@ -83,7 +83,6 @@ describe("firecrawl tools", () => {

8383

expect(provider.id).toBe("firecrawl");

8484

expect(provider.credentialPath).toBe("plugins.entries.firecrawl.config.webSearch.apiKey");

8585

const pluginEntry = applied.plugins?.entries?.firecrawl;

86-

expect(pluginEntry).toBeDefined();

8786

if (!pluginEntry) {

8887

throw new Error("expected Firecrawl plugin entry");

8988

}

@@ -354,7 +353,6 @@ describe("firecrawl tools", () => {

354353

expect(provider.id).toBe("firecrawl");

355354

expect(provider.credentialPath).toBe("plugins.entries.firecrawl.config.webFetch.apiKey");

356355

const pluginEntry = applied.plugins?.entries?.firecrawl;

357-

expect(pluginEntry).toBeDefined();

358356

if (!pluginEntry) {

359357

throw new Error("expected Firecrawl fetch plugin entry");

360358

}

Original file line numberDiff line numberDiff line change

@@ -18,7 +18,6 @@ function jsonResponse(payload: unknown, status = 200) {

1818
1919

function requireFirstFetchInput(fetchImpl: ReturnType<typeof vi.fn>): RequestInfo | URL {

2020

const input = fetchImpl.mock.calls[0]?.[0] as RequestInfo | URL | undefined;

21-

expect(input).toBeDefined();

2221

if (!input) {

2322

throw new Error("expected fetch input");

2423

}

Original file line numberDiff line numberDiff line change

@@ -18,7 +18,6 @@ async function expectPostJsonRequest(run: (token: string, fetcher: ZaloFetch) =>

1818

await run("test-token", fetcher);

1919

expect(fetcher).toHaveBeenCalledTimes(1);

2020

const [, init] = fetcher.mock.calls[0] ?? [];

21-

expect(init).toBeDefined();

2221

if (!init) {

2322

throw new Error("expected Zalo request init");

2423

}

@@ -71,11 +70,9 @@ describe("Zalo API request methods", () => {

7170
7271

await rejected;

7372

const [, init] = fetcher.mock.calls[0] ?? [];

74-

expect(init).toBeDefined();

7573

if (!init) {

7674

throw new Error("expected Zalo chat action request init");

7775

}

78-

expect(init.signal).toBeDefined();

7976

if (!init.signal) {

8077

throw new Error("expected Zalo chat action abort signal");

8178

}

Original file line numberDiff line numberDiff line change

@@ -61,7 +61,6 @@ describe("zalo setup wizard", () => {

6161
6262

expect(result.accountId).toBe("default");

6363

const zaloConfig = result.cfg.channels?.zalo;

64-

expect(zaloConfig).toBeDefined();

6564

if (!zaloConfig) {

6665

throw new Error("expected Zalo config");

6766

}

@@ -123,15 +122,13 @@ describe("zalo setup wizard", () => {

123122
124123

const next = zaloDmPolicy.setPolicy(cfg, "open");

125124

const zaloConfig = next.channels?.zalo;

126-

expect(zaloConfig).toBeDefined();

127125

if (!zaloConfig) {

128126

throw new Error("expected Zalo config");

129127

}

130128

expect(zaloConfig.dmPolicy).toBe("disabled");

131129

const workAccount = next.channels?.zalo?.accounts?.work as

132130

| { dmPolicy?: string; allowFrom?: Array<string | number> }

133131

| undefined;

134-

expect(workAccount).toBeDefined();

135132

if (!workAccount) {

136133

throw new Error("expected Zalo work account");

137134

}

@@ -157,15 +154,13 @@ describe("zalo setup wizard", () => {

157154

);

158155
159156

const zaloConfig = next.channels?.zalo;

160-

expect(zaloConfig).toBeDefined();

161157

if (!zaloConfig) {

162158

throw new Error("expected Zalo config");

163159

}

164160

expect(zaloConfig.dmPolicy).toBeUndefined();

165161

const workAccount = next.channels?.zalo?.accounts?.work as

166162

| { dmPolicy?: string; allowFrom?: Array<string | number> }

167163

| undefined;

168-

expect(workAccount).toBeDefined();

169164

if (!workAccount) {

170165

throw new Error("expected Zalo work account");

171166

}

Original file line numberDiff line numberDiff line change

@@ -33,12 +33,10 @@ describe("zalouser setup wizard", () => {

3333

) {

3434

expect(result.accountId).toBe("default");

3535

const channelConfig = result.cfg.channels?.zalouser;

36-

expect(channelConfig).toBeDefined();

3736

if (!channelConfig) {

3837

throw new Error("expected Zalo Personal channel config");

3938

}

4039

const pluginEntry = result.cfg.plugins?.entries?.zalouser;

41-

expect(pluginEntry).toBeDefined();

4240

if (!pluginEntry) {

4341

throw new Error("expected Zalo Personal plugin entry");

4442

}

Original file line numberDiff line numberDiff line change

@@ -44,11 +44,11 @@ async function writeIdentityFile(workspace: string, lines: string[]) {

4444
4545

function getWrittenMainIdentity() {

4646

const [written] = configMocks.writeConfigFile.mock.calls[0] ?? [];

47-

expect(written).toBeDefined();

4847

if (!written) {

4948

throw new Error("expected written agent config");

5049

}

51-

return written.agents?.list?.find((entry) => entry.id === "main")?.identity;

50+

const payload = written as ConfigWritePayload;

51+

return payload.agents?.list?.find((entry) => entry.id === "main")?.identity;

5252

}

5353
5454

async function runIdentityCommandFromWorkspace(workspace: string, fromIdentity = true) {

Original file line numberDiff line numberDiff line change

@@ -340,7 +340,6 @@ describe("channels command", () => {

340340

function getWrittenConfig<T>(): T {

341341

expect(configMocks.writeConfigFile).toHaveBeenCalledTimes(1);

342342

const [config] = configMocks.writeConfigFile.mock.calls[0] ?? [];

343-

expect(config).toBeDefined();

344343

if (config === undefined) {

345344

throw new Error("expected written channel config");

346345

}

Original file line numberDiff line numberDiff line change

@@ -10,7 +10,6 @@ vi.mock("../plugin-sdk/facade-loader.js", () => ({

1010
1111

function requireFirstNoteCall(noteFn: ReturnType<typeof vi.fn>): unknown[] {

1212

const call = noteFn.mock.calls[0];

13-

expect(call).toBeDefined();

1413

if (!call) {

1514

throw new Error("expected browser doctor note");

1615

}