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

推荐订阅源

J
Java Code Geeks
Martin Fowler
Martin Fowler
B
Blog RSS Feed
D
DataBreaches.Net
L
LangChain Blog
月光博客
月光博客
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
V
Visual Studio Blog
美团技术团队
Jina AI
Jina AI
博客园 - 司徒正美
雷峰网
雷峰网
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
小众软件
小众软件
罗磊的独立博客
博客园_首页
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
A
About on SuperTechFans
Engineering at Meta
Engineering at Meta

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(scripts): bound gauntlet QA summaries · openclaw/open...
vincentkoc · 2026-06-16 · via Recent Commits to openclaw:main

@@ -846,6 +846,36 @@ setInterval(() => {}, 1000);

846846

await expect(fs.stat(summary.isolatedRunRoot)).rejects.toHaveProperty("code", "ENOENT");

847847

});

848848849+

it("does not parse QA summary limit env when QA is skipped", () => {

850+

const outputDir = path.join(repoRoot, "artifacts");

851+

const result = spawnSync(

852+

process.execPath,

853+

[

854+

path.resolve("scripts/check-plugin-gateway-gauntlet.mjs"),

855+

"--repo-root",

856+

repoRoot,

857+

"--output-dir",

858+

outputDir,

859+

"--skip-prebuild",

860+

"--skip-lifecycle",

861+

"--skip-slash-help",

862+

"--skip-qa",

863+

"--allow-empty",

864+

],

865+

{

866+

cwd: path.resolve("."),

867+

encoding: "utf8",

868+

env: {

869+

...process.env,

870+

OPENCLAW_PLUGIN_GATEWAY_GAUNTLET_QA_SUMMARY_MAX_BYTES: "not-a-number",

871+

},

872+

},

873+

);

874+875+

expect(result.status, result.stderr).toBe(0);

876+

expect(result.stdout).toContain("failures=0");

877+

});

878+849879

it("probes plugin-owned slash help while the plugin is installed", async () => {

850880

const outputDir = path.join(repoRoot, "artifacts");

851881

await writeManifest(

@@ -1418,4 +1448,66 @@ setInterval(() => {}, 1000);

14181448

expect(summary.isolatedRunRootPreserved).toBe(true);

14191449

await fs.rm(summary.isolatedRunRoot, { recursive: true, force: true });

14201450

});

1451+1452+

it("fails successful QA chunks that write oversized summary JSON", async () => {

1453+

const outputDir = path.join(repoRoot, "artifacts");

1454+

await writeManifest("alpha", "openclaw.plugin.json", JSON.stringify({ id: "alpha" }));

1455+

await fs.writeFile(path.join(repoRoot, "extensions", "alpha", "index.ts"), "export {};\n");

1456+

await fs.mkdir(path.join(repoRoot, "scripts"), { recursive: true });

1457+

await fs.writeFile(

1458+

path.join(repoRoot, "scripts", "run-node.mjs"),

1459+

[

1460+

'import fs from "node:fs";',

1461+

'import path from "node:path";',

1462+

'const outputArgIndex = process.argv.indexOf("--output-dir");',

1463+

"const outputDir = path.resolve(process.cwd(), process.argv[outputArgIndex + 1]);",

1464+

"fs.mkdirSync(outputDir, { recursive: true });",

1465+

'fs.writeFileSync(path.join(outputDir, "qa-suite-summary.json"), JSON.stringify({ filler: "x".repeat(128) }), "utf8");',

1466+

].join("\n"),

1467+

"utf8",

1468+

);

1469+1470+

const result = spawnSync(

1471+

process.execPath,

1472+

[

1473+

path.resolve("scripts/check-plugin-gateway-gauntlet.mjs"),

1474+

"--repo-root",

1475+

repoRoot,

1476+

"--output-dir",

1477+

outputDir,

1478+

"--skip-prebuild",

1479+

"--skip-lifecycle",

1480+

"--skip-slash-help",

1481+

"--plugin",

1482+

"alpha",

1483+

"--qa-scenario",

1484+

"channel-chat-baseline",

1485+

],

1486+

{

1487+

cwd: path.resolve("."),

1488+

encoding: "utf8",

1489+

env: {

1490+

...process.env,

1491+

OPENCLAW_PLUGIN_GATEWAY_GAUNTLET_QA_SUMMARY_MAX_BYTES: "64",

1492+

},

1493+

},

1494+

);

1495+1496+

expect(result.status, result.stdout).toBe(1);

1497+

expect(result.stdout).toContain("diagnostic=qa-summary-invalid");

1498+

const summary = JSON.parse(

1499+

await fs.readFile(path.join(outputDir, "plugin-gateway-gauntlet-summary.json"), "utf8"),

1500+

);

1501+

expect(summary.failures).toEqual([

1502+

expect.objectContaining({

1503+

diagnosticDetail: expect.stringContaining("QA suite summary exceeded 64 bytes"),

1504+

diagnosticFailure: "qa-summary-invalid",

1505+

phase: "qa:rpc",

1506+

pluginId: "alpha",

1507+

status: 0,

1508+

}),

1509+

]);

1510+

expect(summary.isolatedRunRootPreserved).toBe(true);

1511+

await fs.rm(summary.isolatedRunRoot, { recursive: true, force: true });

1512+

});

14211513

});