Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
f80407e
fix(onboard): use docker gateway on macOS OpenShell 0.0.37
ericksoa May 12, 2026
19d7a59
test(e2e): prove OpenShell upgrade preserves running agent
ericksoa May 12, 2026
0785611
fix(onboard): repair OpenShell before gateway upgrade
ericksoa May 12, 2026
a24a0c8
test(e2e): start OpenShell upgrade from real 0.36 CLI
ericksoa May 12, 2026
827e24a
test(e2e): seed upgrade sandbox with docker-driver harness
ericksoa May 12, 2026
db59075
test(e2e): upgrade from real NemoClaw 0.0.36 install
ericksoa May 12, 2026
323258b
test(e2e): use old curl installer for OpenShell upgrade
ericksoa May 12, 2026
186b8ce
test(e2e): avoid multiline exec for old OpenShell
ericksoa May 12, 2026
9a252f5
fix(onboard): retire legacy gateway before docker-driver upgrade
ericksoa May 12, 2026
ee54a42
fix(installer): preserve state across OpenShell gateway upgrade
ericksoa May 12, 2026
02451f8
test(e2e): describe OpenShell upgrade restore gate
ericksoa May 12, 2026
1ade44b
fix(onboard): use OpenShell VM gateway on macOS
ericksoa May 12, 2026
514a9ee
Merge remote-tracking branch 'origin/main' into fix/darwin-openshell-…
ericksoa May 12, 2026
4abb7f5
test(onboard): stabilize Darwin gateway repair checks
ericksoa May 12, 2026
75ac0e2
test(e2e): apply gateway upgrade shell formatting
ericksoa May 12, 2026
bc375a8
fix(installer): upgrade active OpenShell path
ericksoa May 12, 2026
31b92ec
fix(installer): gate legacy OpenShell upgrade
ericksoa May 12, 2026
cc49148
fix(installer): require backup support for gateway upgrade
ericksoa May 12, 2026
68a1882
fix(installer): make gateway upgrade wording agent-neutral
ericksoa May 12, 2026
06c315b
fix(onboard): preserve sandbox create diagnostics
ericksoa May 12, 2026
21a9c2c
fix(onboard): repair macos openshell vm upgrade
ericksoa May 12, 2026
6024aee
test(e2e): fix openshell upgrade shellcheck
ericksoa May 12, 2026
31b362d
Merge remote-tracking branch 'origin/main' into fix/darwin-openshell-…
ericksoa May 12, 2026
698ae05
Merge remote-tracking branch 'origin/main' into fix/darwin-openshell-…
ericksoa May 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/nightly-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
# sandbox-survival-e2e Sandbox survival across gateway restarts (onboard, inference,
# gateway stop/start, verify sandbox + workspace + inference).
# openshell-gateway-upgrade-e2e
# Validates stale Linux Docker-driver OpenShell gateway
# processes are restarted after an OpenShell upgrade.
# Validates old OpenShell install upgrade, stale gateway
# restart, and same running agent survival.
# gateway-health-honest-e2e
# Coverage guard for #3111: onboard must not log
# "Docker-driver gateway is healthy" when the gateway
Expand Down Expand Up @@ -1257,9 +1257,9 @@ jobs:
if-no-files-found: ignore

# ── OpenShell gateway upgrade E2E ────────────────────────────
# Reproduces the old-install upgrade edge case for Linux Docker-driver
# gateways: a healthy gateway process with stale supervisor/runtime env must
# be restarted rather than reused after the current OpenShell install.
# Reproduces the old-install upgrade edge case: a working claw on the previous
# OpenShell must run through current install/onboard, restart the stale
# Docker-driver gateway, and keep the same in-sandbox agent process alive.
openshell-gateway-upgrade-e2e:
if: >-
github.repository == 'NVIDIA/NemoClaw' &&
Expand Down Expand Up @@ -1291,6 +1291,7 @@ jobs:
name: openshell-gateway-upgrade-logs
path: |
/tmp/nemoclaw-e2e-openshell-gateway-upgrade.log
/tmp/nemoclaw-e2e-openshell-gateway-install.log
/tmp/nemoclaw-e2e-openshell-gateway-start.log
/tmp/nemoclaw-e2e-openshell-gateway-process.log
if-no-files-found: ignore
Expand Down
60 changes: 40 additions & 20 deletions scripts/install-openshell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,18 @@ version_gte() {
return 0
}

linux_driver_bins_present() {
if [ "$OS" != "Linux" ]; then
return 0
fi
command -v openshell-gateway >/dev/null 2>&1 && command -v openshell-sandbox >/dev/null 2>&1
required_driver_bins_present() {
case "$OS" in
Linux)
command -v openshell-gateway >/dev/null 2>&1 && command -v openshell-sandbox >/dev/null 2>&1
;;
Darwin)
command -v openshell-gateway >/dev/null 2>&1
;;
*)
return 0
;;
esac
}

if command -v openshell >/dev/null 2>&1; then
Expand All @@ -97,7 +104,7 @@ if command -v openshell >/dev/null 2>&1; then
if ! version_gte "$MAX_VERSION" "$INSTALLED_VERSION"; then
fail "openshell $INSTALLED_VERSION is above the maximum ($MAX_VERSION) supported by this NemoClaw release. Upgrade NemoClaw first."
fi
if ! linux_driver_bins_present; then
if ! required_driver_bins_present; then
warn "openshell $INSTALLED_VERSION is missing Docker-driver binaries — reinstalling pinned OpenShell ${PIN_VERSION}..."
else
info "openshell already installed: $INSTALLED_VERSION (>= $MIN_VERSION, <= $MAX_VERSION)"
Expand Down Expand Up @@ -128,20 +135,33 @@ esac

declare -a ASSETS=("$ASSET")
declare -a CHECKSUM_FILES=("openshell-checksums-sha256.txt")
if [ "$OS" = "Linux" ]; then
case "$ARCH_LABEL" in
x86_64)
ASSETS+=("openshell-gateway-x86_64-unknown-linux-gnu.tar.gz")
ASSETS+=("openshell-sandbox-x86_64-unknown-linux-gnu.tar.gz")
;;
aarch64)
ASSETS+=("openshell-gateway-aarch64-unknown-linux-gnu.tar.gz")
ASSETS+=("openshell-sandbox-aarch64-unknown-linux-gnu.tar.gz")
;;
esac
CHECKSUM_FILES+=("openshell-gateway-checksums-sha256.txt")
CHECKSUM_FILES+=("openshell-sandbox-checksums-sha256.txt")
fi
case "$OS" in
Darwin)
case "$ARCH_LABEL" in
aarch64)
ASSETS+=("openshell-gateway-aarch64-apple-darwin.tar.gz")
CHECKSUM_FILES+=("openshell-gateway-checksums-sha256.txt")
;;
x86_64)
fail "OpenShell ${PIN_VERSION} does not publish a macOS x86_64 Docker-driver gateway asset."
;;
esac
;;
Linux)
case "$ARCH_LABEL" in
x86_64)
ASSETS+=("openshell-gateway-x86_64-unknown-linux-gnu.tar.gz")
ASSETS+=("openshell-sandbox-x86_64-unknown-linux-gnu.tar.gz")
;;
aarch64)
ASSETS+=("openshell-gateway-aarch64-unknown-linux-gnu.tar.gz")
ASSETS+=("openshell-sandbox-aarch64-unknown-linux-gnu.tar.gz")
;;
esac
CHECKSUM_FILES+=("openshell-gateway-checksums-sha256.txt")
CHECKSUM_FILES+=("openshell-sandbox-checksums-sha256.txt")
;;
esac

tmpdir="$(mktemp -d)"
trap 'rm -rf "$tmpdir"' EXIT
Expand Down
Loading
Loading