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
refactor: make embedded runtime the default build target
Align with brood-box: `task build` now produces a self-contained binary
with embedded propolis runtime. Drop the separate plain-Go build target.
`build-dev` / `build-dev-darwin` become aliases for `build`. Fix
PROPOLIS_VERSION variable to use awk instead of go template syntax that
conflicts with Taskfile delimiters.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,7 @@ MCP server for isolated code execution via propolis microVMs. Go + mcp-go, Strea
5
5
## Commands
6
6
7
7
```bash
8
-
task build # Build binary (CGO_ENABLED=0)
9
-
task build-dev # Build self-contained binary with embedded propolis runtime
8
+
task build # Build self-contained binary with embedded propolis runtime
10
9
task test# go test -v -race ./...
11
10
task lint # golangci-lint run ./...
12
11
task verify # fmt + lint + test (CI gate)
@@ -28,7 +27,7 @@ Run a single test: `go test -v -race -run TestName ./pkg/path/to/package`
28
27
29
28
## Things That Will Bite You
30
29
31
-
-**propolis is a tagged dependency (v0.0.15)**: Fetched via normal Go module resolution. `build-dev` embeds propolis-runner, libkrun, and libkrunfw into the binary (downloaded via `task fetch-runtime`/`task fetch-firmware`, verified with sha256sums). Use `build-dev-system` for the old libkrun-devel path.
30
+
-**propolis is a tagged dependency (v0.0.15)**: `task build` embeds propolis-runner, libkrun, and libkrunfw into the binary (downloaded via `task fetch-runtime`/`task fetch-firmware`, verified with sha256sums). Use `build-dev-system` for the system libkrun-devel path.
-**Layered images**: Runtime images (python/node/shell) inherit from `images/base/` via `ARG BASE_IMAGE`. Build base first: `task build-image-base`. All runtime image tasks depend on it automatically.
34
33
-**MCP error handling has two paths**: Return `mcp.NewToolResultError("msg"), nil` for user-facing errors (bad input, not found). Return `nil, err` only for internal server failures. Mixing these up breaks the MCP protocol.
0 commit comments