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

推荐订阅源

V
V2EX
aimingoo的专栏
aimingoo的专栏
S
SegmentFault 最新的问题
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
IT之家
IT之家
博客园 - 【当耐特】
月光博客
月光博客
C
Check Point Blog
T
The Blog of Author Tim Ferriss
罗磊的独立博客
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
B
Blog
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
美团技术团队
N
Netflix TechBlog - Medium
Stack Overflow Blog
Stack Overflow Blog
Y
Y Combinator Blog
L
LangChain Blog
The Cloudflare 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
fix(cron): suppress announce control replies · openclaw/o...
TurboTheTurt · 2026-06-16 · via Recent Commits to openclaw:main

@@ -1391,36 +1391,55 @@ describe("dispatchCronDelivery — double-announce guard", () => {

13911391

}

13921392

});

139313931394-

it("suppresses NO_REPLY payload in direct delivery so sentinel never leaks to external channels", async () => {

1395-

const params = makeBaseParams({ synthesizedText: "NO_REPLY" });

1396-

// Force the useDirectDelivery path (structured content) to exercise

1397-

// deliverViaDirect without going through finalizeTextDelivery.

1398-

(params as Record<string, unknown>).deliveryPayloadHasStructuredContent = true;

1399-

const state = await dispatchCronDelivery(params);

1394+

it.each([SILENT_REPLY_TOKEN, "ANNOUNCE_SKIP", "REPLY_SKIP"])(

1395+

"suppresses %s payload in direct delivery so control tokens never leak to external channels",

1396+

async (controlToken) => {

1397+

const params = makeBaseParams({ synthesizedText: controlToken });

1398+

// Force the useDirectDelivery path (structured content) to exercise

1399+

// deliverViaDirect without going through finalizeTextDelivery.

1400+

(params as Record<string, unknown>).deliveryPayloadHasStructuredContent = true;

1401+

const state = await dispatchCronDelivery(params);

140014021401-

// NO_REPLY must be filtered out before reaching the outbound adapter.

1402-

expect(deliverOutboundPayloads).not.toHaveBeenCalled();

1403-

expectResultFields(state.result, {

1404-

status: "ok",

1405-

delivered: false,

1406-

deliveryAttempted: true,

1407-

});

1408-

// deliveryAttempted must be true so the heartbeat timer does not fire

1409-

// a fallback enqueueSystemEvent with the NO_REPLY sentinel text.

1410-

expect(state.deliveryAttempted).toBe(true);

1403+

// Control tokens must be filtered out before reaching the outbound adapter.

1404+

expect(deliverOutboundPayloads).not.toHaveBeenCalled();

1405+

expectResultFields(state.result, {

1406+

status: "ok",

1407+

delivered: false,

1408+

deliveryAttempted: true,

1409+

});

1410+

// deliveryAttempted must be true so the heartbeat timer does not fire

1411+

// a fallback enqueueSystemEvent with the control-token text.

1412+

expect(state.deliveryAttempted).toBe(true);

141114131412-

// Verify timer guard agrees: shouldEnqueueCronMainSummary returns false

1413-

expect(

1414-

shouldEnqueueCronMainSummary({

1415-

summaryText: "NO_REPLY",

1416-

deliveryRequested: true,

1417-

delivered: state.result?.delivered,

1418-

deliveryAttempted: state.result?.deliveryAttempted,

1419-

suppressMainSummary: false,

1420-

isCronSystemEvent: () => true,

1421-

}),

1422-

).toBe(false);

1423-

});

1414+

// Verify timer guard agrees: shouldEnqueueCronMainSummary returns false

1415+

expect(

1416+

shouldEnqueueCronMainSummary({

1417+

summaryText: controlToken,

1418+

deliveryRequested: true,

1419+

delivered: state.result?.delivered,

1420+

deliveryAttempted: state.result?.deliveryAttempted,

1421+

suppressMainSummary: false,

1422+

isCronSystemEvent: () => true,

1423+

}),

1424+

).toBe(false);

1425+

},

1426+

);

1427+1428+

it.each(["ANNOUNCE_SKIP", "REPLY_SKIP"])(

1429+

"suppresses %s payload in text delivery so control tokens never leak to external channels",

1430+

async (controlToken) => {

1431+

const params = makeBaseParams({ synthesizedText: controlToken });

1432+

const state = await dispatchCronDelivery(params);

1433+1434+

expect(deliverOutboundPayloads).not.toHaveBeenCalled();

1435+

expectResultFields(state.result, {

1436+

status: "ok",

1437+

delivered: false,

1438+

deliveryAttempted: true,

1439+

});

1440+

expect(state.deliveryAttempted).toBe(true);

1441+

},

1442+

);

1424144314251444

it("delivers explicit targets with direct text through the outbound adapter", async () => {

14261445

const params = makeBaseParams({ synthesizedText: "hello from cron" });