agent-substrate / agent-substrate/substrate

use runsc shim at ateom-gvisor

Open
#255 1 comment 0 reactions 1 assignee Claimed by @milantracy View on GitHub
area/gvisor kind/feature
Dominant language
Go
Stars
1.8k
Forks
316
Avg merge
2d 43m
Merged PRs (30d)
287

Description

ateom-gvisor at cmd/ateom-gvisor currently starts sandbox using runsc (an OCI compatible runtime) directly, I would like to move substrate to use runsc shim.

we can potentially get benefits on lifecycle management by doing the migration, The shim daemon manages runsc child processes (sandbox, gofer) and reaps them automatically. Right now ateom does this itself with go-reap and reapLock coordination around every exec.Command.

And we can introduce a runtime-agnostic interface that we can introduce to manage other runtime as well, for example, https://github.com/agent-substrate/substrate/issues/123

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.