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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
腾讯CDC
Y
Y Combinator Blog
L
LangChain Blog
B
Blog
U
Unit 42
P
Proofpoint News Feed
G
Google Developers Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 【当耐特】
WordPress大学
WordPress大学
月光博客
月光博客
Vercel News
Vercel News
雷峰网
雷峰网
T
The Blog of Author Tim Ferriss
MyScale Blog
MyScale Blog
大猫的无限游戏
大猫的无限游戏
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 叶小钗

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: parallelize docker aggregate lanes · openclaw/openc...
steipete · 2026-04-24 · via Recent Commits to openclaw:main

@@ -6,7 +6,8 @@ import { fileURLToPath } from "node:url";

6677

const ROOT_DIR = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");

88

const DEFAULT_E2E_IMAGE = "openclaw-docker-e2e:local";

9-

const DEFAULT_PARALLELISM = 4;

9+

const DEFAULT_PARALLELISM = 8;

10+

const DEFAULT_TAIL_PARALLELISM = 8;

1011

const DEFAULT_FAILURE_TAIL_LINES = 80;

1112

const DEFAULT_LANE_TIMEOUT_MS = 120 * 60 * 1000;

1213

@@ -54,6 +55,8 @@ const exclusiveLanes = [

5455

["live-acp-bind", "OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:live-acp-bind"],

5556

];

565758+

const tailLanes = exclusiveLanes;

59+5760

function parsePositiveInt(raw, fallback, label) {

5861

if (!raw) {

5962

return fallback;

@@ -228,20 +231,6 @@ async function runLanePool(poolLanes, baseEnv, logDir, parallelism, options) {

228231

return failures;

229232

}

230233231-

async function runLanesSerial(serialLanes, baseEnv, logDir, options) {

232-

const failures = [];

233-

for (const lane of serialLanes) {

234-

const result = await runLane(lane, baseEnv, logDir, options.timeoutMs);

235-

if (result.status !== 0) {

236-

failures.push(result);

237-

if (options.failFast) {

238-

break;

239-

}

240-

}

241-

}

242-

return failures;

243-

}

244-245234

async function tailFile(file, lines) {

246235

const content = await readFile(file, "utf8").catch(() => "");

247236

const tail = content.split(/\r?\n/).slice(-lines).join("\n");

@@ -281,6 +270,11 @@ async function main() {

281270

DEFAULT_PARALLELISM,

282271

"OPENCLAW_DOCKER_ALL_PARALLELISM",

283272

);

273+

const tailParallelism = parsePositiveInt(

274+

process.env.OPENCLAW_DOCKER_ALL_TAIL_PARALLELISM,

275+

Math.min(parallelism, DEFAULT_TAIL_PARALLELISM),

276+

"OPENCLAW_DOCKER_ALL_TAIL_PARALLELISM",

277+

);

284278

const tailLines = parsePositiveInt(

285279

process.env.OPENCLAW_DOCKER_ALL_FAILURE_TAIL_LINES,

286280

DEFAULT_FAILURE_TAIL_LINES,

@@ -308,6 +302,7 @@ async function main() {

308302309303

console.log(`==> Docker test logs: ${logDir}`);

310304

console.log(`==> Parallelism: ${parallelism}`);

305+

console.log(`==> Tail parallelism: ${tailParallelism}`);

311306

console.log(`==> Lane timeout: ${laneTimeoutMs}ms`);

312307

console.log(`==> Fail fast: ${failFast ? "yes" : "no"}`);

313308

console.log(`==> Live-test bundled plugin deps: ${baseEnv.OPENCLAW_DOCKER_BUILD_EXTENSIONS}`);

@@ -321,13 +316,13 @@ async function main() {

321316322317

const options = { failFast, timeoutMs: laneTimeoutMs };

323318

const failures = await runLanePool(lanes, baseEnv, logDir, parallelism, options);

324-

if (failures.length > 0) {

319+

if (failFast && failures.length > 0) {

325320

await printFailureSummary(failures, tailLines);

326321

process.exit(1);

327322

}

328323329-

console.log("==> Running provider-sensitive Docker lanes exclusively");

330-

failures.push(...(await runLanesSerial(exclusiveLanes, baseEnv, logDir, options)));

324+

console.log("==> Running provider-sensitive Docker tail lanes");

325+

failures.push(...(await runLanePool(tailLanes, baseEnv, logDir, tailParallelism, options)));

331326

if (failures.length > 0) {

332327

await printFailureSummary(failures, tailLines);

333328

process.exit(1);