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

推荐订阅源

GbyAI
GbyAI
The GitHub Blog
The GitHub Blog
小众软件
小众软件
美团技术团队
博客园 - 司徒正美
G
Google Developers Blog
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
大猫的无限游戏
大猫的无限游戏
罗磊的独立博客
Recent Announcements
Recent Announcements
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Docker
J
Java Code Geeks
Last Week in AI
Last Week in AI
V
Visual Studio Blog
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
P
Proofpoint News Feed
V
V2EX
C
Check Point Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MyScale Blog
MyScale Blog

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: guard cron infra ui mock calls · openclaw/openclaw@...
steipete · 2026-05-12 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -80,7 +80,7 @@ describe("sendFailureNotificationAnnounce", () => {

8080

sessionKey: "cron:job-1:failure",

8181

});

8282

expect(mocks.deliverOutboundPayloads).toHaveBeenCalledTimes(1);

83-

const [deliveryRequest] = mocks.deliverOutboundPayloads.mock.calls[0] as [

83+

const [deliveryRequest] = mocks.deliverOutboundPayloads.mock.calls.at(0) as [

8484

{

8585

abortSignal?: unknown;

8686

accountId?: string;

@@ -171,7 +171,7 @@ describe("sendFailureNotificationAnnounce", () => {

171171

).resolves.toBeUndefined();

172172
173173

expect(mocks.warn).toHaveBeenCalledTimes(1);

174-

const [warnMeta, warnMessage] = mocks.warn.mock.calls[0] as [

174+

const [warnMeta, warnMessage] = mocks.warn.mock.calls.at(0) as [

175175

{ channel?: string; err?: string; to?: string },

176176

string,

177177

];

Original file line numberDiff line numberDiff line change

@@ -76,11 +76,11 @@ describe("withExtractedArchiveRoot", () => {

7676

});

7777
7878

expect(withTempDirSpy).toHaveBeenCalledTimes(1);

79-

const withTempDirCall = withTempDirSpy.mock.calls[0];

79+

const withTempDirCall = withTempDirSpy.mock.calls.at(0);

8080

expect(withTempDirCall?.[0]).toBe("openclaw-plugin-");

8181

expect(typeof withTempDirCall?.[1]).toBe("function");

8282

expect(extractSpy).toHaveBeenCalledOnce();

83-

expect(extractSpy.mock.calls[0]?.[0]?.archivePath).toBe(archivePath);

83+

expect(extractSpy.mock.calls.at(0)?.[0]?.archivePath).toBe(archivePath);

8484

expect(resolveRootSpy).toHaveBeenCalledWith(extractDir, {

8585

rootMarkers: ["package.json"],

8686

});

Original file line numberDiff line numberDiff line change

@@ -160,7 +160,7 @@ describe("push-apns.relay", () => {

160160

});

161161
162162

expect(sender).toHaveBeenCalledTimes(1);

163-

const sent = sender.mock.calls[0]?.[0] as

163+

const sent = sender.mock.calls.at(0)?.[0] as

164164

| {

165165

relayConfig?: { baseUrl?: string; timeoutMs?: number };

166166

sendGrant?: string;

@@ -221,7 +221,7 @@ describe("push-apns.relay", () => {

221221

const result = await sendApnsRelayPush(createRelayPushParams());

222222
223223

expect(fetchMock).toHaveBeenCalledTimes(1);

224-

const fetchOptions = fetchMock.mock.calls[0]?.[1] as { redirect?: unknown } | undefined;

224+

const fetchOptions = fetchMock.mock.calls.at(0)?.[1] as { redirect?: unknown } | undefined;

225225

expect(fetchOptions?.redirect).toBe("manual");

226226

expect(result.ok).toBe(false);

227227

expect(result.status).toBe(302);

Original file line numberDiff line numberDiff line change

@@ -847,7 +847,7 @@ describe("run-node script", () => {

847847
848848

expect(exitCode).toBe(0);

849849

expect(runRuntimePostBuild).toHaveBeenCalledTimes(1);

850-

const postBuildParams = runRuntimePostBuild.mock.calls[0]?.[0] as

850+

const postBuildParams = runRuntimePostBuild.mock.calls.at(0)?.[0] as

851851

| { cwd?: string; env?: Record<string, string | undefined> }

852852

| undefined;

853853

expect(postBuildParams?.cwd).toBe(tmp);

@@ -1328,7 +1328,9 @@ describe("run-node script", () => {

13281328
13291329

expect(exitCode).toBe(143);

13301330

expect(spawn).toHaveBeenCalledTimes(1);

1331-

const spawnCall = spawn.mock.calls[0] as [string, string[], { stdio?: unknown }] | undefined;

1331+

const spawnCall = spawn.mock.calls.at(0) as

1332+

| [string, string[], { stdio?: unknown }]

1333+

| undefined;

13321334

expect(spawnCall?.[0]).toBe(process.execPath);

13331335

expect(spawnCall?.[1]).toEqual(["openclaw.mjs", "status"]);

13341336

expect(spawnCall?.[2].stdio).toBe("inherit");

Original file line numberDiff line numberDiff line change

@@ -316,8 +316,8 @@ describe("loadControlUiBootstrapConfig", () => {

316316

await loadControlUiBootstrapConfig(state);

317317
318318

expect(fetchMock).toHaveBeenCalledTimes(2);

319-

const [, firstInit] = fetchMock.mock.calls[0] ?? [];

320-

const [, secondInit] = fetchMock.mock.calls[1] ?? [];

319+

const [, firstInit] = fetchMock.mock.calls.at(0) ?? [];

320+

const [, secondInit] = fetchMock.mock.calls.at(1) ?? [];

321321

expect((firstInit?.headers as Record<string, string> | undefined)?.Authorization).toBe(

322322

"Bearer stale-token",

323323

);