diff --git a/.github/workflows/base-image.yaml b/.github/workflows/base-image.yaml index c291070c08..bb35febf70 100644 --- a/.github/workflows/base-image.yaml +++ b/.github/workflows/base-image.yaml @@ -44,7 +44,7 @@ jobs: build-and-push: if: github.repository == 'NVIDIA/NemoClaw' runs-on: ubuntu-latest - timeout-minutes: 45 + timeout-minutes: 15 steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 @@ -94,7 +94,7 @@ jobs: build-and-push-hermes: if: github.repository == 'NVIDIA/NemoClaw' runs-on: ubuntu-latest - timeout-minutes: 45 + timeout-minutes: 15 steps: - name: Checkout uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/Dockerfile b/Dockerfile index 176bc2b023..645ee5d521 100644 --- a/Dockerfile +++ b/Dockerfile @@ -219,10 +219,13 @@ RUN set -eu; \ # \ # Removal criteria: drop when openclaw fixes the underlying connect \ # latency, or exposes the timeout as an unbounded env override. \ - hto_files="$(grep -RIlE --include='*.js' 'DEFAULT_PREAUTH_HANDSHAKE_TIMEOUT_MS = 1e4' "$OC_DIST")"; \ - test -n "$hto_files" || { echo "ERROR: handshake-timeout constant not found" >&2; exit 1; }; \ - printf '%s\n' "$hto_files" | xargs sed -i -E 's|DEFAULT_PREAUTH_HANDSHAKE_TIMEOUT_MS = 1e4|DEFAULT_PREAUTH_HANDSHAKE_TIMEOUT_MS = 6e4|g'; \ - if grep -REq --include='*.js' 'DEFAULT_PREAUTH_HANDSHAKE_TIMEOUT_MS = 1e4' "$OC_DIST"; then echo "ERROR: Patch 5 left a 1e4 constant" >&2; exit 1; fi + hto_files="$(grep -RIlE --include='*.js' 'DEFAULT_PREAUTH_HANDSHAKE_TIMEOUT_MS = 1e4' "$OC_DIST" || true)"; \ + if [ -n "$hto_files" ]; then \ + printf '%s\n' "$hto_files" | xargs sed -i -E 's|DEFAULT_PREAUTH_HANDSHAKE_TIMEOUT_MS = 1e4|DEFAULT_PREAUTH_HANDSHAKE_TIMEOUT_MS = 6e4|g'; \ + if grep -REq --include='*.js' 'DEFAULT_PREAUTH_HANDSHAKE_TIMEOUT_MS = 1e4' "$OC_DIST"; then echo "ERROR: Patch 5 left a 1e4 constant" >&2; exit 1; fi; \ + else \ + echo "INFO: handshake-timeout constant not found; OpenClaw no longer needs Patch 5"; \ + fi # Patch OpenClaw's pinned 2026.4.24 compiled selection runtime to expose a # compact searchable tool catalog to the model while preserving the full