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

推荐订阅源

博客园_首页
博客园 - Franky
大猫的无限游戏
大猫的无限游戏
博客园 - 三生石上(FineUI控件)
量子位
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
V
Visual Studio Blog
雷峰网
雷峰网
T
Tailwind CSS Blog
宝玉的分享
宝玉的分享
Blog — PlanetScale
Blog — PlanetScale
有赞技术团队
有赞技术团队
博客园 - 叶小钗
Microsoft Azure Blog
Microsoft Azure Blog
T
The Blog of Author Tim Ferriss
U
Unit 42
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
Y
Y Combinator Blog

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): route doctor switch commands through timeout he...
vincentkoc · 2026-05-27 · via Recent Commits to openclaw:main

@@ -135,7 +135,7 @@ run_flow() {

135135

openclaw_test_state_create "switch-${name}" empty

136136

export USER="testuser"

137137138-

if ! timeout "$command_timeout" bash -c "$install_cmd" >"$install_log" 2>&1; then

138+

if ! openclaw_e2e_maybe_timeout "$command_timeout" bash -c "$install_cmd" >"$install_log" 2>&1; then

139139

cat "$install_log"

140140

exit 1

141141

fi

@@ -149,7 +149,7 @@ run_flow() {

149149

fi

150150

assert_entrypoint "$unit_path" "$install_expected"

151151152-

if ! timeout "$command_timeout" bash -c "$doctor_cmd" >"$doctor_log" 2>&1; then

152+

if ! openclaw_e2e_maybe_timeout "$command_timeout" bash -c "$doctor_cmd" >"$doctor_log" 2>&1; then

153153

cat "$doctor_log"

154154

exit 1

155155

fi

@@ -182,7 +182,7 @@ run_proxy_env_flow() {

182182

export USER="testuser"

183183184184

unit_path="$HOME/.config/systemd/user/openclaw-gateway.service"

185-

if ! timeout "$command_timeout" env \

185+

if ! openclaw_e2e_maybe_timeout "$command_timeout" env \

186186

HTTP_PROXY="http://proxy.local:7890" \

187187

HTTPS_PROXY="https://proxy.local:7890" \

188188

NO_PROXY="localhost,127.0.0.1" \

@@ -198,7 +198,7 @@ run_proxy_env_flow() {

198198

printf "%s\n" "Environment=HTTP_PROXY=http://stale-proxy.local:7890"

199199

printf "%s\n" "Environment=HTTPS_PROXY=https://stale-proxy.local:7890"

200200

} >>"$unit_path"

201-

if ! timeout "$command_timeout" env OPENCLAW_UPDATE_IN_PROGRESS=1 \

201+

if ! openclaw_e2e_maybe_timeout "$command_timeout" env OPENCLAW_UPDATE_IN_PROGRESS=1 \

202202

node "$git_cli" doctor --repair --force --yes --non-interactive >"$doctor_log" 2>&1; then

203203

cat "$doctor_log"

204204

exit 1

@@ -230,15 +230,15 @@ run_wrapper_flow() {

230230231231

local unit_path="$HOME/.config/systemd/user/openclaw-gateway.service"

232232233-

if ! timeout "$command_timeout" "$npm_bin" gateway install --wrapper "$wrapper" --force >"$install_log" 2>&1; then

233+

if ! openclaw_e2e_maybe_timeout "$command_timeout" "$npm_bin" gateway install --wrapper "$wrapper" --force >"$install_log" 2>&1; then

234234

cat "$install_log"

235235

exit 1

236236

fi

237237

assert_exec_arg "$unit_path" 1 "$wrapper"

238238

assert_exec_arg "$unit_path" 2 "gateway"

239239

assert_env_value "$unit_path" "OPENCLAW_WRAPPER" "$wrapper"

240240241-

if ! timeout "$command_timeout" "$npm_bin" gateway install --force >"$reinstall_log" 2>&1; then

241+

if ! openclaw_e2e_maybe_timeout "$command_timeout" "$npm_bin" gateway install --force >"$reinstall_log" 2>&1; then

242242

cat "$reinstall_log"

243243

exit 1

244244

fi

@@ -247,22 +247,22 @@ run_wrapper_flow() {

247247

assert_env_value "$unit_path" "OPENCLAW_WRAPPER" "$wrapper"

248248249249

sed -i "/^Environment=OPENCLAW_WRAPPER=/d" "$unit_path"

250-

if ! timeout "$command_timeout" "$npm_bin" gateway install --wrapper "$wrapper" >"$env_repair_log" 2>&1; then

250+

if ! openclaw_e2e_maybe_timeout "$command_timeout" "$npm_bin" gateway install --wrapper "$wrapper" >"$env_repair_log" 2>&1; then

251251

cat "$env_repair_log"

252252

exit 1

253253

fi

254254

assert_exec_arg "$unit_path" 1 "$wrapper"

255255

assert_env_value "$unit_path" "OPENCLAW_WRAPPER" "$wrapper"

256256257257

sed -i "s#^Environment=OPENCLAW_WRAPPER=.*#Environment=OPENCLAW_WRAPPER=/tmp/stale-openclaw-wrapper#" "$unit_path"

258-

if ! timeout "$command_timeout" "$npm_bin" gateway install --wrapper "$wrapper" >"$env_repair_log" 2>&1; then

258+

if ! openclaw_e2e_maybe_timeout "$command_timeout" "$npm_bin" gateway install --wrapper "$wrapper" >"$env_repair_log" 2>&1; then

259259

cat "$env_repair_log"

260260

exit 1

261261

fi

262262

assert_exec_arg "$unit_path" 1 "$wrapper"

263263

assert_env_value "$unit_path" "OPENCLAW_WRAPPER" "$wrapper"

264264265-

if ! timeout "$command_timeout" node "$git_cli" doctor --repair --force --yes >"$doctor_log" 2>&1; then

265+

if ! openclaw_e2e_maybe_timeout "$command_timeout" node "$git_cli" doctor --repair --force --yes >"$doctor_log" 2>&1; then

266266

cat "$doctor_log"

267267

exit 1

268268

fi

@@ -274,7 +274,7 @@ run_wrapper_flow() {

274274

assert_exec_arg "$unit_path" 1 "$wrapper"

275275

assert_env_value "$unit_path" "OPENCLAW_WRAPPER" "$wrapper"

276276277-

if ! timeout "$command_timeout" env OPENCLAW_WRAPPER= "$npm_bin" gateway install --force >"$clear_log" 2>&1; then

277+

if ! openclaw_e2e_maybe_timeout "$command_timeout" env OPENCLAW_WRAPPER= "$npm_bin" gateway install --force >"$clear_log" 2>&1; then

278278

cat "$clear_log"

279279

exit 1

280280

fi