






















@@ -287,7 +287,8 @@ start_gateway() {
287287 fi
288288 gateway_pid="$!"
289289290- for _ in $(seq 1 240); do
290+ # Cold bundled dependency staging can exceed 60s under 10-way Docker aggregate load.
291+ for _ in $(seq 1 1200); do
291292 if grep -Eq "listening on ws://|\\[gateway\\] ready \\(" "$log_file"; then
292293 return 0
293294 fi
@@ -376,7 +377,7 @@ assert_installed_once() {
376377 local channel="$2"
377378 local dep_path="$3"
378379 local count
379- count="$(grep -c "\\[plugins\\] $channel installed bundled runtime deps:" "$log_file" || true)"
380+ count="$(grep -Ec "\\[plugins\\] $channel installed bundled runtime deps( in [0-9]+ms)?:" "$log_file" || true)"
380381 if [ "$count" -eq 1 ]; then
381382 return 0
382383 fi
@@ -391,7 +392,7 @@ assert_installed_once() {
391392assert_not_installed() {
392393 local log_file="$1"
393394 local channel="$2"
394- if grep -q "\\[plugins\\] $channel installed bundled runtime deps:" "$log_file"; then
395+ if grep -Eq "\\[plugins\\] $channel installed bundled runtime deps( in [0-9]+ms)?:" "$log_file"; then
395396 echo "expected no runtime deps reinstall for $channel" >&2
396397 cat "$log_file" >&2
397398 exit 1
@@ -572,7 +573,8 @@ start_gateway() {
572573 bash "$PORT" "$log_file" &
573574 gateway_pid="$!"
574575575- for _ in $(seq 1 240); do
576+ # Cold bundled dependency staging can exceed 60s under 10-way Docker aggregate load.
577+ for _ in $(seq 1 1200); do
576578 if grep -Eq "listening on ws://|\\[gateway\\] ready \\(" "$log_file"; then
577579 return 0
578580 fi
@@ -1042,7 +1044,7 @@ assert_dep_absent_everywhere telegram grammy "$root"
10421044assert_dep_absent_everywhere slack @slack/web-api "$root"
10431045assert_dep_absent_everywhere discord discord-api-types "$root"
104410461045-if grep -Eq "(used by .*\\b(telegram|slack|discord)\\b|\\[plugins\\] (telegram|slack|discord) installed bundled runtime deps:)" /tmp/openclaw-disabled-config-doctor.log; then
1047+if grep -Eq "(used by .*\\b(telegram|slack|discord)\\b|\\[plugins\\] (telegram|slack|discord) installed bundled runtime deps( in [0-9]+ms)?:)" /tmp/openclaw-disabled-config-doctor.log; then
10461048 echo "doctor installed runtime deps for an explicitly disabled channel/plugin" >&2
10471049 cat /tmp/openclaw-disabled-config-doctor.log >&2
10481050 exit 1
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。