Repository navigation
Commit ffc3a25
committed
feat(agents): refuse ended Sandbox sessions on deploy
Move the Sandbox deploy onto the shared lifecycle library. A deploy now
splits identity checks (agent, owner, thread, management marker) from
liveness checks, and reuses a Sandbox only while it is a live, Running
session with a matching launch fingerprint. Each refusal names the
lifecycle state (ended, ending, unknown, deleting) so the desktop can
offer the right explicit action.
New Sandboxes record whether checkpoint-on-stop is configured and use a
File termination message policy so the harness receipt reaches the
container status.
Add an in-memory apiserver that drives the real kube::Client request
path, and document the Sandbox lifecycle states and tombstones.
Signed-off-by: Tee8z <[email protected]>1 parent 8a78548 commit ffc3a25
7 files changed
Lines changed: 1107 additions & 294 deletions
File tree
- crates/buzz-backend-kubernetes
- src
- docs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
| 137 | + | |
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments