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

推荐订阅源

美团技术团队
N
Netflix TechBlog - Medium
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
J
Java Code Geeks
V
Visual Studio Blog
H
Help Net Security
Engineering at Meta
Engineering at Meta
Hugging Face - Blog
Hugging Face - Blog
Microsoft Security Blog
Microsoft Security Blog
腾讯CDC
博客园 - 【当耐特】
B
Blog
Stack Overflow Blog
Stack Overflow Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
大猫的无限游戏
大猫的无限游戏
GbyAI
GbyAI
博客园 - 司徒正美
博客园 - 叶小钗
Y
Y Combinator Blog
MyScale Blog
MyScale Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
酷 壳 – CoolShell
酷 壳 – CoolShell

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 bundled upgrade limits · openclaw/openc...
vincentkoc · 2026-06-19 · via Recent Commits to openclaw:main

@@ -2261,6 +2261,32 @@ fi

22612261

expect(runner).toContain(

22622262

'openclaw gateway --port "$PORT" --bind loopback --allow-unconfigured',

22632263

);

2264+

expect(runner).toContain(

2265+

'PROBE_TIMEOUT_MS="$(openclaw_e2e_read_nonnegative_int_env OPENCLAW_UPGRADE_SURVIVOR_PROBE_TIMEOUT_MS 60000)"',

2266+

);

2267+

expect(runner).toContain(

2268+

"openclaw_e2e_read_positive_int_env OPENCLAW_UPGRADE_SURVIVOR_PROBE_ATTEMPT_TIMEOUT_MS 5000",

2269+

);

2270+

expect(runner).toContain(

2271+

"openclaw_e2e_read_positive_int_env OPENCLAW_UPGRADE_SURVIVOR_PROBE_MAX_BODY_BYTES 1048576",

2272+

);

2273+

expect(runner).toContain('-e OPENCLAW_UPGRADE_SURVIVOR_PROBE_TIMEOUT_MS="$PROBE_TIMEOUT_MS"');

2274+

expect(runner).toContain(

2275+

'-e OPENCLAW_UPGRADE_SURVIVOR_PROBE_ATTEMPT_TIMEOUT_MS="$PROBE_ATTEMPT_TIMEOUT_MS"',

2276+

);

2277+

expect(runner).toContain(

2278+

'-e OPENCLAW_UPGRADE_SURVIVOR_PROBE_MAX_BODY_BYTES="$PROBE_MAX_BODY_BYTES"',

2279+

);

2280+

expect(runner).toContain("readyz_probe_args=(");

2281+

expect(runner).toContain(

2282+

'readyz_probe_args+=(--allow-failing "$OPENCLAW_UPGRADE_SURVIVOR_READYZ_ALLOW_FAILING")',

2283+

);

2284+

expect(runner).toContain("readyz_probe_args+=(--allow-degraded-ready)");

2285+

expect(runner).toContain(

2286+

'node scripts/e2e/lib/upgrade-survivor/probe-gateway.mjs "${readyz_probe_args[@]}"',

2287+

);

2288+

expect(runner).toContain("OPENCLAW_UPGRADE_SURVIVOR_READYZ_ALLOW_FAILING");

2289+

expect(runner).toContain("OPENCLAW_UPGRADE_SURVIVOR_READYZ_ALLOW_DEGRADED");

2264229022652291

expect(publishedRunner).toContain(

22662292

'COMMAND_TIMEOUT="${OPENCLAW_UPGRADE_SURVIVOR_COMMAND_TIMEOUT:-900s}"',

23162342

it.each([

23172343

["start budget", "OPENCLAW_UPGRADE_SURVIVOR_START_BUDGET_SECONDS", "90s"],

23182344

["status budget", "OPENCLAW_UPGRADE_SURVIVOR_STATUS_BUDGET_SECONDS", "30s"],

2345+

["probe timeout", "OPENCLAW_UPGRADE_SURVIVOR_PROBE_TIMEOUT_MS", "soon"],

2346+

["probe attempt timeout", "OPENCLAW_UPGRADE_SURVIVOR_PROBE_ATTEMPT_TIMEOUT_MS", "0"],

2347+

["probe body cap", "OPENCLAW_UPGRADE_SURVIVOR_PROBE_MAX_BODY_BYTES", "64bytes"],

23192348

])("rejects invalid upgrade survivor Docker %s before Docker setup", (_label, envName, value) => {

23202349

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

23212350

encoding: "utf8",

@@ -3863,6 +3892,30 @@ output="$(cat "$sampler_log")"

38633892

expect(probe + runtimeSmoke, `${envName} consumed by probe/runtime smoke`).toContain(envName);

38643893

}

38653894

expect(runner).toContain("OPENCLAW_PLUGIN_LIFECYCLE_TRACE");

3895+

for (const [envName, fallback] of [

3896+

["OPENCLAW_BUNDLED_PLUGIN_LIST_TIMEOUT_MS", "30000"],

3897+

["OPENCLAW_BUNDLED_PLUGIN_LIST_MAX_BUFFER_BYTES", "4194304"],

3898+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_OUTPUT_CHARS", "1048576"],

3899+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_LOG_SCAN_BYTES", "262144"],

3900+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_GATEWAY_LOG_BYTES", "16777216"],

3901+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_READY_MS", "900000"],

3902+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_RPC_MS", "60000"],

3903+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_RPC_READY_MS", "210000"],

3904+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_WATCHDOG_MS", "1000"],

3905+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_COMMAND_MS", "120000"],

3906+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_HTTP_MS", "5000"],

3907+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_TEARDOWN_GRACE_MS", "10000"],

3908+

["OPENCLAW_BUNDLED_PLUGIN_RUNTIME_TEARDOWN_KILL_GRACE_MS", "1000"],

3909+

] as const) {

3910+

expect(runner, `${envName} host validation`).toContain(

3911+

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

3912+

);

3913+

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

3914+

}

3915+

expect(runner).toContain(

3916+

"docker_e2e_read_tcp_port_env OPENCLAW_BUNDLED_PLUGIN_RUNTIME_PORT_BASE 19000",

3917+

);

3918+

expect(runner).toContain('-e "OPENCLAW_BUNDLED_PLUGIN_RUNTIME_PORT_BASE=$RUNTIME_PORT_BASE"');

38663919

expect(runner).toContain("scripts/e2e/lib/bundled-plugin-install-uninstall/sweep.sh");

38673920

expect(runner).toContain('tee "$RUN_LOG"');

38683921

expect(runner).not.toContain('cat "$RUN_LOG"');

@@ -3883,6 +3936,30 @@ output="$(cat "$sampler_log")"

38833936

expect(sweep).toContain("assert-uninstalled");

38843937

});

388539383939+

it.each([

3940+

["list timeout", "OPENCLAW_BUNDLED_PLUGIN_LIST_TIMEOUT_MS", "100ms"],

3941+

["runtime port base", "OPENCLAW_BUNDLED_PLUGIN_RUNTIME_PORT_BASE", "99999"],

3942+

["runtime log scan", "OPENCLAW_BUNDLED_PLUGIN_RUNTIME_LOG_SCAN_BYTES", "64bytes"],

3943+

["runtime command timeout", "OPENCLAW_BUNDLED_PLUGIN_RUNTIME_COMMAND_MS", "soon"],

3944+

["runtime teardown grace", "OPENCLAW_BUNDLED_PLUGIN_RUNTIME_TEARDOWN_GRACE_MS", "0"],

3945+

])(

3946+

"rejects invalid bundled plugin Docker %s values before Docker setup",

3947+

(_label, envName, value) => {

3948+

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

3949+

encoding: "utf8",

3950+

env: {

3951+

...process.env,

3952+

OPENCLAW_SKIP_DOCKER_BUILD: "1",

3953+

[envName]: value,

3954+

},

3955+

});

3956+3957+

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

3958+

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

3959+

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

3960+

},

3961+

);

3962+38863963

it("passes installer tag env to bash, not curl", () => {

38873964

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

38883965