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

推荐订阅源

Google DeepMind News
Google DeepMind News
博客园 - 司徒正美
WordPress大学
WordPress大学
爱范儿
爱范儿
小众软件
小众软件
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
罗磊的独立博客
博客园_首页
V
V2EX
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
T
Tailwind CSS Blog
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
MyScale Blog
MyScale Blog
IT之家
IT之家
H
Help Net Security
Blog — PlanetScale
Blog — PlanetScale
Microsoft Security Blog
Microsoft Security Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
Y
Y Combinator 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
ci: bound release package tarball checks · openclaw/openc...
steipete · 2026-04-29 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -39,16 +39,33 @@ function parseArgs(argv) {

3939

return options;

4040

}

4141
42-

function run(command, args, cwd) {

42+

function run(command, args, cwd, options = {}) {

4343

return new Promise((resolve, reject) => {

4444

const child = spawn(command, args, {

4545

cwd,

4646

stdio: ["ignore", "pipe", "pipe"],

4747

});

48+

let timedOut = false;

49+

const timeout =

50+

options.timeoutMs === undefined

51+

? undefined

52+

: setTimeout(() => {

53+

timedOut = true;

54+

child.kill("SIGTERM");

55+

setTimeout(() => child.kill("SIGKILL"), 5_000).unref?.();

56+

}, options.timeoutMs);

57+

timeout?.unref?.();

4858

child.stdout.pipe(process.stderr, { end: false });

4959

child.stderr.pipe(process.stderr, { end: false });

5060

child.on("error", reject);

5161

child.on("close", (status, signal) => {

62+

if (timeout) {

63+

clearTimeout(timeout);

64+

}

65+

if (timedOut) {

66+

reject(new Error(`${command} ${args.join(" ")} timed out after ${options.timeoutMs}ms`));

67+

return;

68+

}

5269

if (status === 0) {

5370

resolve();

5471

return;

@@ -150,10 +167,15 @@ async function main() {

150167

}

151168
152169

console.error("==> Checking OpenClaw package tarball");

170+

const checkStartedAt = Date.now();

153171

await run(

154172

"node",

155173

[path.join(ROOT_DIR, "scripts/check-openclaw-package-tarball.mjs"), tarball],

156174

sourceDir,

175+

{ timeoutMs: 5 * 60 * 1000 },

176+

);

177+

console.error(

178+

`==> OpenClaw package tarball check finished in ${Math.round((Date.now() - checkStartedAt) / 1000)}s`,

157179

);

158180
159181

process.stdout.write(`${tarball}\n`);

Original file line numberDiff line numberDiff line change

@@ -93,6 +93,16 @@ function run(command, args, options = {}) {

9393

cwd: options.cwd ?? ROOT_DIR,

9494

stdio: options.capture ? ["ignore", "pipe", "pipe"] : ["ignore", "inherit", "inherit"],

9595

});

96+

let timedOut = false;

97+

const timeout =

98+

options.timeoutMs === undefined

99+

? undefined

100+

: setTimeout(() => {

101+

timedOut = true;

102+

child.kill("SIGTERM");

103+

setTimeout(() => child.kill("SIGKILL"), 5_000).unref?.();

104+

}, options.timeoutMs);

105+

timeout?.unref?.();

96106

let stdout = "";

97107

let stderr = "";

98108

if (options.capture) {

@@ -105,6 +115,13 @@ function run(command, args, options = {}) {

105115

}

106116

child.on("error", reject);

107117

child.on("close", (status, signal) => {

118+

if (timeout) {

119+

clearTimeout(timeout);

120+

}

121+

if (timedOut) {

122+

reject(new Error(`${command} ${args.join(" ")} timed out after ${options.timeoutMs}ms`));

123+

return;

124+

}

108125

if (status === 0) {

109126

resolve(stdout);

110127

return;

@@ -406,7 +423,14 @@ async function resolveCandidate(options) {

406423

}

407424
408425

const digest = await assertExpectedSha256(target, options.packageSha256);

409-

await run("node", ["scripts/check-openclaw-package-tarball.mjs", target]);

426+

console.error(`Checking OpenClaw package tarball: ${target}`);

427+

const checkStartedAt = Date.now();

428+

await run("node", ["scripts/check-openclaw-package-tarball.mjs", target], {

429+

timeoutMs: 5 * 60 * 1000,

430+

});

431+

console.error(

432+

`OpenClaw package tarball check finished in ${Math.round((Date.now() - checkStartedAt) / 1000)}s`,

433+

);

410434

const pkg = await readPackageJson(target);

411435

const metadata = {

412436

name: pkg.name,