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

推荐订阅源

P
Proofpoint News Feed
U
Unit 42
V
Visual Studio Blog
D
DataBreaches.Net
F
Fortinet All Blogs
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss
GbyAI
GbyAI
博客园 - 叶小钗
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
MongoDB | Blog
MongoDB | Blog
The Cloudflare Blog
云风的 BLOG
云风的 BLOG
D
Docker
G
Google Developers Blog
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
S
SegmentFault 最新的问题

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(e2e): validate fixture log limits · openclaw/openclaw...
vincentkoc · 2026-06-19 · via Recent Commits to openclaw:main

@@ -500,6 +500,52 @@ test -d "$OPENCLAW_PLUGINS_TMP_DIR"

500500

}

501501

});

502502503+

it("rejects invalid plugin fixture log byte limits before npm fixture setup", () => {

504+

const root = mkdtempSync(path.join(tmpdir(), "openclaw-plugin-npm-fixture-log-invalid-"));

505+

try {

506+

const binDir = path.join(root, "bin");

507+

const fixtureDir = path.join(root, "fixture");

508+

mkdirSync(binDir, { recursive: true });

509+

mkdirSync(fixtureDir);

510+

writeFileSync(

511+

path.join(binDir, "node"),

512+

"#!/bin/bash\necho node should not run >&2\nexit 1\n",

513+

);

514+

chmodSync(path.join(binDir, "node"), 0o755);

515+516+

const result = spawnSync(

517+

"/bin/bash",

518+

[

519+

"-c",

520+

[

521+

"set -euo pipefail",

522+

"source scripts/e2e/lib/plugins/fixtures.sh",

523+

"set +e",

524+

`start_npm_fixture_registry fixture-pkg 1.0.0 ${shellQuote(path.join(root, "fixture.tgz"))} ${shellQuote(fixtureDir)}`,

525+

'status="$?"',

526+

"set -e",

527+

'exit "$status"',

528+

].join("\n"),

529+

],

530+

{

531+

cwd: process.cwd(),

532+

encoding: "utf8",

533+

env: {

534+

...process.env,

535+

OPENCLAW_DOCKER_E2E_LOG_PRINT_BYTES: "64kb",

536+

PATH: `${binDir}${path.delimiter}/usr/bin${path.delimiter}/bin`,

537+

},

538+

},

539+

);

540+541+

expect(result.status).toBe(2);

542+

expect(result.stderr).toContain("invalid OPENCLAW_DOCKER_E2E_LOG_PRINT_BYTES: 64kb");

543+

expect(result.stderr).not.toContain("node should not run");

544+

} finally {

545+

rmSync(root, { force: true, recursive: true });

546+

}

547+

});

548+503549

it("cleans ClawHub fixture children when readiness times out", () => {

504550

const root = mkdtempSync(path.join(tmpdir(), "openclaw-plugin-clawhub-fixture-cleanup-"));

505551

try {

@@ -548,6 +594,55 @@ test -d "$OPENCLAW_PLUGINS_TMP_DIR"

548594

}

549595

});

550596597+

it("rejects invalid plugin fixture log byte limits before ClawHub fixture setup", () => {

598+

const root = mkdtempSync(path.join(tmpdir(), "openclaw-plugin-clawhub-fixture-log-invalid-"));

599+

try {

600+

const binDir = path.join(root, "bin");

601+

const tmpDir = path.join(root, "scratch");

602+

mkdirSync(binDir, { recursive: true });

603+

mkdirSync(tmpDir);

604+

writeFileSync(

605+

path.join(binDir, "node"),

606+

"#!/bin/bash\necho node should not run >&2\nexit 1\n",

607+

);

608+

chmodSync(path.join(binDir, "node"), 0o755);

609+610+

const result = spawnSync(

611+

"/bin/bash",

612+

[

613+

"-c",

614+

[

615+

"set -euo pipefail",

616+

"source scripts/e2e/lib/plugins/fixtures.sh",

617+

"source scripts/e2e/lib/plugins/clawhub.sh",

618+

"set +e",

619+

"run_plugins_clawhub_scenario",

620+

'status="$?"',

621+

"set -e",

622+

'exit "$status"',

623+

].join("\n"),

624+

],

625+

{

626+

cwd: process.cwd(),

627+

encoding: "utf8",

628+

env: {

629+

...process.env,

630+

OPENCLAW_DOCKER_E2E_LOG_PRINT_BYTES: "64kb",

631+

OPENCLAW_PLUGINS_E2E_LIVE_CLAWHUB: "0",

632+

OPENCLAW_PLUGINS_TMP_DIR: tmpDir,

633+

PATH: `${binDir}${path.delimiter}/usr/bin${path.delimiter}/bin`,

634+

},

635+

},

636+

);

637+638+

expect(result.status).toBe(2);

639+

expect(result.stderr).toContain("invalid OPENCLAW_DOCKER_E2E_LOG_PRINT_BYTES: 64kb");

640+

expect(result.stderr).not.toContain("node should not run");

641+

} finally {

642+

rmSync(root, { force: true, recursive: true });

643+

}

644+

});

645+551646

it("bounds ClawHub fixture server logs when readiness fails", () => {

552647

const root = mkdtempSync(path.join(tmpdir(), "openclaw-plugin-clawhub-fixture-log-"));

553648

try {