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

推荐订阅源

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

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(e2e): preserve docker run failure status feat(discord): bucket large model picker menus fix(telegram): derive DM topics from bot capability · openclaw/openclaw@aa117ec fix: improve discord voice playback and wake replies ci: use supported codex mini live target · openclaw/openclaw@b56ddcc fix(ci): kill wedged bun smoke commands fix(e2e): bound corrupt plugin update runs · openclaw/openclaw@2b63eb2 ci: require codex profiles for live probes · openclaw/openclaw@6930538 docs: clarify inline comment guidance docs: update changelog for landed sweep fixes · openclaw/openclaw@8c575bd fix(agents): disclose scoped session list results (#86944) · openclaw/openclaw@598aad4 fix(telegram): treat ENETDOWN as transient network failure (#86762) · openclaw/openclaw@1fd8de8 fix(mac): harden package script safety · openclaw/openclaw@564e0bb fix(ci): kill wedged checkout fetches · openclaw/openclaw@c867ecb ci: restore codex replay live probe contract · openclaw/openclaw@9fd8158 fix(codex): preserve oversized native thread reuse · openclaw/openclaw@7a14741 fix(scripts): detect timed changed gates · openclaw/openclaw@a5eee8f ci: stop waiting for nonexistent capability restart wake · openclaw/openclaw@3c6fd49 fix(e2e): route plugin update through timeout helper · openclaw/openclaw@e8f584e fix: respect root options in startup guards (#86927) · openclaw/openclaw@7e6837b fix: tighten CLI utility failure handling (#86918) · openclaw/openclaw@0ec2928 fix: preserve config and hook contracts (#86911) fix: tighten small runtime parsing guards (#86909) fix(ci): kill timed tui pty test runs · openclaw/openclaw@081e295 fix(logging): preserve env placeholders during redaction · openclaw/openclaw@6c18c21 fix(memory-core): avoid per-file watcher FD fan-out for memory direct… fix: use current config sdk contract in feishu doctor · openclaw/openclaw@5535eef Validate wide-area DNS zone domains [AI] (#84136) · openclaw/openclaw@84b9704 ci: stabilize release live QA gates · openclaw/openclaw@27359ec ci: harden live release gates · openclaw/openclaw@cf21c8a ci: normalize Windows toolcache Node paths perf: cache read-only channel resolution chore: remove stale codex test conversion · openclaw/openclaw@fdb7848 fix(test): explain missing vitest dependency · openclaw/openclaw@373b3bf fix(e2e): kill timed docker scenario runners · openclaw/openclaw@d5bf325 fix: add transcripts tool display metadata · openclaw/openclaw@645cbf6 docs: update changelog for landed fixes · openclaw/openclaw@12b81d8 fix(agents): route btw through embedded stream resolver (#86312) fix(telegram): treat targeted bot commands as mentions (#86553) · openclaw/openclaw@c7821bd fix(e2e): route doctor switch commands through timeout helper · openclaw/openclaw@9ced76a fix: ignore other codex thread completions · openclaw/openclaw@ead847f fix(feishu): repair stale channel state · openclaw/openclaw@b7c461a fix: remove stale image provider assertions · openclaw/openclaw@0973a7e fix: accept trailing fuzzy voice wake questions · openclaw/openclaw@d001d35 fix(podman): bound setup image builds · openclaw/openclaw@d6fcb56 fix(podman): kill timed container launches · openclaw/openclaw@6118f3f fix(scripts): preserve native pnpm exec paths · openclaw/openclaw@fb853de fix(codex): bridge cli api-key auth into app-server fix: update Discord voice to libopus-wasm 0.1.0 · openclaw/openclaw@0f605ee fix(e2e): kill timed docker helper commands · openclaw/openclaw@e89afa6 fix(e2e): kill timed live docker runs · openclaw/openclaw@dc0d4c2 fix(ci): kill timed website installer docker steps · openclaw/openclaw@d54c906 fix(scripts): trim macOS node bootstrap · openclaw/openclaw@4ff5a61 fix(ci): kill timed install smoke docker steps · openclaw/openclaw@cf6f9ad fix(setup): kill timed image pulls when supported fix(test): default Vitest stall watchdog fix(ci): bound crabbox hydrate downloads · openclaw/openclaw@d1c8f09 fix(control-ui): guard stale overview usage refresh fix(qa): require genai otel model spans (#86920) refactor: move transcripts into core fix(message-tool): hydrate structured reply attachments fix(e2e): kill timed npm install process groups fix(ci): kill timed workflow process groups fix(e2e): kill timed setup process groups fix(e2e): bound resource-sampled docker runs · openclaw/openclaw@d0dd8b8 fix(mac): fail closed on restart gateway check · openclaw/openclaw@295b5ea fix(e2e): time out live docker setup installs · openclaw/openclaw@8c7f226 ci: resolve major node fallback versions · openclaw/openclaw@e37ac22 ci: use local node toolcache setup · openclaw/openclaw@4c6aeb9 ci: add node download fallback fix(e2e): bound docker npm install phases · openclaw/openclaw@9777526 ci: restore pnpm store cache with corepack · openclaw/openclaw@84e4bff ci: avoid pnpm setup action download · openclaw/openclaw@13f72e4 fix(e2e): time out telegram package installs · openclaw/openclaw@a17ac3e ci: avoid unconditional bun action download · openclaw/openclaw@e549d0c ci: avoid token-backed read checkouts · openclaw/openclaw@df13d3a ci: use unauthenticated workflow fetches fix(e2e): time out package npm installs · openclaw/openclaw@a07dc38 test: speed up slow CI regressions · openclaw/openclaw@30e59b4 fix(release): fail closed on cross-os agent turns · openclaw/openclaw@dfe94ff fix(e2e): reject corrupt plugin update false greens · openclaw/openclaw@419178b fix(qa): preserve corrupt auth profile files · openclaw/openclaw@efebf6b fix(matrix): reject malformed integer cli values · openclaw/openclaw@cb34175 fix(canvas): reject invalid snapshot formats · openclaw/openclaw@884d346 fix(browser): reject invalid wait load states · openclaw/openclaw@13c6a33 fix(ci): time out website installer docker runs · openclaw/openclaw@a3bb4fe fix(discord): gate native built-in UI before owner auth fix(ci): fail Testbox changed-check delegation · openclaw/openclaw@92fb79e fix(ci): time out install smoke docker runs · openclaw/openclaw@30c4489 ci(release): retry transient GitHub API suspension errors (#86859) · openclaw/openclaw@94a04e1 fix(podman): time out detached launches · openclaw/openclaw@8307e2f Auto-scale live tool result caps (#86857) fix(podman): time out setup image pulls · openclaw/openclaw@c2b1d20
fix(e2e): kill timed kitchen rpc command groups · openclaw/openclaw@23aeb58
vincentkoc · 2026-05-27 · via Recent Commits to openclaw:main

@@ -1,6 +1,7 @@

1-

import { existsSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";

1+

import { existsSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";

22

import { tmpdir } from "node:os";

33

import path from "node:path";

4+

import { setTimeout as delay } from "node:timers/promises";

45

import { describe, expect, it, vi } from "vitest";

56

import {

67

appendBoundedOutput,

@@ -10,12 +11,15 @@ import {

1011

fetchJson,

1112

findDistCallGatewayModuleFiles,

1213

makeEnv,

14+

runCommand,

1315

sampleProcess,

1416

sampleWindowsProcessByPort,

1517

summarizeProcessSamples,

1618

usesBuiltOpenClawEntry,

1719

} from "../../scripts/e2e/kitchen-sink-rpc-walk.mjs";

182021+

const posixIt = process.platform === "win32" ? it.skip : it;

22+1923

describe("kitchen-sink RPC isolated state", () => {

2024

it("cleans up the generated temporary home tree", async () => {

2125

const { root, env } = makeEnv();

@@ -42,6 +46,52 @@ describe("kitchen-sink RPC command output capture", () => {

4246

const second = appendBoundedOutput(first, "ghij", 5);

4347

expect(second).toEqual({ text: "fghij", truncatedChars: 5 });

4448

});

49+50+

posixIt("kills timed command process groups", async () => {

51+

const root = mkdtempSync(path.join(tmpdir(), "openclaw-kitchen-rpc-timeout-"));

52+

const scriptPath = path.join(root, "trap-term.mjs");

53+

const grandchildPidPath = path.join(root, "grandchild.pid");

54+

let grandchildPid = 0;

55+56+

writeFileSync(

57+

scriptPath,

58+

`

59+

import { spawn } from "node:child_process";

60+

import fs from "node:fs";

61+62+

const grandchild = spawn(process.execPath, [

63+

"-e",

64+

"process.on('SIGTERM', () => {}); setInterval(() => {}, 1000);",

65+

], { stdio: "ignore" });

66+

fs.writeFileSync(process.argv[2], String(grandchild.pid));

67+

process.on("SIGTERM", () => {});

68+

setInterval(() => {}, 1000);

69+

`,

70+

"utf8",

71+

);

72+73+

const runPromise = runCommand(process.execPath, [scriptPath, grandchildPidPath], {

74+

detached: undefined,

75+

timeoutKillGraceMs: 50,

76+

timeoutMs: 2000,

77+

});

78+79+

try {

80+

await waitFor(() => existsSync(grandchildPidPath));

81+

grandchildPid = Number.parseInt(readText(grandchildPidPath), 10);

82+

expect(Number.isInteger(grandchildPid)).toBe(true);

83+

expect(isProcessAlive(grandchildPid)).toBe(true);

84+85+

await expect(runPromise).rejects.toThrow("timed out after 2000ms");

86+

await waitFor(() => !isProcessAlive(grandchildPid), 5_000);

87+

} finally {

88+

await runPromise.catch(() => {});

89+

if (grandchildPid && isProcessAlive(grandchildPid)) {

90+

process.kill(grandchildPid, "SIGKILL");

91+

}

92+

rmSync(root, { recursive: true, force: true });

93+

}

94+

});

4595

});

46964797

describe("kitchen-sink RPC caller loading", () => {

@@ -324,3 +374,26 @@ describe("kitchen-sink RPC process sampling", () => {

324374

expect(() => assertResourceCeiling(null)).toThrow("gateway RSS sample was not captured");

325375

});

326376

});

377+378+

function readText(file: string) {

379+

return readFileSync(file, "utf8");

380+

}

381+382+

async function waitFor(condition: () => boolean, timeoutMs = 3_000) {

383+

const startedAt = Date.now();

384+

while (!condition()) {

385+

if (Date.now() - startedAt > timeoutMs) {

386+

throw new Error("timed out waiting for condition");

387+

}

388+

await delay(25);

389+

}

390+

}

391+392+

function isProcessAlive(pid: number) {

393+

try {

394+

process.kill(pid, 0);

395+

return true;

396+

} catch {

397+

return false;

398+

}

399+

}