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

推荐订阅源

Martin Fowler
Martin Fowler
爱范儿
爱范儿
博客园_首页
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
大猫的无限游戏
大猫的无限游戏
月光博客
月光博客
IT之家
IT之家
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
Microsoft Azure Blog
Microsoft Azure Blog
The GitHub Blog
The GitHub Blog
C
Check Point Blog
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - Franky
G
Google Developers Blog
V
V2EX
雷峰网
雷峰网
美团技术团队
博客园 - 【当耐特】
人人都是产品经理
人人都是产品经理
有赞技术团队
有赞技术团队
MongoDB | Blog
MongoDB | Blog
V
Visual Studio Blog
J
Java Code Geeks

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(qa-lab): preserve gateway log offset order · openclaw...
steipete · 2026-05-01 · via Recent Commits to openclaw:main

@@ -247,6 +247,18 @@ function isRetryableGatewayCallError(details: string): boolean {

247247

);

248248

}

249249250+

function createQaGatewayChildLogCollector() {

251+

const chunks: Buffer[] = [];

252+

return {

253+

push(chunk: Buffer) {

254+

chunks.push(Buffer.from(chunk));

255+

},

256+

text() {

257+

return Buffer.concat(chunks).toString("utf8").trim();

258+

},

259+

};

260+

}

261+250262

async function fetchLocalGatewayHealth(params: {

251263

baseUrl: string;

252264

healthPath: "/readyz" | "/healthz";

@@ -307,6 +319,7 @@ export const __testing = {

307319

resolveQaOwnerPluginIdsForProviderIds,

308320

resolveQaBundledPluginSourceDir,

309321

resolveQaRuntimeHostVersion,

322+

createQaGatewayChildLogCollector,

310323

createQaBundledPluginsDir,

311324

stopQaGatewayChildProcessTree,

312325

};

@@ -574,13 +587,13 @@ export async function startQaGatewayChild(params: {

574587

};

575588

const stdout: Buffer[] = [];

576589

const stderr: Buffer[] = [];

590+

const output = createQaGatewayChildLogCollector();

577591

const stdoutLogPath = path.join(tempRoot, "gateway.stdout.log");

578592

const stderrLogPath = path.join(tempRoot, "gateway.stderr.log");

579593

const stdoutLog = createWriteStream(stdoutLogPath, { flags: "a" });

580594

const stderrLog = createWriteStream(stderrLogPath, { flags: "a" });

581595582-

const logs = () =>

583-

`${Buffer.concat(stdout).toString("utf8")}\n${Buffer.concat(stderr).toString("utf8")}`.trim();

596+

const logs = () => output.text();

584597

const keepTemp = process.env.OPENCLAW_QA_KEEP_TEMP === "1";

585598

let gatewayPort = 0;

586599

let baseUrl = "";

@@ -667,11 +680,13 @@ export async function startQaGatewayChild(params: {

667680

attemptChild.stdout.on("data", (chunk) => {

668681

const buffer = Buffer.from(chunk);

669682

stdout.push(buffer);

683+

output.push(buffer);

670684

stdoutLog.write(buffer);

671685

});

672686

attemptChild.stderr.on("data", (chunk) => {

673687

const buffer = Buffer.from(chunk);

674688

stderr.push(buffer);

689+

output.push(buffer);

675690

stderrLog.write(buffer);

676691

});

677692

child = attemptChild;

@@ -760,11 +775,13 @@ export async function startQaGatewayChild(params: {

760775

nextChild.stdout.on("data", (chunk) => {

761776

const buffer = Buffer.from(chunk);

762777

stdout.push(buffer);

778+

output.push(buffer);

763779

stdoutLog.write(buffer);

764780

});

765781

nextChild.stderr.on("data", (chunk) => {

766782

const buffer = Buffer.from(chunk);

767783

stderr.push(buffer);

784+

output.push(buffer);

768785

stderrLog.write(buffer);

769786

});

770787