You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
OpenShellSpawner: update for openshell SDK 0.0.111 API changes #170
Similarly, `wait_ready` and `delete` need `workspace` parameter.
Impact
Testing spawn:ephemeral via OpenShell gateway fails — `create` returns `None` instead of a `SandboxRef`.
Discovered during
Testing all three spawn modes (none, local, ephemeral) E2E through lightspeed-stack's harness branch. spawn:none and spawn:local work. spawn:ephemeral works via PodmanSpawner but not via OpenShellSpawner.
Verification against current code: The "Current (fails)" snippet in the issue body does not match the actual code on main. The current code already passes workspace=self._workspace:
Assessment: This fix appears to already be in place. If spawn:ephemeral via OpenShellSpawner is still failing, the root cause is likely something else — possibly self._workspace being unset or the wrong value, or a different SDK 0.0.111 breaking change not covered here. Recommend:
Verify self._workspace is initialized correctly (check __init__ for the default)
Check if SDK 0.0.111 changed other method signatures beyond workspace
If the fix is genuinely already merged, close this issue
OpenShell's SandboxTemplate has no command/entrypoint fields — it uses the image's default CMD. The gateway's supervisor process wraps the container lifecycle and may conflict with catatonit.
Activity
beesarmy commentedon Aug 24, 2026
Triage
Summary: Update OpenShellSpawner API calls for openshell SDK 0.0.111 requiring
workspaceparameter.Affected components:
src/cloud_agents/spawner/openshell_spawner.py— L388-402, L464Verification against current code: The "Current (fails)" snippet in the issue body does not match the actual code on
main. The current code already passesworkspace=self._workspace:self._client.create, workspace=self._workspace, spec=specworkspace=self._workspaceself._client.delete, sandbox_name, workspace=self._workspaceAssessment: This fix appears to already be in place. If spawn:ephemeral via OpenShellSpawner is still failing, the root cause is likely something else — possibly
self._workspacebeing unset or the wrong value, or a different SDK 0.0.111 breaking change not covered here. Recommend:self._workspaceis initialized correctly (check__init__for the default)workspaceRelated issues:
Suggested labels:
area/spawner,needs-investigation🤖 Triaged by beesarmy via Claude Code
Merge pull request #171 from jameswnl/issue-170-openshell-sdk-update
jameswnl commentedon Aug 24, 2026
Post-fix: OpenShell sandbox container crashes on start
PR #171 fixed the SDK API (workspace parameter). But the sandbox container exits with code 1 immediately after creation.
Root cause investigation
The sandbox image (
lightspeed-agentic-sandbox) has:OpenShell's
SandboxTemplatehas nocommand/entrypointfields — it uses the image's default CMD. The gateway's supervisor process wraps the container lifecycle and may conflict withcatatonit.What works vs what doesn't
Next steps
Work continues on
jameswnl/lightspeed-agentic-sandboxfork.