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

推荐订阅源

云风的 BLOG
云风的 BLOG
The GitHub Blog
The GitHub Blog
A
About on SuperTechFans
P
Proofpoint News Feed
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
IT之家
IT之家
Microsoft Security Blog
Microsoft Security Blog
F
Fortinet All Blogs
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
C
Check Point Blog
Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
月光博客
月光博客
美团技术团队
D
Docker
博客园 - Franky
Y
Y Combinator Blog
大猫的无限游戏
大猫的无限游戏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 【当耐特】
罗磊的独立博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报

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(release): serialize live OpenAI Docker lanes · opencl...
steipete · 2026-05-10 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -97,7 +97,10 @@ function writeOpenWebUiConfig([openaiApiKey]) {

9797

value: (process.env.OPENAI_BASE_URL || "https://api.openai.com/v1").trim(),

9898

},

9999

{ path: "models.providers.openai.models", value: [] },

100-

{ path: "models.providers.openai.timeoutSeconds", value: 600 },

100+

{

101+

path: "models.providers.openai.timeoutSeconds",

102+

value: Number.parseInt(process.env.OPENCLAW_OPENWEBUI_PROVIDER_TIMEOUT_SECONDS ?? "900", 10),

103+

},

101104

{ path: "models.providers.openai.agentRuntime", value: { id: "pi" } },

102105

{ path: "gateway.controlUi.enabled", value: false },

103106

{ path: "gateway.mode", value: "local" },

Original file line numberDiff line numberDiff line change

@@ -3,6 +3,10 @@ import path from "node:path";

33
44

const command = process.argv[2];

55

const readJson = (file) => JSON.parse(fs.readFileSync(file, "utf8"));

6+

const agentTurnTimeoutSeconds = Number.parseInt(

7+

process.env.OPENCLAW_LIVE_PLUGIN_TOOL_TIMEOUT_SECONDS ?? "900",

8+

10,

9+

);

610
711

function requireEnv(name) {

812

const value = process.env[name];

@@ -146,7 +150,7 @@ function configure() {

146150

baseUrl: (process.env.OPENAI_BASE_URL || "https://api.openai.com/v1").trim(),

147151

apiKey: { source: "env", provider: "default", id: "OPENAI_API_KEY" },

148152

agentRuntime: { id: "pi" },

149-

timeoutSeconds: 600,

153+

timeoutSeconds: agentTurnTimeoutSeconds,

150154

models: [

151155

{

152156

id: modelId,

@@ -178,7 +182,7 @@ function configure() {

178182

},

179183

workspace: path.join(stateDir(), "workspace"),

180184

skipBootstrap: true,

181-

timeoutSeconds: 720,

185+

timeoutSeconds: agentTurnTimeoutSeconds,

182186

},

183187

};

184188

writeJson(cfgPath, cfg);

Original file line numberDiff line numberDiff line change

@@ -11,6 +11,7 @@ IMAGE_NAME="$(docker_e2e_resolve_image "openclaw-live-plugin-tool-e2e" OPENCLAW_

1111

DOCKER_TARGET="${OPENCLAW_LIVE_PLUGIN_TOOL_DOCKER_TARGET:-bare}"

1212

HOST_BUILD="${OPENCLAW_LIVE_PLUGIN_TOOL_HOST_BUILD:-1}"

1313

PACKAGE_TGZ="${OPENCLAW_CURRENT_PACKAGE_TGZ:-}"

14+

AGENT_TURN_TIMEOUT_SECONDS="${OPENCLAW_LIVE_PLUGIN_TOOL_TIMEOUT_SECONDS:-900}"

1415

PROFILE_FILE="${OPENCLAW_LIVE_PLUGIN_TOOL_PROFILE_FILE:-${OPENCLAW_TESTBOX_PROFILE_FILE:-$HOME/.openclaw-testbox-live.profile}}"

1516

if [ ! -f "$PROFILE_FILE" ] && [ -f "$HOME/.profile" ]; then

1617

PROFILE_FILE="$HOME/.profile"

@@ -54,6 +55,7 @@ if ! docker_e2e_run_with_harness \

5455

-e OPENAI_API_KEY \

5556

-e OPENAI_BASE_URL \

5657

-e OPENCLAW_LIVE_PLUGIN_TOOL_MODEL="${OPENCLAW_LIVE_PLUGIN_TOOL_MODEL:-openai/gpt-5.4-mini}" \

58+

-e "OPENCLAW_LIVE_PLUGIN_TOOL_TIMEOUT_SECONDS=$AGENT_TURN_TIMEOUT_SECONDS" \

5759

-e "OPENCLAW_TEST_STATE_SCRIPT_B64=$OPENCLAW_TEST_STATE_SCRIPT_B64" \

5860

"${DOCKER_E2E_PACKAGE_ARGS[@]}" \

5961

"${PROFILE_MOUNT[@]}" \

@@ -138,7 +140,7 @@ openclaw agent --local \

138140

--model "$MODEL_REF" \

139141

--message "Call the tool named ${TOOL_NAME}. Reply with only the exact text returned by that tool. Do not compute, transform, or explain it." \

140142

--thinking off \

141-

--timeout 720 \

143+

--timeout "${OPENCLAW_LIVE_PLUGIN_TOOL_TIMEOUT_SECONDS:-900}" \

142144

--json >/tmp/openclaw-agent.json 2>/tmp/openclaw-agent.err

143145
144146

node scripts/e2e/lib/live-plugin-tool/assertions.mjs assert-agent-turn

Original file line numberDiff line numberDiff line change

@@ -23,6 +23,8 @@ GW_NAME="openclaw-openwebui-gateway-$$"

2323

OW_NAME="openclaw-openwebui-$$"

2424

DOCKER_COMMAND_TIMEOUT="${OPENCLAW_OPENWEBUI_DOCKER_COMMAND_TIMEOUT:-600s}"

2525

DOCKER_PULL_TIMEOUT="${OPENCLAW_OPENWEBUI_DOCKER_PULL_TIMEOUT:-600s}"

26+

PROVIDER_TIMEOUT_SECONDS="${OPENCLAW_OPENWEBUI_PROVIDER_TIMEOUT_SECONDS:-900}"

27+

PROBE_FETCH_TIMEOUT_MS="${OPENCLAW_OPENWEBUI_FETCH_TIMEOUT_MS:-$((PROVIDER_TIMEOUT_SECONDS * 1000 + 60000))}"

2628
2729

PROFILE_FILE="${OPENCLAW_TESTBOX_PROFILE_FILE:-$HOME/.openclaw-testbox-live.profile}"

2830

if [[ -f "$PROFILE_FILE" && -r "$PROFILE_FILE" ]]; then

@@ -73,6 +75,7 @@ docker_e2e_docker_cmd run -d \

7375

-e "OPENCLAW_SKIP_GMAIL_WATCHER=1" \

7476

-e "OPENCLAW_SKIP_CRON=1" \

7577

-e "OPENCLAW_SKIP_CANVAS_HOST=1" \

78+

-e "OPENCLAW_OPENWEBUI_PROVIDER_TIMEOUT_SECONDS=$PROVIDER_TIMEOUT_SECONDS" \

7679

-e OPENAI_API_KEY \

7780

${OPENAI_BASE_URL_VALUE:+-e OPENAI_BASE_URL} \

7881

"$IMAGE_NAME" \

@@ -148,6 +151,7 @@ if ! docker_e2e_docker_cmd exec \

148151

-e "OPENWEBUI_PROMPT=$PROMPT" \

149152

-e "OPENWEBUI_MODEL_ATTEMPTS=72" \

150153

-e "OPENWEBUI_MODEL_RETRY_MS=5000" \

154+

-e "OPENWEBUI_FETCH_TIMEOUT_MS=$PROBE_FETCH_TIMEOUT_MS" \

151155

"$GW_NAME" \

152156

node /app/scripts/e2e/openwebui-probe.mjs >/tmp/openwebui-probe.log 2>&1; then

153157

cat /tmp/openwebui-probe.log 2>/dev/null || true

Original file line numberDiff line numberDiff line change

@@ -25,6 +25,7 @@ export const DEFAULT_RESOURCE_LIMITS = {

2525

"live:droid": 4,

2626

"live:gemini": 4,

2727

"live:opencode": 4,

28+

"live:openai": 1,

2829

npm: 10,

2930

service: 7,

3031

};

Original file line numberDiff line numberDiff line change

@@ -1,4 +1,5 @@

11

import { describe, expect, it } from "vitest";

2+

import { DEFAULT_RESOURCE_LIMITS } from "../../scripts/lib/docker-e2e-plan.mjs";

23

import {

34

canStartSchedulerLane,

45

describeDockerSchedulerLimits,

@@ -160,6 +161,10 @@ describe("scripts/test-docker-all scheduler", () => {

160161

).toBe(false);

161162

});

162163
164+

it("serializes live OpenAI Docker lanes by default", () => {

165+

expect(DEFAULT_RESOURCE_LIMITS["live:openai"]).toBe(1);

166+

});

167+
163168

it("describes effective scheduler limits for operator errors", () => {

164169

expect(describeDockerSchedulerLimits(2, limits)).toBe(

165170

"parallelism=2 weightLimit=2 resources=docker=2 npm=2",