fix: TUI and GUI commands fail - workspace routing, UID mismatch, inference route - #43
Merged
LinoyBitan1 merged 2 commits intoAug 25, 2026
Conversation
LinoyBitan1
force-pushed
the
fix/sandbox-deployment-fixes
branch
from
August 24, 2026 08:47
12e5835 to
0674111
Compare
LinoyBitan1
marked this pull request as ready for review
August 24, 2026 08:51
2 tasks
LinoyBitan1
force-pushed
the
fix/sandbox-deployment-fixes
branch
from
August 24, 2026 08:56
0674111 to
6d6f056
Compare
LinoyBitan1
requested review from
mtalvi and
sauagarwa
and removed request for
mtalvi
August 25, 2026 05:20
mtalvi
approved these changes
Aug 25, 2026
mtalvi
left a comment
Collaborator
There was a problem hiding this comment.
LGTM!
Very nice work @LinoyBitan1 !
Yes the issue was testing on a fresh cluster vs an existing one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix three bugs that break all four TUI/GUI commands after a fresh validated-pattern deploy.
Jira: APPENG-6158
What's broken on
mainAfter
./pattern.sh make installandmake openshell-saw-configure-gateway:make nemoclaw-tui SANDBOX_NAME=cuda-sandbox→sandbox not foundmake nemoclaw-gui SANDBOX_NAME=cuda-sandbox→Could not extract dashboard tokenmake openclaw-tui SANDBOX_NAME=notebook→Unsafe fallback OpenClaw temp dirmake openclaw-gui SANDBOX_NAME=notebook→Could not extract tokenFixes
1. Workspace routing —
nemoclaw-tui,nemoclaw-gui, andopenshell-saw-gui.shpass--workspacetosandbox listbut not tossh-proxyorsandbox exec. The proxy defaults to workspacedefaultand can't findcuda-sandboxincuda-dev. Fixed by adding--workspaceto all connection commands.2. UID mismatch — The
openclaw-openshellimage owns/sandboxas UID 65532. The supervisor assigns a dynamic UID at runtime (1000, 998, …). OpenClawfs-saferequires the temp dir to be owned by the running user — the mismatch crashes it. Fixed by runningdocker exec -u 0 chown -R sandbox:sandbox /sandboxafter the sandbox reaches Ready.3. Inference 503 —
apply_bom.pycallsopenshell inference setwithout--workspace(so onlydefaultgets a route) and without--system(soinference.localhas no backend). Fixed by passing--workspaceon the user route and--systemon the system route.Changes
Makefile-quickstart—--workspaceonssh-proxyinnemoclaw-tui; passWORKSPACEto GUI scriptopenshell-saw-gui.sh—--workspaceonsandbox exec,ssh-proxy, and SSH hostnameapply_bom.py—chown_sandbox_home()after sandbox Ready;--workspaceand--systemon inference setREADME.md—WORKSPACE=cuda-devon NemoClaw commands;sandbox list --workspace cuda-devVerification (fresh deploy)
make nemoclaw-tui SANDBOX_NAME=cuda-sandbox WORKSPACE=cuda-dev— connects, inference respondsmake openclaw-tui SANDBOX_NAME=notebook— starts without UID crashmake nemoclaw-gui SANDBOX_NAME=cuda-sandbox WORKSPACE=cuda-dev GUI_PORT=18789— worksmake openclaw-gui SANDBOX_NAME=notebook GUI_PORT=18790— works