Repository navigation
Commit 7e9224a
authored
feat(sandbox): add canonical main process (ai-openshell/openshell#2726)
* feat(sandbox): add canonical main process
Closes ai-openshell/openshell#2710
Persist and supervise one canonical workload per sandbox, attach sandbox connect to its retained session, and make every unexpected main-process exit terminal.
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* feat(sandbox): simplify canonical main process contract
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(sandbox): preserve legacy VM main compatibility
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(sandbox): preserve main status across driver updates
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(sandbox): satisfy macOS process lint
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(sandbox): gate Linux exit acknowledgement publisher
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* refactor(sandbox): simplify main process plumbing
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(supervisor): make controlling tty ioctl portable
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(supervisor): initialize canonical process environment
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* perf(supervisor): optimize retained main session
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* feat(sandbox): detach main session on ctrl-c
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(sandbox): use explicit main detach keys
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(dev): atomically stage Docker supervisor
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* fix(test): align Docker main environment assertion
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
* feat(sdk): expose canonical main process fields
Signed-off-by: Drew Newberry <anewberry@nvidia.com>
---------
Signed-off-by: Drew Newberry <anewberry@nvidia.com>1 parent edce0f9 commit 7e9224a
3 files changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
133 | 134 | | |
134 | 135 | | |
135 | 136 | | |
| |||
1092 | 1093 | | |
1093 | 1094 | | |
1094 | 1095 | | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
1095 | 1099 | | |
1096 | 1100 | | |
1097 | 1101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1772 | 1772 | | |
1773 | 1773 | | |
1774 | 1774 | | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
1775 | 1784 | | |
1776 | 1785 | | |
1777 | 1786 | | |
| |||
0 commit comments