hyperlight-dev / hyperlight-dev/hyperlight

What is the expected lifecycle of SandboxRuntimeConfig?

Open
#1,279 1 comment 0 reactions 0 assignees View on GitHub
lifecycle/confirmed question
Dominant language
Rust
Stars
4.7k
Forks
208
Avg merge
1d 7h
Merged PRs (30d)
47

Description

This is not new to this PR, so feel free to file an issue and defer, but I wanted to see if you had thoughts in this context first. This addition brings to my attention the question: what is the expected lifecycle of SandboxRuntimeConfig? Some parts, like `debug_info` and `guest_core_dump`, seem like they are config of a specific sandbox instance (regardless of what guest/snapshot is being run inside of that instance), while things like `entry_point` and `guest_core_dump` seem like they are related fundamentally to the snapshot that's underlying the sandbox, and would need to be reset on restore to have sensible behaviour for a single sandbox that urns multiple different guests at different times.

_Originally posted by @syntactically in https://github.com/hyperlight-dev/hyperlight/pull/1264#discussion_r2886880669_

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.