From e86399c09d6472d95504aad07968113e4eb1ef3d Mon Sep 17 00:00:00 2001 From: Julie Yaunches Date: Wed, 20 May 2026 16:52:43 -0400 Subject: [PATCH 1/2] Revert "ci(images): extend base image build timeout (#3881)" This reverts commit 3a473cf06afc9baa88cc8c13195f8fc38784d8ae. Signed-off-by: Julie Yaunches --- .github/workflows/base-image.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 From 2ca60b1040b824568ec718a23fb998294dad38df Mon Sep 17 00:00:00 2001 From: Julie Yaunches Date: Wed, 20 May 2026 17:25:52 -0400 Subject: [PATCH 2/2] fix(docker): tolerate removed OpenClaw timeout constant OpenClaw 2026.5.18 no longer exposes DEFAULT_PREAUTH_HANDSHAKE_TIMEOUT_MS, so the Dockerfile patch should skip Patch 5 instead of failing the sandbox image build. --- Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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