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

推荐订阅源

D
Docker
小众软件
小众软件
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
人人都是产品经理
人人都是产品经理
大猫的无限游戏
大猫的无限游戏
V
V2EX
阮一峰的网络日志
阮一峰的网络日志
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - Franky
WordPress大学
WordPress大学
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog
Jina AI
Jina AI
博客园 - 聂微东
S
SegmentFault 最新的问题
量子位
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页

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(plugins): stabilize prerelease surface checks · open...
vincentkoc · 2026-05-04 · via Recent Commits to openclaw:main

@@ -94,6 +94,19 @@ function setup(

9494

return harness;

9595

}

969697+

async function withProcessPlatform<T>(

98+

platform: NodeJS.Platform,

99+

callback: () => Promise<T>,

100+

): Promise<T> {

101+

const originalPlatform = process.platform;

102+

Object.defineProperty(process, "platform", { value: platform });

103+

try {

104+

return await callback();

105+

} finally {

106+

Object.defineProperty(process, "platform", { value: originalPlatform });

107+

}

108+

}

109+97110

function jsonResponse(value: unknown): Response {

98111

return new Response(JSON.stringify(value), {

99112

status: 200,

@@ -1893,9 +1906,11 @@ describe("google-meet plugin", () => {

18931906

| undefined;

18941907

const respond = vi.fn();

189519081896-

await handler?.({

1897-

params: { url: "https://meet.google.com/abc-defg-hij" },

1898-

respond,

1909+

await withProcessPlatform("darwin", async () => {

1910+

await handler?.({

1911+

params: { url: "https://meet.google.com/abc-defg-hij" },

1912+

respond,

1913+

});

18991914

});

1900191519011916

expect(respond.mock.calls[0]?.[0]).toBe(true);

@@ -1982,9 +1997,11 @@ describe("google-meet plugin", () => {

19821997

| undefined;

19831998

const respond = vi.fn();

198419991985-

await handler?.({

1986-

params: { url: "https://meet.google.com/abc-defg-hij" },

1987-

respond,

2000+

await withProcessPlatform("darwin", async () => {

2001+

await handler?.({

2002+

params: { url: "https://meet.google.com/abc-defg-hij" },

2003+

respond,

2004+

});

19882005

});

1989200619902007

expect(respond.mock.calls[0]?.[0]).toBe(true);

@@ -2060,9 +2077,11 @@ describe("google-meet plugin", () => {

20602077

| undefined;

20612078

const respond = vi.fn();

206220792063-

await handler?.({

2064-

params: { url: "https://meet.google.com/abc-defg-hij" },

2065-

respond,

2080+

await withProcessPlatform("darwin", async () => {

2081+

await handler?.({

2082+

params: { url: "https://meet.google.com/abc-defg-hij" },

2083+

respond,

2084+

});

20662085

});

2067208620682087

expect(respond.mock.calls[0]?.[0]).toBe(true);

@@ -2310,14 +2329,19 @@ describe("google-meet plugin", () => {

23102329

).runInContext(context) as () => string | Promise<string>;

2311233023122331

const first = JSON.parse(await inspect()) as { captionsEnabledAttempted?: boolean };

2313-

const stateAfterFirst = windowState.__openclawMeetCaptions as { enabledAttempted?: boolean };

2332+

const captionsStateKey = "__openclawMeetCaptions";

2333+

const stateAfterFirst = windowState[captionsStateKey] as {

2334+

enabledAttempted?: boolean;

2335+

};

23142336

expect(first.captionsEnabledAttempted).toBe(false);

23152337

expect(stateAfterFirst.enabledAttempted).toBe(false);

23162338

expect(captionButton.click).not.toHaveBeenCalled();

2317233923182340

page.buttons = [leaveButton, captionButton];

23192341

const second = JSON.parse(await inspect()) as { captionsEnabledAttempted?: boolean };

2320-

const stateAfterSecond = windowState.__openclawMeetCaptions as { enabledAttempted?: boolean };

2342+

const stateAfterSecond = windowState[captionsStateKey] as {

2343+

enabledAttempted?: boolean;

2344+

};

23212345

expect(second.captionsEnabledAttempted).toBe(true);

23222346

expect(stateAfterSecond.enabledAttempted).toBe(true);

23232347

expect(captionButton.click).toHaveBeenCalledTimes(1);