Repository navigation
chore(substrate): bump to v1.0.0 and install it from release images images E2E - #561
Merged
Merged
Conversation
…n E2E Bump go.ate.dev/substrate from v1.0.0-rc.1 to v1.0.0. AX code is unchanged. Between rc.1 and 1.0 the Control API changed only in comments, plus three stricter validations: - Capabilities.add takes only an allowlist (AX sets none). - VolumeMount.mount_path must not be /dev, /proc, /sys or under them (AX mounts only /workspace). - SnapshotConfig.storage_location segments may contain only [A-Za-z0-9_-] and may not be "atespaces". AX passes snapshotsBucket through unchecked, so Substrate rejects an invalid value at template creation. E2E now installs Substrate only from its published release images in ghcr.io/agent-substrate/substrate and never builds it: - hack/setup-e2e-kind.sh stops early unless SUBSTRATE_REF is a release tag (vX.Y.Z or vX.Y.Z-rc.N), the Substrate checkout is clean at that tag, its ate-setup supports --image-repo, and every image the install uses exists under the tag. It installs through ATE_IMAGE_REPO/ATE_IMAGE_TAG and pins the WorkerPool worker image by digest, using an anonymous registry token. The ko source build, the local registry cache (SUBSTRATE_IMAGE_CACHE_DIR) and the older install-ate.sh paths are removed. SUBSTRATE_IMAGE_REPO points at a mirror. - Makefile: remove test-e2e-head; Substrate main has no published images. - e2e.yml: remove the Substrate image cache steps. The nightly run (06:00 UTC) now tests the go.mod release instead of Substrate main. The workflow_dispatch input takes a release tag. go.ate.dev/substrate must therefore stay on a release tag; a pseudo-version fails E2E setup. Update test/e2e/README.md and skills/substrate/SKILL.md to match.
rakyll
marked this pull request as ready for review
November 7, 2026 18:53
siyuanfoundation
approved these changes
Nov 7, 2026
yongruilin
reviewed
Nov 7, 2026
| WORKER_KO_REF="$(awk '$1 == "workerImage:" { print $2; exit }' "${E2E_DIR}/manifests/workerpool.yaml")" | ||
| WORKER_IMAGE="${WORKER_KO_REF##*/}" | ||
| # Every Substrate image the Kind install and the WorkerPool use. | ||
| SUBSTRATE_IMAGES=(ateapi atecontroller atelet atenet "${WORKER_IMAGE}" podcertcontroller objectstore-plugin envoy-dataplane) |
Collaborator
There was a problem hiding this comment.
v1.0.0's kind install also deploys ate-idp-server. A mirror without it passes this check and then fails mid-install. Add it to the list?
| | `go.ate.dev/substrate` | `v1.0.0` | Control API protos `api/ateapi/v1` (atespaces, actor templates, actors, suspend/resume) | `internal/substrate`, `internal/server`, `internal/controller`, `test/e2e` | | ||
| | `github.com/agent-substrate/env` | `v0.0.11-0.20260912052224-4468a200b170` (pseudo-version) | Guest services served inside the sandbox (process exec + file system gRPC) and `proto/ateenv/v1alpha` | `internal/guest`, `internal/metadata` | | ||
|
|
||
| There is no `replace` directive for either module. Local hacking against a |
Collaborator
There was a problem hiding this comment.
This still says "local hacking goes through SUBSTRATE_DIR" in E2E. Maybe drop or reword this?
| cd "${SUBSTRATE_WORK_DIR}" | ||
| ATE_IMAGE_REPO="${SUBSTRATE_IMAGE_REPO}" ATE_IMAGE_TAG="${SUBSTRATE_REF}" \ | ||
| go run ./cmd/ate-setup --kind --kind-cluster-name="${KIND_CLUSTER_NAME}" --kubeconfig="${KUBECONFIG}" \ | ||
| deploy ate-system \ |
Collaborator
There was a problem hiding this comment.
v1.0.0's ate-setup defaults to --sandbox-classes=gvisor,microvm but ur WorkerPool only uses gVisor iiuc. Could we set ATE_INSTALL_SANDBOX_CLASSES=gvisor here?
yongruilin
approved these changes
Nov 7, 2026
yongruilin
left a comment
Collaborator
There was a problem hiding this comment.
The bump itself lgtm. I left some comments, but I'm fine to address them as follow-up.
Collaborator
|
Let's merge this and iterate later. |
5 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bump go.ate.dev/substrate from v1.0.0-rc.1 to v1.0.0. AX code is unchanged. Between rc.1 and 1.0 the Control API changed only in comments, plus three stricter validations:
E2E now installs Substrate only from its published release images in ghcr.io/agent-substrate/substrate and never builds it:
go.ate.dev/substrate must therefore stay on a release tag; a pseudo-version fails E2E setup.
Update test/e2e/README.md and skills/substrate/SKILL.md to match.