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

推荐订阅源

F
Full Disclosure
Recorded Future
Recorded Future
T
Tenable Blog
S
Securelist
C
CERT Recently Published Vulnerability Notes
T
Threatpost
S
Schneier on Security
A
Arctic Wolf
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Register - Security
The Register - Security
Cisco Talos Blog
Cisco Talos Blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
T
True Tiger Recordings
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
小众软件
小众软件
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Spread Privacy
Spread Privacy
Malwarebytes
Malwarebytes
P
Proofpoint News Feed
F
Fox-IT International blog
F
Fortinet All Blogs
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
量子位
Latest news
Latest news
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Project Zero
Project Zero
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
I
Intezer
博客园_首页
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Darknet – Hacking Tools, Hacker News & Cyber Security

Recent Commits to openclaw:main

feat: stream autoreview progress · openclaw/openclaw@322ceb3 test: improve full-suite failure summaries · openclaw/openclaw@8f1fb67 fix(e2e): require bounded helper timeouts · openclaw/openclaw@0028c2f fix(ui): eliminate double scrollbar on Logs view · openclaw/openclaw@068d88c test: speed up hot test fixtures · openclaw/openclaw@0f608bc fix(auto-reply): suppress repeated silent tokens (#86848) · openclaw/openclaw@8ec2b2d fix(commands): preserve async skill commands · openclaw/openclaw@1313e15 fix(docker): bound telegram npm installs · openclaw/openclaw@130464e fix(mac): use corepack pnpm for app packaging · openclaw/openclaw@728b61a fix: mark ios watch app as watchkit app · openclaw/openclaw@1600bcd docs: explain bundled plugin npm override · openclaw/openclaw@40fa750 fix: keep bundled OpenClaw plugins image-owned · openclaw/openclaw@771675e test: fix bundled install mock typing · openclaw/openclaw@669bfdd perf: cache npm globalconfig lookups · openclaw/openclaw@3f524a6 fix(daemon): ignore recursive Windows gateway wrapper · openclaw/openclaw@126a336 fix(docker): bound live setup commands · openclaw/openclaw@eb15c44 fix: restore ios build stability · openclaw/openclaw@1daef79 feat(plugin-sdk): add reaction approval helpers (#86735) · openclaw/openclaw@7d6b7f4 test(auto-reply): type manifest catalog harness mock · openclaw/openclaw@4f83cd6 fix(docker): bound live docker runs · openclaw/openclaw@96307ca test(auto-reply): mock manifest model catalog in trigger harness · openclaw/openclaw@989d449 fix(crabbox): scope env-wrapped macOS bootstrap · openclaw/openclaw@2f7bfdb fix(gateway): reject RPCs from invalidated device-token clients durin… · openclaw/openclaw@1e1cf14 fix(channel): handle plugin channel markdown fallback · openclaw/openclaw@6158742 fix(docker): require bounded e2e docker commands · openclaw/openclaw@3736d7b fix(codex): share native hook relay registry (#73950) · openclaw/openclaw@6729dea fix(release): stabilize plugin prerelease tests · openclaw/openclaw@5a684c4 fix(diagnostics): flush OTel trace batches · openclaw/openclaw@c4b9f54 fix(memory): reject invalid CLI numeric options · openclaw/openclaw@d569e41 fix(codex): bound app-server timeout fallout · openclaw/openclaw@5a7d5c6 fix(agents): keep model browse normalization bounded · openclaw/openclaw@9fc71e9 fix: stabilize media-related tests · openclaw/openclaw@a818556 fix(ci): preserve docker pull retry failures · openclaw/openclaw@be2213e fix(build): stabilize shrinkwrap generation · openclaw/openclaw@538b537 fix(ui): ignore stale running session rows · openclaw/openclaw@1705189 ci: support windows node download fallback · openclaw/openclaw@bb48fcf test(agents): pin native anthropic replay policy · openclaw/openclaw@acd3ce0 fix(status): surface systemd gateway hygiene (#86976) · openclaw/openclaw@0a085bf fix(ui): show failed tool results as errors (#85786) ci: allow Windows Node 22 patch range · openclaw/openclaw@ce4db4f ci: enforce Node 22 floor in setup helper · openclaw/openclaw@1d972af Fix status JSON plugin scan (#87001) · openclaw/openclaw@f3e6158 fix(telegram): preserve command slots for aliases (#85270) · openclaw/openclaw@77505da fix(agents): handle deferred maintenance drain · openclaw/openclaw@94fb547 test: keep legacy tool-result error proof ci: fix post-merge Rastermill checks · openclaw/openclaw@b546998 fix(agents): mark repaired legacy tool results errored · openclaw/openclaw@8523d32 docs(changelog): note rastermill exif fix docs(changelog): regroup 2026.5.26 release notes · openclaw/openclaw@a6973ab fix: keep EXIF normalization best-effort (#86923) · openclaw/openclaw@acb942f build: update rastermill pin · openclaw/openclaw@7d4d751 build: use rastermill 0.3.0 · openclaw/openclaw@cee8c87 ci: normalize Windows toolcache paths · openclaw/openclaw@03ae999 refactor: use unified rastermill encode API · openclaw/openclaw@a3325c9 ci: satisfy opengrep git add guard · openclaw/openclaw@16d06aa refactor: delegate image processing to Rastermill · openclaw/openclaw@50b98a1 build: update rastermill dependency · openclaw/openclaw@e6edcca fix: infer realtime smoke dev server type · openclaw/openclaw@4e84229 refactor: delegate image limits to Rastermill · openclaw/openclaw@4f728f8 fix(agents): repair legacy tool results before replay · openclaw/openclaw@4e45b11 fix(config): narrow profiled tool section doctor repair (#87030) · openclaw/openclaw@3c16648 test: fix current suite drift · openclaw/openclaw@80655fe fix(lock): require owner identity proof before stale removal · openclaw/openclaw@daa7b1d fix(deps): pin shrinkwrap patch drift to pnpm lock · openclaw/openclaw@d8a14e7 revert: 60bec8c duplicate tool display guard · openclaw/openclaw@e09f89d fix(e2e): bound docker package preparation · openclaw/openclaw@38edae7 fix(cli): add Windows stack-size respawn (#87031) · openclaw/openclaw@5e8f498 fix(agents): preserve sessions_spawn transcript payloads (#82203) · openclaw/openclaw@ef86d8c fix(agents): guard duplicate tool display metadata (#87025) · openclaw/openclaw@60bec8c ci(release): port 2026.5.25 release gate fixes · openclaw/openclaw@f7e2d9b chore: update tool display snapshot · openclaw/openclaw@ad71c42 fix(web-search): keep runtime legacy merge out of validation (#86818) · openclaw/openclaw@4a85cd7 fix(cli): default logs to local timestamps (#85387) · openclaw/openclaw@3127808 fix(agents): dedupe transcripts tool display config · openclaw/openclaw@8788ae1 fix(updater): exclude prerelease tags from stable git channel (#86559) · openclaw/openclaw@e070519 fix(agents): memoize session lock owner args · openclaw/openclaw@c430fcd fix: dedupe transcripts tool display metadata · openclaw/openclaw@0f49bbb fix(cli): validate timeout and banner TTY state · openclaw/openclaw@abb85cc fix(codex): project newer history on app-server resume (#86677) fix(codex): keep turn timeouts inside Codex (#86476) fix(auto-reply): stage sandboxed workspace media · openclaw/openclaw@f22c3a5 fix(e2e): support plain telegram install timeouts fix(mac): harden restart and dSYM packaging · openclaw/openclaw@639e7ff fix(exec): avoid default approval store writes (#86964) · openclaw/openclaw@4d65936 fix(agents): restore current guard checks (#86934) · openclaw/openclaw@9b1b6d0 docs(changelog): prepare 2026.5.26 notes · openclaw/openclaw@983b338 fix(commands): keep slash handling off reply startup · openclaw/openclaw@c2b56de fix(reply): defer context compaction safely · openclaw/openclaw@ed3ae0d fix(telegram): refine typing and progress drafts · openclaw/openclaw@0afccc6 fix(codex): gate profiler timing and startup setup · openclaw/openclaw@21c25bb fix(agents): avoid runtime model hydration on hot paths · openclaw/openclaw@7951cc0 fix(reply): reduce visible reply delivery latency · openclaw/openclaw@699c047 docs(changelog): note reply latency fixes · openclaw/openclaw@29a1dc2 fix(e2e): support plain timeout wrappers fix(channels): preserve direct native progress callbacks · openclaw/openclaw@e750041 fix: tighten parser edge cases (#86999) · openclaw/openclaw@174cd49 fix(e2e): clean stale docker lane containers · openclaw/openclaw@3968288 fix(e2e): bound docker lifecycle hangs · openclaw/openclaw@71cb607 fix(gateway): bound live agent model probes fix(e2e): bound plugin binding docker smoke · openclaw/openclaw@b36fa1d
fix: preserve whatsapp inbound batch order · openclaw/openclaw@84a33c7
steipete · 2026-05-27 · via Recent Commits to openclaw:main

@@ -239,6 +239,7 @@ export async function attachWebInboxToSocket(

239239

debounceKey?: string;

240240

durableId?: string;

241241

readReceipt?: WhatsAppReadReceiptTarget;

242+

receiveOrder?: number;

242243

};

243244

const durableInboundJournal = createWhatsAppDurableInboundReceiveJournal(options.accountId);

244245

const inboundDebounceMs = Math.max(0, Math.trunc(options.debounceMs ?? 0));

@@ -262,6 +263,14 @@ export async function attachWebInboxToSocket(

262263

};

263264

const shouldDebounceInboundMessage = (msg: WebInboundMessage): boolean =>

264265

options.shouldDebounce?.(msg) ?? true;

266+

const orderDebouncedInboundEntries = (entries: QueuedInboundMessage[]) =>

267+

entries.toSorted((a, b) => {

268+

const timestampDiff = (a.timestamp ?? 0) - (b.timestamp ?? 0);

269+

if (timestampDiff !== 0) {

270+

return timestampDiff;

271+

}

272+

return (a.receiveOrder ?? 0) - (b.receiveOrder ?? 0);

273+

});

265274266275

const finalizeInboundDelivery = async (

267276

entries: QueuedInboundMessage[],

@@ -312,23 +321,24 @@ export async function attachWebInboxToSocket(

312321

});

313322

activeInboundFlushes.add(flushTask);

314323

try {

315-

const last = entries.at(-1);

324+

const orderedEntries = orderDebouncedInboundEntries(entries);

325+

const last = orderedEntries.at(-1);

316326

if (!last) {

317327

return;

318328

}

319329

try {

320-

if (entries.length === 1) {

330+

if (orderedEntries.length === 1) {

321331

await options.onMessage(last);

322-

await finalizeInboundDelivery(entries);

332+

await finalizeInboundDelivery(orderedEntries);

323333

return;

324334

}

325335

const mentioned = new Set<string>();

326-

for (const entry of entries) {

336+

for (const entry of orderedEntries) {

327337

for (const jid of entry.mentions ?? entry.mentionedJids ?? []) {

328338

mentioned.add(jid);

329339

}

330340

}

331-

const combinedBody = entries

341+

const combinedBody = orderedEntries

332342

.map((entry) => entry.body)

333343

.filter(Boolean)

334344

.join("\n");

@@ -340,9 +350,9 @@ export async function attachWebInboxToSocket(

340350

isBatched: true,

341351

};

342352

await options.onMessage(combinedMessage);

343-

await finalizeInboundDelivery(entries);

353+

await finalizeInboundDelivery(orderedEntries);

344354

} catch (error) {

345-

await finalizeInboundDelivery(entries, error);

355+

await finalizeInboundDelivery(orderedEntries, error);

346356

throw error;

347357

}

348358

} finally {

@@ -739,6 +749,7 @@ export async function attachWebInboxToSocket(

739749

const processDurableInboundMessage = async (

740750

msg: WAMessage,

741751

upsertType: string | undefined,

752+

receiveOrder: number | undefined,

742753

stored?: {

743754

id: string;

744755

payload: WhatsAppDurableInboundPayload;

@@ -827,6 +838,7 @@ export async function attachWebInboxToSocket(

827838

await enqueueInboundMessage(msg, inbound, enriched, {

828839

durableId,

829840

readReceipt: deliveryReadReceipt,

841+

receiveOrder,

830842

});

831843

};

832844

@@ -836,6 +848,7 @@ export async function attachWebInboxToSocket(

836848

await processDurableInboundMessage(

837849

deserializeWhatsAppDurableInboundMessage(record.payload.message),

838850

record.payload.upsertType,

851+

record.payload.receivedAt,

839852

{

840853

id: record.id,

841854

payload: record.payload,

@@ -917,6 +930,7 @@ export async function attachWebInboxToSocket(

917930

durable: {

918931

durableId?: string;

919932

readReceipt?: WhatsAppReadReceiptTarget;

933+

receiveOrder?: number;

920934

},

921935

) => {

922936

const chatJid = inbound.remoteJid;

@@ -1023,6 +1037,7 @@ export async function attachWebInboxToSocket(

10231037

dedupeKey: inbound.id ? `${options.accountId}:${inbound.remoteJid}:${inbound.id}` : undefined,

10241038

durableId: durable.durableId,

10251039

readReceipt: durable.readReceipt,

1040+

receiveOrder: durable.receiveOrder,

10261041

};

10271042

const debounceKey = buildInboundDebounceKey(inboundMessage);

10281043

if (debounceKey) {

@@ -1053,11 +1068,13 @@ export async function attachWebInboxToSocket(

10531068

};

1054106910551070

const pendingMessageHandlers = new Set<Promise<void>>();

1071+

let nextReceiveOrder = 0;

10561072

const handleMessagesUpsert = async (upsert: { type?: string; messages?: Array<WAMessage> }) => {

10571073

if (upsert.type !== "notify" && upsert.type !== "append") {

10581074

return;

10591075

}

10601076

for (const msg of upsert.messages ?? []) {

1077+

const receiveOrder = nextReceiveOrder++;

10611078

if (

10621079

await maybeResolveWhatsAppApprovalReaction({

10631080

cfg: options.loadConfig?.() ?? options.cfg,

@@ -1072,7 +1089,7 @@ export async function attachWebInboxToSocket(

10721089

continue;

10731090

}

107410911075-

await processDurableInboundMessage(msg, upsert.type);

1092+

await processDurableInboundMessage(msg, upsert.type, receiveOrder);

10761093

}

10771094

};

10781095

const handleMessagesUpsertEvent = (upsert: { type?: string; messages?: Array<WAMessage> }) => {