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

推荐订阅源

aimingoo的专栏
aimingoo的专栏
月光博客
月光博客
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
Last Week in AI
Last Week in AI
The Cloudflare Blog
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
美团技术团队
S
SegmentFault 最新的问题
量子位
大猫的无限游戏
大猫的无限游戏
Recent Announcements
Recent Announcements
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
I
InfoQ
人人都是产品经理
人人都是产品经理
G
Google Developers Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Engineering at Meta
Engineering at Meta

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): bound upgrade survivor logs · openclaw/openclaw...
vincentkoc · 2026-06-07 · via Recent Commits to openclaw:main

@@ -440,13 +440,13 @@ NODE

440440

return 0

441441

fi

442442

if ! kill -0 "$plugin_registry_pid" 2>/dev/null; then

443-

cat "$log_file" >&2 || true

443+

openclaw_e2e_print_log "$log_file" >&2

444444

return 1

445445

fi

446446

sleep 0.1

447447

done

448448449-

cat "$log_file" >&2 || true

449+

openclaw_e2e_print_log "$log_file" >&2

450450

echo "Timed out waiting for configured plugin install npm fixture registry." >&2

451451

return 1

452452

}

@@ -659,7 +659,7 @@ install_baseline() {

659659

echo "Installing baseline package: $baseline_spec"

660660

if ! openclaw_e2e_maybe_timeout "${OPENCLAW_E2E_NPM_INSTALL_TIMEOUT:-600s}" npm install -g --prefix "$npm_config_prefix" "$baseline_spec" --no-fund --no-audit >"$BASELINE_INSTALL_LOG" 2>&1; then

661661

echo "baseline npm install failed" >&2

662-

cat "$BASELINE_INSTALL_LOG" >&2 || true

662+

openclaw_e2e_print_log "$BASELINE_INSTALL_LOG" >&2

663663

return 1

664664

fi

665665

if ! command -v openclaw >/dev/null; then

@@ -713,7 +713,7 @@ apply_baseline_config_recipe() {

713713

validate_baseline_config() {

714714

if ! openclaw_e2e_maybe_timeout "$COMMAND_TIMEOUT" openclaw config validate >"$BASELINE_CONFIG_VALIDATE_LOG" 2>&1; then

715715

echo "generated baseline config failed baseline validation" >&2

716-

cat "$BASELINE_CONFIG_VALIDATE_LOG" >&2 || true

716+

openclaw_e2e_print_log "$BASELINE_CONFIG_VALIDATE_LOG" >&2

717717

return 1

718718

fi

719719

}

863863

install_update_restart_service_unit() {

864864

if ! openclaw_e2e_maybe_timeout "$COMMAND_TIMEOUT" env -u OPENCLAW_GATEWAY_TOKEN -u OPENCLAW_GATEWAY_PASSWORD openclaw gateway install --force --json >"$BASELINE_SERVICE_INSTALL_JSON" 2>"$BASELINE_SERVICE_INSTALL_ERR"; then

865865

echo "baseline gateway service install failed" >&2

866-

cat "$BASELINE_SERVICE_INSTALL_ERR" >&2 || true

867-

cat "$BASELINE_SERVICE_INSTALL_JSON" >&2 || true

866+

openclaw_e2e_print_log "$BASELINE_SERVICE_INSTALL_ERR" >&2

867+

openclaw_e2e_print_log "$BASELINE_SERVICE_INSTALL_JSON" >&2

868868

return 1

869869

fi

870870

}

@@ -1111,8 +1111,8 @@ update_candidate() {

11111111

fi

11121112

if ! openclaw_e2e_maybe_timeout "$COMMAND_TIMEOUT" "${update_env[@]}" openclaw "${update_args[@]}" >"$UPDATE_JSON" 2>"$UPDATE_ERR"; then

11131113

echo "openclaw update failed" >&2

1114-

cat "$UPDATE_ERR" >&2 || true

1115-

cat "$UPDATE_JSON" >&2 || true

1114+

openclaw_e2e_print_log "$UPDATE_ERR" >&2

1115+

openclaw_e2e_print_log "$UPDATE_JSON" >&2

11161116

return 1

11171117

fi

11181118

if [ "$UPDATE_RESTART_MODE" = "auto-auth" ]; then

@@ -1140,15 +1140,15 @@ assert_root_managed_vps_cli_usable() {

11401140

run_doctor() {

11411141

if ! openclaw_e2e_maybe_timeout "$COMMAND_TIMEOUT" openclaw doctor --fix --non-interactive >"$DOCTOR_LOG" 2>&1; then

11421142

echo "openclaw doctor failed" >&2

1143-

cat "$DOCTOR_LOG" >&2 || true

1143+

openclaw_e2e_print_log "$DOCTOR_LOG" >&2

11441144

return 1

11451145

fi

11461146

}

1147114711481148

validate_post_doctor_config() {

11491149

if ! openclaw_e2e_maybe_timeout "$COMMAND_TIMEOUT" openclaw config validate >>"$DOCTOR_LOG" 2>&1; then

11501150

echo "post-doctor config validation failed" >&2

1151-

cat "$DOCTOR_LOG" >&2 || true

1151+

openclaw_e2e_print_log "$DOCTOR_LOG" >&2

11521152

return 1

11531153

fi

11541154

}

@@ -1203,7 +1203,7 @@ start_gateway() {

12031203

start_seconds=$(((ready_epoch - start_epoch + 999) / 1000))

12041204

if [ "$start_seconds" -gt "$budget" ]; then

12051205

echo "gateway startup exceeded survivor budget: ${start_seconds}s > ${budget}s" >&2

1206-

cat "$GATEWAY_LOG" >&2 || true

1206+

openclaw_e2e_print_log "$GATEWAY_LOG" >&2

12071207

return 1

12081208

fi

12091209

}

@@ -1228,15 +1228,15 @@ check_gateway_status() {

12281228

status_start="$(node -e "process.stdout.write(String(Date.now()))")"

12291229

if ! openclaw_e2e_maybe_timeout "$COMMAND_TIMEOUT" openclaw gateway status --url "ws://127.0.0.1:$port" --token "$GATEWAY_AUTH_TOKEN_REF" --require-rpc --timeout 30000 --json >"$STATUS_JSON" 2>"$STATUS_ERR"; then

12301230

echo "gateway status failed" >&2

1231-

cat "$STATUS_ERR" >&2 || true

1232-

cat "$GATEWAY_LOG" >&2 || true

1231+

openclaw_e2e_print_log "$STATUS_ERR" >&2

1232+

openclaw_e2e_print_log "$GATEWAY_LOG" >&2

12331233

return 1

12341234

fi

12351235

status_end="$(node -e "process.stdout.write(String(Date.now()))")"

12361236

status_seconds=$(((status_end - status_start + 999) / 1000))

12371237

if [ "$status_seconds" -gt "$budget" ]; then

12381238

echo "gateway status exceeded survivor budget: ${status_seconds}s > ${budget}s" >&2

1239-

cat "$STATUS_JSON" >&2 || true

1239+

openclaw_e2e_print_log "$STATUS_JSON" >&2

12401240

return 1

12411241

fi

12421242

node scripts/e2e/lib/upgrade-survivor/assertions.mjs assert-status-json "$STATUS_JSON"