Commit e9e4e34
fix(substrate): bump amd64 runsc default to gVisor nightly 2026-06-02 (#2035)
Closes #2036
## Summary
kagent's default amd64 runsc (`2026-05-19`) fails to restore node.js
OpenClaw/NemoClaw actors with inconsistent private memory files on
restore; nightly `2026-06-02` fixes it and still checkpoints (the
`2026-06-13` build breaks checkpoint). This PR bumps the **amd64** runsc
default to `2026-06-02` so amd64 users get a working checkpoint/restore
out of the box.
arm64 defaults are left unchanged — the bug reproduces only on the amd64
build of the gVisor runsc nightly.
## Changes
- `go/core/pkg/app/app.go` — bump `--substrate-runsc-amd64-url` default
to `gs://gvisor/releases/nightly/2026-06-02/x86_64/runsc` and
`--substrate-runsc-amd64-sha256` to
`efd12935f6654c91a1389710eb8dfa4d12b6b9be00db87526dc2eb584ad00119`.
- `helm/kagent/values.yaml` — update the commented `runscAMD64URL` /
`runscAMD64SHA256` example to match.
- `examples/substrate-openclaw/README.md` — update the amd64 runsc
URL/hash in the `AgentHarness` example.
The sha256 was computed from the published binary and verified against
the convention already in the repo (the existing `2026-05-19` amd64 hash
reproduces exactly with `shasum -a 256`).
## Caveat
C/R was proven to restore on arm64 (Kind) and fail on amd64 (Talos) with
the same code and same runsc date, but the arm64 host ran a different
kernel (Docker Desktop VM), so an arch-vs-kernel contribution can't be
100% ruled out. The actionable, provable claim that doesn't depend on
settling that is the lead sentence above: 05-19 amd64 fails to restore,
06-02 fixes it and still checkpoints.
## Notes for reviewers
The runsc-compatibility coupling is owned by `kagent-dev/substrate` (its
C/R is built against a specific runsc version).
## Testing
- `go build ./core/pkg/app/` passes.
- No unit/E2E tests assert the default runsc value, so none needed to
change.
---------
Signed-off-by: matcham89 <cjmatcham@hotmail.co.uk>
Co-authored-by: Eitan Yarmush <eitan.yarmush@solo.io>1 parent 0a52057 commit e9e4e34
3 files changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
279 | | - | |
280 | | - | |
| 279 | + | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
0 commit comments