[Bug Bash] env main doesn't work with Substrate main
Maintainer thường phản hồi trong vòng 1 ngày
@rakyll đang làm issue này rồi.
Từ ngày 27/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Summary
ate-env at main can't create environments on a cluster running current Substrate main.
Every CreateEnvironment fails, so the ate-env bug bash flow stops at step 1. No env branch
currently supports a Substrate newer than ddb46651.
Versions
| Component | Version |
|---|---|
| env | main @ de462e9 (Go module pinned to Substrate 3a2ca623, 2026-10-16) |
| Substrate on cluster | 834df30e (2026-10-20) — also reproduces with anything at or after a9958d16 |
| Cluster | GKE 1.35, gVisor node pool |
Steps to reproduce
- Install Substrate from
main(bug bash Quickstart: Setup + S1). - Build ate-env from
main(make images,make build-cli) and deploy:
ate-env manifest --worker-image <ateworker-gvisor@digest> | kubectl apply -f - - Register the template:
ate-env manifest template --snapshots-bucket gs://<bucket>/ate-env/ | kubectl ate create actor-template -f - kubectl port-forward -n ate-env svc/ate-env-api 7777:7777 &ate-env create alice
Expected
The environment is created.
Actual
Step 3 fails first:
Error: failed to parse actor template manifest "-": proto: (line 1:445): unknown field "sandboxConfig"
With sandboxConfig stripped from the template by hand, step 5 then fails:
ate-env: env: rpc error: code = InvalidArgument desc = ate: creating "alice": rpc error: code = InvalidArgument desc = [actor.actor_template.atespace: Required value, actor.actor_template.name: Required value]
ate-env-api does send the template name and atespace; they arrive empty because the field
numbers no longer match.
Root cause
Two breaking Substrate API changes landed after env's pin (3a2ca623):
- substrate#2780 (
0443aec3, 2026-10-17): removedActorTemplate.sandbox_config. ate-api-server
rejects unknown fields, so env'smanifest templateoutput is refused. - substrate#2888 (
a9958d16, 2026-10-19): renumbered proto fields consecutively
("The binary wire format changes for some messages"). Any client built against an older
Substrate sends requests whose fields land in the wrong place. Hence the misleading
Required valueerrors. That PR also says existing installs need a fresh database.
Current state of the fix
- Branch
bump-substrate-latest(40a6c63) bumps env to Substrateddb46651and handles #2780
(nosandboxConfig). It also adds theate-env manifest access-policystep that authz now requires.
It is unmerged, andddb46651is before #2888, so it still fails against current Substrate. - Verified 10/26: env
40a6c63+ Substrateddb46651(fresh install) passes create, write/read,
shell, MCP, suspend/resume, and--rootfs-image.
Workaround
Pin both sides: install Substrate at ddb46651 (fresh database) and build env from 40a6c63.
The bug bash ate-env tab now documents this pin.
Suggested fix
- Bump env's Substrate dependency past
a9958d16(to currentmain), regenerate, and merge
(supersedes or extendsbump-substrate-latest). - Cut a release. The latest release (v0.0.10, 2026-08-25) predates
manifest template, so the README's
"download the latest release" path doesn't work either. - In the README, state a supported Substrate range (upper bound too), not just "at or after X".
- Consider a version handshake or startup check in ate-env-api, so skew fails with
"Substrate version mismatch" instead ofRequired value/invalid wire-format data.
Related
- Delete fails with a GCS 403 on the pinned pair (filing separately).
- Severity: P0 for the ate-env bug bash (core path broken; only workaround is pinning an older Substrate).
- Ngôn ngữ chính
- Go
- Star
- 71
- Fork
- 17
- Merge trung bình
- 21 giờ 36 phút
- Pull request đã merge (30 ngày)
- 19
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của agent-substrate/env
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
agent-substrate/env#123 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 74/100
agent-substrate/env#121 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
agent-substrate/env#119 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
agent-substrate/env#118 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
agent-substrate/env#117 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của agent-substrate/env
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
open-telemetry/opentelemetry-go-compile-instrumentation#1713 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
JakeChampion/lang#14392 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-butler-finding bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 84/100
jordansmall/spindrift#6557 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Custom tool truncation leaves unused stream copies openCó thể đã có người làm @OUAO-FRANK đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày