Skip to content

[Ubuntu 26.04][Sandbox] multi-gateway status omits owning-gateway recovery target #10656

Closed

Description

@lyral-commits

Description

On a multi-gateway host, running status or recovery for a sandbox whose owning gateway is unavailable from a healthy default gateway reports only that the sandbox does not exist. It does not name the recorded owning gateway or the recovery target, so the user cannot tell which gateway must be restored or selected.

Platform scope: Reproduced on Ubuntu 26.04 only; other platforms not yet verified with the same multi-gateway setup.
Regression: Unknown — earlier versions not tested
OpenShell issue: No

Environment

Device:        Ubuntu GPU runner
OS:            Ubuntu 26.04 / Linux 7.0.0-22-generic
Architecture:  x86_64
Node.js:       v22.23.1
npm:           10.9.8
Docker:        Docker Engine 29.6.1
OpenShell CLI: openshell 0.0.106
NemoClaw:      v0.0.116
OpenClaw:      2026.7.1

Steps to Reproduce

  1. Install NemoClaw v0.0.116 on an Ubuntu 26.04 host with Docker.
  2. Register two disposable OpenClaw sandboxes owned by different NemoClaw gateways, for example failure-a on gateway A and healthy-b on gateway B.
  3. Confirm both sandboxes are initially Ready.
  4. Stop or suspend only gateway A, leaving gateway B healthy and selected as the default gateway.
  5. Run: nemoclaw failure-a status
  6. Run: nemoclaw failure-a recover

Expected Result

The commands exit nonzero and report the failure against sandbox failure-a's owning gateway. The diagnostic should name the owning gateway or its port and should not imply that the sandbox is simply unknown to NemoClaw.

Actual Result

The commands exit nonzero, but the output says sandbox failure-a does not exist and only lists the sandbox registered on the healthy default gateway. It omits the owning gateway recovery target for failure-a.

Logs

Expected pattern:
owning gateway name or owning gateway port

Actual output excerpt:
Sandbox 'failure-a' does not exist.

Registered sandboxes: healthy-b
Run 'nemoclaw list' to see all sandboxes.
Sandbox 'failure-a' does not exist.

Registered sandboxes: healthy-b
Run 'nemoclaw list' to see all sandboxes.

Activity

  1. added
    NV QA
    needs: triage
    on Aug 31, 2026
  2. self-assigned this
    on Sep 1, 2026
  3. added
    area: cli
    area: sandbox
    platform: ubuntu
    and removed
    needs: triage
    on Sep 3, 2026
  4. mercl-lau commented on Sep 21, 2026

    @mercl-lau
    Contributor

    Regression reproduced on NemoClaw v0.0.127 during Ubuntu 22 non-sanity validation (DevTest T6258178).

    When the sandbox-owning gateway is stopped, nemoclaw <sandbox> status exits non-zero without identifying the failed owning gateway. Running recovery through the still-healthy default gateway reports only a generic secure-runtime-authority diagnostic and does not identify the actual recovery target. Restoring the owning gateway returns both isolated sandboxes to Ready, confirming the test fixture and host environment were healthy.

    Internal execution evidence: GitLab job 449036816. This comment contains no credentials or private endpoint data.

  5. added a commit that references this issue on Oct 15, 2026
    2aeade5
  6. rsliter commented on Oct 27, 2026

    @rsliter
    Collaborator

    Maintainer review disposition for PR #13134 at c317b24df3b91df3805166a6293b9fcd735f6069: the Advisor's three findings describe a gatewayName that is malformed or conflicts with gatewayPort reaching the new status output. On the public status command, showLegacySandboxStatus calls getPublishedSandbox, which calls findSandboxAcrossGatewayRoots. That enumerates registry rows through listSandboxHitsAcrossGatewayRoots, which calls registryEntryGatewayPort on every row before the status snapshot receives an entry. The binding validator rejects an unrecognized name, including control characters, and a name/port conflict with Cannot safely inspect NemoClaw gateway state; the raw value does not reach Recorded gateway:. The Hermes Portable status branch reads a receipt whose parser rejects control characters, and compares any registry entry to that receipt's gateway authority. Existing negative coverage includes src/lib/state/legacy-port-migration.test.ts for conflicting gateway identity and src/lib/state/registry/cross-port.test.ts for fail-closed registry inspection. This is a disposition of the reported public-path scenario, not a change to the issue's accepted diagnostic outcome.

  7. added a commit that references this issue on Oct 27, 2026
    4aa520a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NV QAarea: cliarea: sandboxplatform: ubuntu

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions