diff --git a/README.md b/README.md index b0badfab..651a0459 100644 --- a/README.md +++ b/README.md @@ -65,10 +65,10 @@ verification, pinning and how releases are cut. Prerequisites: a cluster with [Agent Substrate](https://github.com/agent-substrate/substrate) installed and a snapshots bucket. ate-env is built against Substrate -[`f03327bd`](https://github.com/agent-substrate/substrate/commit/f03327bd) (2026-10-12) and needs at -least that revision on the cluster: the WorkerPool it writes declares `spec.sandboxClasses`, the -ActorTemplate uses `snapshotConfig` and `wakeupProbe`, and `--worker-image` must be the `ateom` image -published by that Substrate install. +[`da35a983`](https://github.com/agent-substrate/substrate/commit/da35a983) (2026-10-13). The cluster +needs a Substrate recent enough to accept what ate-env writes: the WorkerPool declares +`spec.sandboxClasses`, the ActorTemplate uses `snapshotConfig` and `wakeupProbe`, and `--worker-image` +must be the `ateom` image published by that Substrate install. ### 1. Deploy the Kubernetes Resources diff --git a/cmd/ate-env/manifest.go b/cmd/ate-env/manifest.go index c80c1f3b..2238a370 100644 --- a/cmd/ate-env/manifest.go +++ b/cmd/ate-env/manifest.go @@ -404,7 +404,7 @@ func buildActorTemplate(cfg templateConfig) *ateapipb.ActorTemplate { Value: "80", }}, WakeupProbe: &ateapipb.ContainerWakeupProbe{ - HttpGet: &ateapipb.HTTPGetAction{ + HttpGet: &ateapipb.HttpGetAction{ Path: "/readyz", Port: 80, }, diff --git a/go.mod b/go.mod index 538b82df..fba5ba90 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/agent-substrate/env go 1.27.0 require ( - github.com/agent-substrate/substrate v0.4.1-0.20261013000135-f03327bd4aa8 + github.com/agent-substrate/substrate v0.4.1-0.20261013175625-da35a983ed34 github.com/google/uuid v1.6.0 github.com/modelcontextprotocol/go-sdk v1.4.1 github.com/spf13/cobra v1.10.2 diff --git a/go.sum b/go.sum index 2ed97c86..974facc8 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ github.com/Masterminds/semver/v3 v3.4.0 h1:Zog+i5UMtVoCU8oKka5P7i9q9HgrJeGzI9SA1Xbatp0= github.com/Masterminds/semver/v3 v3.4.0/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= -github.com/agent-substrate/substrate v0.4.1-0.20261013000135-f03327bd4aa8 h1:sQlP0nA5TBcNpQqHkwghJXUHN0tgNOx0tg8Zmh71U38= -github.com/agent-substrate/substrate v0.4.1-0.20261013000135-f03327bd4aa8/go.mod h1:XVQwhYEmOlb+ILs9BvSCHXYhgo2F6/N2qN4DmRwogQI= +github.com/agent-substrate/substrate v0.4.1-0.20261013175625-da35a983ed34 h1:pGiVJjwYbQMDJQj6le/4izVcIz0tHO1i2jQJ8EyKpCU= +github.com/agent-substrate/substrate v0.4.1-0.20261013175625-da35a983ed34/go.mod h1:XVQwhYEmOlb+ILs9BvSCHXYhgo2F6/N2qN4DmRwogQI= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= diff --git a/internal/apiservice/imagetemplate_test.go b/internal/apiservice/imagetemplate_test.go index a6dba482..8da88ee0 100644 --- a/internal/apiservice/imagetemplate_test.go +++ b/internal/apiservice/imagetemplate_test.go @@ -36,7 +36,7 @@ func modeABase() *ateapipb.ActorTemplate { Image: testGuestImage, Command: []string{"/ko-app/ate-env-guest", "-workspace", "/workspace"}, Env: []*ateapipb.EnvVar{{Name: "PORT", Value: "80"}}, - WakeupProbe: &ateapipb.ContainerWakeupProbe{HttpGet: &ateapipb.HTTPGetAction{Path: "/readyz", Port: 80}}, + WakeupProbe: &ateapipb.ContainerWakeupProbe{HttpGet: &ateapipb.HttpGetAction{Path: "/readyz", Port: 80}}, }}, SnapshotConfig: &ateapipb.SnapshotConfig{StorageLocation: "gs://b/p/", PreferredFidelity: ateapipb.SnapshotFidelity_SNAPSHOT_FIDELITY_MEMORY}, SandboxConfig: &ateapipb.SandboxConfig{SandboxClass: ateapipb.SandboxClass_SANDBOX_CLASS_GVISOR, ConfigName: "gvisor-default"}, diff --git a/internal/apiservice/server_test.go b/internal/apiservice/server_test.go index 5ee1d5fd..3b698921 100644 --- a/internal/apiservice/server_test.go +++ b/internal/apiservice/server_test.go @@ -596,7 +596,7 @@ func seedGuestTemplate(control *fakecontrol.Server, atespace, name string) { Image: testGuestImage, Command: []string{"/ko-app/ate-env-guest"}, Env: []*ateapipb.EnvVar{{Name: "PORT", Value: "80"}}, - WakeupProbe: &ateapipb.ContainerWakeupProbe{HttpGet: &ateapipb.HTTPGetAction{Path: "/readyz", Port: 80}}, + WakeupProbe: &ateapipb.ContainerWakeupProbe{HttpGet: &ateapipb.HttpGetAction{Path: "/readyz", Port: 80}}, }}, SnapshotConfig: &ateapipb.SnapshotConfig{StorageLocation: "gs://bucket/ate-env/"}, SandboxConfig: &ateapipb.SandboxConfig{SandboxClass: ateapipb.SandboxClass_SANDBOX_CLASS_GVISOR, ConfigName: "gvisor-default"},