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

推荐订阅源

D
Docker
IT之家
IT之家
Microsoft Security Blog
Microsoft Security Blog
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
D
DataBreaches.Net
B
Blog RSS Feed
博客园_首页
The GitHub Blog
The GitHub Blog
I
InfoQ
L
LangChain Blog
G
Google Developers Blog
M
MIT News - Artificial intelligence
美团技术团队
腾讯CDC
V
Visual Studio Blog
aimingoo的专栏
aimingoo的专栏
博客园 - 聂微东
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Apple Machine Learning Research
Apple Machine Learning Research
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
博客园 - 叶小钗

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(docker): use resolved pnpm for scheduled lanes · openc...
steipete · 2026-04-27 · via Recent Commits to openclaw:main

@@ -197,12 +197,38 @@ function buildLaneRerunCommand(name, baseEnv) {

197197

["OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE", baseEnv.OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE],

198198

["OPENCLAW_CURRENT_PACKAGE_TGZ", baseEnv.OPENCLAW_CURRENT_PACKAGE_TGZ],

199199

];

200+

if (baseEnv.OPENCLAW_DOCKER_ALL_PNPM_COMMAND) {

201+

env.push(["OPENCLAW_DOCKER_ALL_PNPM_COMMAND", baseEnv.OPENCLAW_DOCKER_ALL_PNPM_COMMAND]);

202+

}

200203

return `${env

201204

.filter(([, value]) => value !== undefined && value !== "")

202205

.map(([key, value]) => `${key}=${shellQuote(value)}`)

203206

.join(" ")} pnpm test:docker:all`;

204207

}

205208209+

function withResolvedPnpmCommand(command, env) {

210+

const pnpmCommand = env.OPENCLAW_DOCKER_ALL_PNPM_COMMAND?.trim();

211+

if (!pnpmCommand) {

212+

return command;

213+

}

214+

return command.replace(/(^|\s)pnpm(?=\s)/g, `$1${shellQuote(pnpmCommand)}`);

215+

}

216+217+

function timingSeconds(timingStore, poolLane) {

218+

const fromStore = timingStore?.lanes?.[poolLane.name]?.durationSeconds;

219+

if (typeof fromStore === "number" && Number.isFinite(fromStore) && fromStore > 0) {

220+

return fromStore;

221+

}

222+

return poolLane.estimateSeconds ?? 0;

223+

}

224+225+

function orderLanes(poolLanes, timingStore) {

226+

return poolLanes

227+

.map((poolLane, index) => ({ index, poolLane, seconds: timingSeconds(timingStore, poolLane) }))

228+

.toSorted((a, b) => b.seconds - a.seconds || a.index - b.index)

229+

.map(({ poolLane }) => poolLane);

230+

}

231+206232

async function loadTimingStore(file, enabled) {

207233

if (!enabled) {

208234

return { enabled: false, file, lanes: {}, version: 1 };

@@ -611,10 +637,11 @@ function laneEnv(poolLane, baseEnv, logDir, cacheKey) {

611637

}

612638613639

async function runLane(lane, baseEnv, logDir, fallbackTimeoutMs) {

614-

const { command, name } = lane;

640+

const { name } = lane;

615641

const timeoutMs = lane.timeoutMs ?? fallbackTimeoutMs;

616642

const logFile = path.join(logDir, `${name}.log`);

617643

const env = laneEnv(lane, baseEnv, logDir, lane.cacheKey);

644+

const command = withResolvedPnpmCommand(lane.command, env);

618645

await mkdir(env.OPENCLAW_DOCKER_CLI_TOOLS_DIR, { recursive: true });

619646

await mkdir(env.OPENCLAW_DOCKER_CACHE_HOME_DIR, { recursive: true });

620647

await fs.promises.writeFile(