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

推荐订阅源

Apple Machine Learning Research
Apple Machine Learning Research
M
MIT News - Artificial intelligence
罗磊的独立博客
博客园 - 【当耐特】
A
About on SuperTechFans
Last Week in AI
Last Week in AI
雷峰网
雷峰网
IT之家
IT之家
aimingoo的专栏
aimingoo的专栏
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园_首页
博客园 - 叶小钗
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
J
Java Code Geeks
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
D
Docker
Engineering at Meta
Engineering at Meta
B
Blog RSS Feed
The Cloudflare Blog
大猫的无限游戏
大猫的无限游戏
阮一峰的网络日志
阮一峰的网络日志
S
SegmentFault 最新的问题
Recent Announcements
Recent Announcements

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(deadcode): remove stale channel presence helper · o...
vincentkoc · 2026-06-22 · via Recent Commits to openclaw:main

@@ -82,7 +82,7 @@ afterEach(() => {

82828383

describe("scanStatusJsonFast", () => {

8484

it("does not preload configured channel plugins for the lean JSON path", async () => {

85-

mocks.hasPotentialConfiguredChannels.mockReturnValue(true);

85+

mocks.hasConfiguredChannels.mockReturnValue(true);

86868787

await scanStatusJsonFast({}, {} as never);

8888

@@ -97,7 +97,7 @@ describe("scanStatusJsonFast", () => {

9797

});

98989999

it("keeps resolved and source channel configs available without loading runtime plugins", async () => {

100-

mocks.hasPotentialConfiguredChannels.mockReturnValue(true);

100+

mocks.hasConfiguredChannels.mockReturnValue(true);

101101

applyStatusScanDefaults(mocks, {

102102

hasConfiguredChannels: true,

103103

sourceConfig: {

@@ -128,15 +128,15 @@ describe("scanStatusJsonFast", () => {

128128

});

129129130130

it("skips plugin compatibility loading even when configured channels are present", async () => {

131-

mocks.hasPotentialConfiguredChannels.mockReturnValue(true);

131+

mocks.hasConfiguredChannels.mockReturnValue(true);

132132133133

await scanStatusJsonFast({}, {} as never);

134134135135

expect(mocks.buildPluginCompatibilityNotices).not.toHaveBeenCalled();

136136

});

137137138138

it("keeps default fast JSON update scans local-only", async () => {

139-

mocks.hasPotentialConfiguredChannels.mockReturnValue(true);

139+

mocks.hasConfiguredChannels.mockReturnValue(true);

140140141141

await scanStatusJsonFast({ timeoutMs: 1234 }, {} as never);

142142

@@ -150,7 +150,7 @@ describe("scanStatusJsonFast", () => {

150150

});

151151152152

it("restores registry-backed update checks and remote git fetches when --all is requested", async () => {

153-

mocks.hasPotentialConfiguredChannels.mockReturnValue(true);

153+

mocks.hasConfiguredChannels.mockReturnValue(true);

154154155155

await scanStatusJsonFast({ all: true }, {} as never);

156156

@@ -164,7 +164,7 @@ describe("scanStatusJsonFast", () => {

164164

});

165165166166

it("keeps the local status RPC fallback off the default fast JSON path", async () => {

167-

mocks.hasPotentialConfiguredChannels.mockReturnValue(true);

167+

mocks.hasConfiguredChannels.mockReturnValue(true);

168168

mocks.callGateway.mockResolvedValue({ sessions: 1 });

169169170170

await scanStatusJsonFast({}, {} as never);

@@ -174,15 +174,15 @@ describe("scanStatusJsonFast", () => {

174174

});

175175176176

it("honors explicit gateway probe timeouts on the lean JSON path", async () => {

177-

mocks.hasPotentialConfiguredChannels.mockReturnValue(true);

177+

mocks.hasConfiguredChannels.mockReturnValue(true);

178178179179

await scanStatusJsonFast({ timeoutMs: 5000 }, {} as never);

180180181181

expect(mocks.probeGateway).toHaveBeenCalledWith(expect.objectContaining({ timeoutMs: 5000 }));

182182

});

183183184184

it("keeps configured gateway handshake timeouts on the lean JSON path", async () => {

185-

mocks.hasPotentialConfiguredChannels.mockReturnValue(true);

185+

mocks.hasConfiguredChannels.mockReturnValue(true);

186186

applyStatusScanDefaults(mocks, {

187187

resolvedConfig: {

188188

...createStatusMemorySearchConfig(),

@@ -201,7 +201,7 @@ describe("scanStatusJsonFast", () => {

201201

});

202202203203

it("restores the local status RPC fallback when --all is requested", async () => {

204-

mocks.hasPotentialConfiguredChannels.mockReturnValue(true);

204+

mocks.hasConfiguredChannels.mockReturnValue(true);

205205

mocks.callGateway.mockResolvedValue({ sessions: 1 });

206206207207

await scanStatusJsonFast({ all: true }, {} as never);

@@ -215,7 +215,7 @@ describe("scanStatusJsonFast", () => {

215215

});

216216217217

it("keeps the fast JSON summary off the channel plugin summary path", async () => {

218-

mocks.hasPotentialConfiguredChannels.mockReturnValue(true);

218+

mocks.hasConfiguredChannels.mockReturnValue(true);

219219220220

await scanStatusJsonFast({}, {} as never);

221221

@@ -230,7 +230,7 @@ describe("scanStatusJsonFast", () => {

230230

const result = await scanStatusJsonFast({}, {} as never);

231231232232

expect(result.memory).toBeNull();

233-

expect(mocks.hasPotentialConfiguredChannels).not.toHaveBeenCalled();

233+

expect(mocks.hasConfiguredChannels).not.toHaveBeenCalled();

234234

expect(mocks.resolveMemorySearchConfig).not.toHaveBeenCalled();

235235

expect(mocks.getMemorySearchManager).not.toHaveBeenCalled();

236236

});