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

推荐订阅源

Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
量子位
aimingoo的专栏
aimingoo的专栏
V
Visual Studio Blog
Y
Y Combinator Blog
Vercel News
Vercel News
云风的 BLOG
云风的 BLOG
宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
GbyAI
GbyAI
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
Stack Overflow Blog
Stack Overflow Blog
大猫的无限游戏
大猫的无限游戏
Microsoft Security Blog
Microsoft Security Blog
B
Blog
Last Week in AI
Last Week in AI
有赞技术团队
有赞技术团队
博客园 - 聂微东
腾讯CDC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks

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(gateway): align cron delivery channel fixtures · ope...
vincentkoc · 2026-06-22 · via Recent Commits to openclaw:main

@@ -286,7 +286,7 @@ async function directCronReq(

286286

}

287287288288

function expectCronJobIdFromResponse(response: { ok?: unknown; payload?: unknown }) {

289-

expect(response.ok).toBe(true);

289+

expect(response.ok, JSON.stringify((response as { error?: unknown }).error ?? null)).toBe(true);

290290

const value = (response.payload as { id?: unknown } | null)?.id;

291291

const id = typeof value === "string" ? value : "";

292292

expect(id.length > 0).toBe(true);

@@ -704,7 +704,7 @@ describe("gateway server cron", () => {

704704

const mergeUpdateRes = await directCronReq(cronState, "cron.update", {

705705

id: mergeJobId,

706706

patch: {

707-

delivery: { mode: "announce", channel: "telegram", to: "19098680" },

707+

delivery: { mode: "announce", channel: "last", to: "19098680" },

708708

},

709709

});

710710

expect(mergeUpdateRes.ok).toBe(true);

@@ -718,7 +718,7 @@ describe("gateway server cron", () => {

718718

expect(merged?.payload?.message).toBe("hello");

719719

expect(merged?.payload?.model).toBe("opus");

720720

expect(merged?.delivery?.mode).toBe("announce");

721-

expect(merged?.delivery?.channel).toBe("telegram");

721+

expect(merged?.delivery?.channel).toBe("last");

722722

expect(merged?.delivery?.to).toBe("19098680");

723723724724

const modelOnlyPatchRes = await directCronReq(cronState, "cron.update", {

@@ -810,7 +810,7 @@ describe("gateway server cron", () => {

810810

patch: {

811811

delivery: {

812812

mode: "announce",

813-

channel: "signal",

813+

channel: "last",

814814

to: "+15550001111",

815815

bestEffort: true,

816816

},

@@ -826,7 +826,7 @@ describe("gateway server cron", () => {

826826

expect(deliveryPatched?.payload?.kind).toBe("agentTurn");

827827

expect(deliveryPatched?.payload?.message).toBe("hello");

828828

expect(deliveryPatched?.delivery?.mode).toBe("announce");

829-

expect(deliveryPatched?.delivery?.channel).toBe("signal");

829+

expect(deliveryPatched?.delivery?.channel).toBe("last");

830830

expect(deliveryPatched?.delivery?.to).toBe("+15550001111");

831831

expect(deliveryPatched?.delivery?.bestEffort).toBe(true);

832832

@@ -1564,8 +1564,7 @@ describe("gateway server cron", () => {

15641564

sessionTarget: "isolated",

15651565

delivery: {

15661566

mode: "announce",

1567-

channel: "telegram",

1568-

to: "19098680",

1567+

channel: "last",

15691568

failureDestination: {

15701569

mode: "webhook",

15711570

to: "https://example.invalid/failure-destination",

@@ -1593,8 +1592,7 @@ describe("gateway server cron", () => {

15931592

sessionTarget: "isolated",

15941593

delivery: {

15951594

mode: "announce",

1596-

channel: "telegram",

1597-

to: "19098680",

1595+

channel: "last",

15981596

bestEffort: true,

15991597

failureDestination: {

16001598

mode: "webhook",

@@ -1697,8 +1695,7 @@ describe("gateway server cron", () => {

16971695

payload: { kind: "agentTurn", message: "test" },

16981696

delivery: {

16991697

mode: "announce",

1700-

channel: "feishu",

1701-

to: "ou_founder",

1698+

channel: "last",

17021699

},

17031700

});

17041701

const jobId = expectCronJobIdFromResponse(addRes);

@@ -1720,8 +1717,7 @@ describe("gateway server cron", () => {

1720171717211718

expectFailureAnnounceCall({

17221719

jobId,

1723-

channel: "feishu",

1724-

to: "ou_founder",

1720+

channel: "last",

17251721

sessionKey: "agent:avery:feishu:direct:ou_founder",

17261722

message: '⚠️ Cron job "session target failure fallback" failed: unknown error',

17271723

});