openclaw/scripts/docker
LZY3538 45f36640dc
fix(docker): bound smoke installer curl with connect timeout (#109698)
* fix(docker): bound smoke installer curl with connect timeout

Add --connect-timeout 30 and --max-time 300 to the direct installer
one-liner curl in the smoke test runner. The run_installer_for_package_spec
function is already bounded by timeout(1), but this direct invocation had
no curl-level or wrapper-level timeout.

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(docker): wrap complete installer pipeline in timeout, not just curl

Replace the stand-alone curl timeout flags on the direct installer one-liner
with a timeout(1) wrapper around the entire curl|bash pipeline, matching the
run_installer_for_package_spec pattern. This bounds the complete pipeline
(download + install) rather than just the network transfer.

The curl-level --connect-timeout 30 and --max-time 300 are retained as
defence-in-depth inside the timeout wrapper.

Co-Authored-By: Claude <noreply@anthropic.com>

* refactor: centralize installer smoke pipeline bounds

Co-authored-by: LZY3538 <liu.zhenye@xydigit.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-17 10:20:40 +01:00
..
cleanup-smoke fix(e2e): give cleanup smoke build heap headroom 2026-06-19 01:50:54 +02:00
install-sh-common
install-sh-e2e fix(e2e): bound official installer download (#108937) 2026-07-16 05:26:00 -07:00
install-sh-nonroot fix(ci): bound non-root NodeSource setup download (#108911) 2026-07-16 04:08:47 -07:00
install-sh-smoke fix(docker): bound smoke installer curl with connect timeout (#109698) 2026-07-17 10:20:40 +01:00
sandbox fix(sandbox): bound common installer downloads (#108805) 2026-07-16 03:18:02 -07:00
setup.sh fix(docker): keep setup chown from following symlinks (#107847) 2026-07-16 00:55:54 -07:00
shared-image-artifact.sh fix(release): make validation proof no-write (#103737) 2026-07-10 08:18:44 -07:00