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

推荐订阅源

B
Blog
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
酷 壳 – CoolShell
酷 壳 – CoolShell
人人都是产品经理
人人都是产品经理
Jina AI
Jina AI
雷峰网
雷峰网
博客园_首页
WordPress大学
WordPress大学
博客园 - 司徒正美
爱范儿
爱范儿
博客园 - 聂微东
IT之家
IT之家
美团技术团队
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
有赞技术团队
有赞技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
T
Tailwind CSS Blog
博客园 - Franky
V
V2EX
GbyAI
GbyAI
阮一峰的网络日志
阮一峰的网络日志

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

@@ -71,7 +71,6 @@ describe("mattermost setup contract", () => {

7171

expectedAccountId: "default",

7272

assertPatchedConfig: (cfg) => {

7373

const mattermostConfig = cfg.channels?.mattermost;

74-

expect(mattermostConfig).toBeDefined();

7574

if (!mattermostConfig) {

7675

throw new Error("expected Mattermost config patch");

7776

}

Original file line numberDiff line numberDiff line change

@@ -31,15 +31,18 @@ describe("mattermost doctor", () => {

3131

});

3232
3333

const mattermostConfig = result.config.channels?.mattermost;

34-

expect(mattermostConfig).toBeDefined();

3534

if (!mattermostConfig) {

3635

throw new Error("expected normalized Mattermost config");

3736

}

3837

expect(mattermostConfig.network).toEqual({

3938

dangerouslyAllowPrivateNetwork: true,

4039

});

41-

const workAccount = mattermostConfig.accounts?.work as { network?: Record<string, unknown> };

42-

expect(workAccount).toBeDefined();

40+

const workAccount = mattermostConfig.accounts?.work as

41+

| { network?: Record<string, unknown> }

42+

| undefined;

43+

if (!workAccount) {

44+

throw new Error("expected Mattermost work account config");

45+

}

4346

expect(workAccount.network).toEqual({

4447

dangerouslyAllowPrivateNetwork: false,

4548

});

Original file line numberDiff line numberDiff line change

@@ -277,12 +277,10 @@ describe("updateMattermostPost", () => {

277277

const { calls } = await updatePostAndCapture({ message: "Updated" });

278278
279279

const firstCall = calls[0];

280-

expect(firstCall).toBeDefined();

281280

if (!firstCall) {

282281

throw new Error("expected Mattermost update post request");

283282

}

284283

expect(firstCall.url).toContain("/posts/post1");

285-

expect(firstCall.init).toBeDefined();

286284

if (!firstCall.init) {

287285

throw new Error("expected Mattermost update post request init");

288286

}

Original file line numberDiff line numberDiff line change

@@ -60,12 +60,10 @@ describe("Mattermost model picker", () => {

6060

expect(view.text).toContain("Browse keeps the current runtime");

6161

expect(view.text).toContain("/oc_model <provider/model> --runtime <runtime>");

6262

const firstRow = view.buttons[0];

63-

expect(firstRow).toBeDefined();

6463

if (!firstRow) {

6564

throw new Error("expected Mattermost model picker button row");

6665

}

6766

const browseButton = firstRow[0];

68-

expect(browseButton).toBeDefined();

6967

if (!browseButton) {

7068

throw new Error("expected Mattermost browse providers button");

7169

}

Original file line numberDiff line numberDiff line change

@@ -131,7 +131,6 @@ describe("slash-commands", () => {

131131
132132

expect(result).toHaveLength(1);

133133

const firstCommand = result[0];

134-

expect(firstCommand).toBeDefined();

135134

if (!firstCommand) {

136135

throw new Error("expected Mattermost slash command result");

137136

}

Original file line numberDiff line numberDiff line change

@@ -392,7 +392,6 @@ describe("mattermost setup", () => {

392392

);

393393

expect(textMessages).toEqual(["Enter Mattermost bot token", "Enter Mattermost base URL"]);

394394

const mattermostConfig = result.cfg.channels?.mattermost;

395-

expect(mattermostConfig).toBeDefined();

396395

if (!mattermostConfig) {

397396

throw new Error("expected Mattermost config");

398397

}

Original file line numberDiff line numberDiff line change

@@ -122,7 +122,6 @@ describe("Synology Chat TLS verification defaults", () => {

122122

await settleTimers(invoke());

123123

const httpsRequest = vi.mocked(https.request);

124124

const firstCall = httpsRequest.mock.calls[0];

125-

expect(firstCall).toBeDefined();

126125

if (!firstCall) {

127126

throw new Error("expected Synology Chat HTTPS request");

128127

}

@@ -159,7 +158,6 @@ describe("sendMessage", () => {

159158

await settleTimers(sendMessage("https://nas.example.com/incoming", "Hello", undefined, true));

160159

const httpsRequest = vi.mocked(https.request);

161160

const firstCall = httpsRequest.mock.calls[0];

162-

expect(firstCall).toBeDefined();

163161

if (!firstCall) {

164162

throw new Error("expected Synology Chat HTTPS request");

165163

}

@@ -387,7 +385,6 @@ describe("fetchChatUsers", () => {

387385
388386

const httpsGet = vi.mocked(https.get);

389387

const firstCall = httpsGet.mock.calls[0];

390-

expect(firstCall).toBeDefined();

391388

if (!firstCall) {

392389

throw new Error("expected Synology Chat HTTPS get");

393390

}

Original file line numberDiff line numberDiff line change

@@ -9,7 +9,6 @@ import {

99

describe("vitest process group helpers", () => {

1010

function getListenerSet(listeners: Map<string, Set<() => void>>, event: string) {

1111

const set = listeners.get(event);

12-

expect(set).toBeDefined();

1312

if (!set) {

1413

throw new Error(`expected ${event} listener set`);

1514

}