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

推荐订阅源

宝玉的分享
宝玉的分享
小众软件
小众软件
J
Java Code Geeks
I
InfoQ
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
腾讯CDC
L
LangChain Blog
博客园 - 司徒正美
量子位
Y
Y Combinator Blog
C
Check Point Blog
T
Tailwind CSS Blog
D
DataBreaches.Net
Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
F
Fortinet All Blogs
云风的 BLOG
云风的 BLOG
A
About on SuperTechFans
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
大猫的无限游戏
大猫的无限游戏
V
V2EX
阮一峰的网络日志
阮一峰的网络日志

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): forward package assertion limits · openclaw/ope...
vincentkoc · 2026-06-19 · via Recent Commits to openclaw:main

@@ -87,6 +87,7 @@ const RELEASE_UPGRADE_USER_JOURNEY_SCENARIO_PATH =

8787

"scripts/e2e/lib/release-upgrade-user-journey/scenario.sh";

8888

const RELEASE_TYPED_ONBOARDING_SCENARIO_PATH =

8989

"scripts/e2e/lib/release-typed-onboarding/scenario.sh";

90+

const RELEASE_USER_JOURNEY_DOCKER_E2E_PATH = "scripts/e2e/release-user-journey-docker.sh";

9091

const RELEASE_USER_JOURNEY_SCENARIO_PATH = "scripts/e2e/lib/release-user-journey/scenario.sh";

9192

const UPGRADE_SURVIVOR_RUN_SCRIPT = "scripts/e2e/lib/upgrade-survivor/run.sh";

9293

const UPGRADE_SURVIVOR_UPDATE_RESTART_AUTH_PATH =

@@ -2600,6 +2601,95 @@ grep -Fxq preserved "$TMPDIR/caller-fd"

26002601

expect(runner).not.toContain("cat /tmp/openclaw-codex-agent-after-uninstall.err");

26012602

});

260226032604+

it.each([

2605+

[

2606+

"Codex npm plugin live",

2607+

CODEX_NPM_PLUGIN_LIVE_DOCKER_E2E_PATH,

2608+

"OPENCLAW_CODEX_NPM_PLUGIN_ASSERT_MAX_TEXT_FILE_BYTES",

2609+

"64kb",

2610+

],

2611+

[

2612+

"npm onboard channel-agent",

2613+

NPM_ONBOARD_CHANNEL_AGENT_DOCKER_E2E_PATH,

2614+

"OPENCLAW_NPM_ONBOARD_JSON_ARTIFACT_MAX_BYTES",

2615+

"64kb",

2616+

],

2617+

[

2618+

"plugins",

2619+

PLUGINS_DOCKER_E2E_PATH,

2620+

"OPENCLAW_PLUGINS_E2E_CLAWHUB_PREFLIGHT_TIMEOUT_MS",

2621+

"soon",

2622+

],

2623+

[

2624+

"release user journey",

2625+

RELEASE_USER_JOURNEY_DOCKER_E2E_PATH,

2626+

"OPENCLAW_RELEASE_USER_JOURNEY_HTTP_BODY_MAX_BYTES",

2627+

"64kb",

2628+

],

2629+

])(

2630+

"rejects invalid package assertion env before Docker setup for %s",

2631+

(_label, path, envName, value) => {

2632+

const result = spawnSync("bash", [path], {

2633+

encoding: "utf8",

2634+

env: {

2635+

...process.env,

2636+

OPENCLAW_SKIP_DOCKER_BUILD: "1",

2637+

[envName]: value,

2638+

},

2639+

});

2640+2641+

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

2642+

expect(result.stderr).toContain(`invalid ${envName}: ${value}`);

2643+

expect(result.stderr).not.toContain("Docker image not found");

2644+

},

2645+

);

2646+2647+

it("forwards package assertion env limits into Docker runners", () => {

2648+

const expectations = [

2649+

[

2650+

CODEX_NPM_PLUGIN_LIVE_DOCKER_E2E_PATH,

2651+

[

2652+

["OPENCLAW_CODEX_NPM_PLUGIN_ASSERT_MAX_TEXT_FILE_BYTES", "1048576"],

2653+

["OPENCLAW_CODEX_NPM_PLUGIN_ASSERT_MAX_ERROR_TAIL_BYTES", "65536"],

2654+

["OPENCLAW_CODEX_NPM_PLUGIN_ASSERT_MAX_TRANSCRIPT_FILES", "64"],

2655+

["OPENCLAW_CODEX_NPM_PLUGIN_ASSERT_MAX_TRANSCRIPT_WALK_ENTRIES", "4096"],

2656+

["OPENCLAW_CODEX_NPM_PLUGIN_ASSERT_MAX_TRANSCRIPT_SCAN_BYTES", "2097152"],

2657+

],

2658+

],

2659+

[

2660+

NPM_ONBOARD_CHANNEL_AGENT_DOCKER_E2E_PATH,

2661+

[

2662+

["OPENCLAW_NPM_ONBOARD_JSON_ARTIFACT_MAX_BYTES", "1048576"],

2663+

["OPENCLAW_NPM_ONBOARD_STATUS_TEXT_MAX_BYTES", "1048576"],

2664+

],

2665+

],

2666+

[

2667+

PLUGINS_DOCKER_E2E_PATH,

2668+

[

2669+

["OPENCLAW_PLUGINS_E2E_CLAWHUB_PREFLIGHT_BODY_MAX_BYTES", "1048576"],

2670+

["OPENCLAW_PLUGINS_E2E_CLAWHUB_PREFLIGHT_TIMEOUT_MS", "30000"],

2671+

],

2672+

],

2673+

[

2674+

RELEASE_USER_JOURNEY_DOCKER_E2E_PATH,

2675+

[

2676+

["OPENCLAW_RELEASE_USER_JOURNEY_HTTP_TIMEOUT_MS", "5000"],

2677+

["OPENCLAW_RELEASE_USER_JOURNEY_HTTP_BODY_MAX_BYTES", "1048576"],

2678+

],

2679+

],

2680+

] as const;

2681+2682+

for (const [path, envs] of expectations) {

2683+

const runner = readFileSync(path, "utf8");

2684+

for (const [envName, fallback] of envs) {

2685+

expect(runner, `${path} reads ${envName}`).toContain(

2686+

`docker_e2e_read_positive_int_env ${envName} ${fallback}`,

2687+

);

2688+

expect(runner, `${path} forwards ${envName}`).toContain(`-e "${envName}=`);

2689+

}

2690+

}

2691+

});

2692+26032693

it("cleans package-backed onboarding and plugin Docker artifacts on every exit path", () => {

26042694

for (const path of [

26052695

CODEX_ON_DEMAND_DOCKER_E2E_PATH,