Skip to content

[codex] add OpenSandbox execution runtime#3

Draft
jonaswre wants to merge 8 commits into
mainfrom
feat/opensandbox-runtime
Draft

[codex] add OpenSandbox execution runtime#3
jonaswre wants to merge 8 commits into
mainfrom
feat/opensandbox-runtime

Conversation

@jonaswre

Copy link
Copy Markdown
Owner

Summary

Adds a repo-authored OpenSandbox execution runtime for Pilot while preserving the existing host runtime behavior.

This PR includes:

  • .pilot/environment.yaml parsing and validation
  • global runtime config with host and opensandbox providers
  • OpenSandbox lifecycle and Execd command client
  • sandbox orchestration for clone, checkout, setup, verify, and cleanup
  • structured CLI command specs for Claude Code and Qwen Code
  • runner wiring for OpenSandbox execution, remote git finalization, branch push, and PR/MR creation
  • pilot doctor runtime checks
  • runtime examples and configuration docs

Validation

Targeted feature checks pass:

go test ./internal/runtime ./internal/config ./internal/health ./internal/executor -run 'TestEnvironment|TestRuntime|TestConfigRuntime|TestOpenSandboxClient|TestCheckConfig_Runtime|TestRunnerOpenSandboxRuntime|Test.*CommandSpec' -count=1

Also ran:

go test ./...

The full suite still fails in pre-existing baseline areas:

  • desktop git graph tests are commit-history-sensitive.
  • internal/executor TestAnthropicBackend_IsAvailable depends on local API-key state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant