Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
14 changes: 11 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,23 @@ jobs:
with:
node-version: '24'
- run: uv sync --locked
- run: uvx ruff check raft.py raft_files.py raft_run.py raft_jobs.py raft_output.py deploy/*.py
- run: uvx ruff format --check raft.py raft_files.py raft_run.py raft_jobs.py raft_output.py deploy/*.py
- run: uv run python -m compileall -q raft.py raft_files.py raft_run.py raft_jobs.py raft_output.py deploy
- run: uvx ruff check raft.py raft_files.py raft_run.py raft_jobs.py raft_output.py raft_plugins.py deploy/*.py
- run: uvx ruff format --check raft.py raft_files.py raft_run.py raft_jobs.py raft_output.py raft_plugins.py deploy/*.py
- run: uv run python -m compileall -q raft.py raft_files.py raft_run.py raft_jobs.py raft_output.py raft_plugins.py deploy
- run: uv run python deploy/verify-limits.py
- run: uv run python deploy/verify-image-tests.py
- run: uv run python deploy/verify-run.py
- run: uv run python deploy/verify-jobs.py
- run: uv run python deploy/verify-output.py
- run: uv run python deploy/verify-features.py
- run: uv run python deploy/verify-self-update.py
- run: uv run python deploy/verify-plugins.py
- name: Exercise optional sandbox-sdk plugin
if: matrix.python == '3.14'
working-directory: examples/sandbox-sdk
run: |
corepack enable
pnpm install --frozen-lockfile
pnpm smoke
- run: uv build
- run: uv run python deploy/verify-release.py
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,20 @@ raft ssh "$box"
raft stop "$box"
```

## use your own sandbox backend

register a trusted executable plugin as a location, then use the same commands:

```sh
raft plugin add cloud -- node /absolute/path/to/plugin.mjs
raft plugin info cloud
raft new --location cloud --disposable
```

plugins own their dependencies and provider guarantees. the core CLI still needs
only Python. see [user plugins](docs/guides/plugins.mdx) and the runnable
[sandbox-sdk adapter](examples/sandbox-sdk/README.md).

## image and workspace control

the image builder starts with Debian 13 and installs language runtimes,
Expand Down
2 changes: 1 addition & 1 deletion deploy/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

def hosts():
# Read at call time: onboarding imports this module before its location exists.
return {name: entry["ssh"] for name, entry in configuration().items()}
return {name: entry["ssh"] for name, entry in configuration().items() if "ssh" in entry}


def remote(host, command):
Expand Down
Loading
Loading