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

推荐订阅源

量子位
F
Fortinet All Blogs
J
Java Code Geeks
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
M
MIT News - Artificial intelligence
腾讯CDC
Last Week in AI
Last Week in AI
The Cloudflare Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
Jina AI
Jina AI
Microsoft Security Blog
Microsoft Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
P
Proofpoint News Feed
博客园 - 叶小钗
Recent Announcements
Recent Announcements
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
人人都是产品经理
人人都是产品经理
L
LangChain Blog
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

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
fix(ci): fail gateway CPU spawn errors · openclaw/opencla...
vincentkoc · 2026-06-01 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -137,9 +137,22 @@ function runStep(name, command, args, options = {}, params = {}) {

137137

stdio: "inherit",

138138

...options,

139139

});

140-

const status = result.status ?? (result.signal ? 1 : 0);

141-

console.error(`[gateway-cpu] ${status === 0 ? "pass" : "fail"} ${name}`);

142-

return { name, status, signal: result.signal ?? null };

140+

const error =

141+

result.error instanceof Error

142+

? result.error.message

143+

: result.error

144+

? String(result.error)

145+

: null;

146+

const status = result.error ? 1 : (result.status ?? (result.signal ? 1 : 0));

147+

console.error(

148+

`[gateway-cpu] ${status === 0 ? "pass" : "fail"} ${name}${error ? `: ${error}` : ""}`,

149+

);

150+

return {

151+

name,

152+

status,

153+

signal: result.signal ?? null,

154+

...(error ? { error } : {}),

155+

};

143156

}

144157
145158

function pnpmCommand(args, params = {}) {

Original file line numberDiff line numberDiff line change

@@ -108,6 +108,31 @@ describe("gateway CPU scenario guard", () => {

108108

]);

109109

});

110110
111+

it("fails startup build spawn errors and skips the startup bench", async () => {

112+

const outputDir = makeTempRoot();

113+

const calls: string[][] = [];

114+

const options = testing.parseArgs(["--output-dir", outputDir, "--skip-qa"]);

115+
116+

const result = await testing.runGatewayCpuScenarios(options, {

117+

silent: true,

118+

spawnSync: (_command: string, args: string[]) => {

119+

calls.push(args);

120+

return {

121+

error: Object.assign(new Error("spawn ENOENT"), { code: "ENOENT" }),

122+

signal: null,

123+

status: null,

124+

};

125+

},

126+

});

127+
128+

expect(result.exitCode).toBe(1);

129+

expect(calls).toEqual([["scripts/ensure-cli-startup-build.mjs"]]);

130+

expect(result.summary.steps).toEqual([

131+

{ name: "startup build", error: "spawn ENOENT", signal: null, status: 1 },

132+

{ name: "startup bench", signal: null, status: 1 },

133+

]);

134+

});

135+
111136

it("prebuilds private QA dist before running QA scenarios when it is missing", async () => {

112137

const cwd = makeTempRoot();

113138

const outputDir = path.join(cwd, "out");