Repository navigation
Commit ddbb259
committed
feat(api)!: unify portable sandbox resource requirements
Model CPU, memory, and GPU through one typed ResourceRequirements envelope across inline sandbox specs, reusable workload templates, and compute drivers. Update the CLI, gateway translation, and built-in drivers to consume the unified model.
BREAKING CHANGE: CPU and memory move to typed resource requirements, and SandboxWorkloadConfig.resources now uses ResourceRequirements instead of SandboxResources.
Part of #2838
Signed-off-by: Evan Lezar <[email protected]>1 parent 903d9a0 commit ddbb259
19 files changed
Lines changed: 1119 additions & 590 deletions
File tree
- crates
- openshell-cli
- src
- tests
- openshell-core/src
- openshell-driver-docker/src
- openshell-driver-kubernetes/src
- openshell-driver-mxc/src
- openshell-driver-podman/src
- openshell-driver-vm/src
- openshell-server/src
- compute
- grpc
- proto
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
3200 | 3200 | | |
3201 | 3201 | | |
3202 | 3202 | | |
| 3203 | + | |
| 3204 | + | |
| 3205 | + | |
| 3206 | + | |
| 3207 | + | |
| 3208 | + | |
| 3209 | + | |
| 3210 | + | |
| 3211 | + | |
| 3212 | + | |
| 3213 | + | |
| 3214 | + | |
| 3215 | + | |
| 3216 | + | |
| 3217 | + | |
3203 | 3218 | | |
3204 | 3219 | | |
3205 | 3220 | | |
| |||
3214 | 3229 | | |
3215 | 3230 | | |
3216 | 3231 | | |
3217 | | - | |
3218 | | - | |
3219 | | - | |
| 3232 | + | |
3220 | 3233 | | |
3221 | 3234 | | |
3222 | 3235 | | |
| |||
0 commit comments