Commit 64eae99
authored
refactor(sandbox): remove runtime file projection (#91)
## Summary
- remove the unconsumed `/workspace/.cheatcode/runtime.json` projection
- remove every best-effort provider write triggered by process start,
restart, reconciliation, kill, status, and sandbox reset
- keep Durable Object process records as the single lifecycle authority
- remove documentation for the non-portable file
## Why
Production QA proved Daytona's persistent-volume toolbox and process
views do not provide a coherent root-level file projection for this
path. The file has no runtime consumer and was explicitly
non-authoritative, so retaining repeated best-effort writes would add
provider calls and warnings without giving users a reliable artifact. A
clean implementation keeps the authoritative Durable Object state only.
## Verification
- `pnpm turbo lint typecheck build` — 76/76 tasks passed on Node 24.18.0
- affected architecture boundary check — passed, 103 modules / 194
dependencies
- affected Knip workspace — passed
- no remaining `runtime.json` or manifest-sync references
- `git diff --check` — passed
- exactly one Drizzle migration remains; no database changes1 parent 33a3b18 commit 64eae99
5 files changed
Lines changed: 0 additions & 104 deletions
File tree
- apps/agent-worker
- src/durable-objects
- infra/containers/sandbox
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 136 | | |
141 | 137 | | |
142 | 138 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
682 | 681 | | |
683 | 682 | | |
684 | 683 | | |
685 | | - | |
686 | 684 | | |
687 | 685 | | |
688 | 686 | | |
| |||
Lines changed: 0 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
80 | | - | |
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
| |||
198 | 195 | | |
199 | 196 | | |
200 | 197 | | |
201 | | - | |
202 | 198 | | |
203 | 199 | | |
204 | 200 | | |
205 | 201 | | |
206 | | - | |
207 | 202 | | |
208 | 203 | | |
209 | 204 | | |
| |||
299 | 294 | | |
300 | 295 | | |
301 | 296 | | |
302 | | - | |
303 | 297 | | |
304 | 298 | | |
305 | 299 | | |
| |||
317 | 311 | | |
318 | 312 | | |
319 | 313 | | |
320 | | - | |
321 | 314 | | |
322 | 315 | | |
323 | 316 | | |
| |||
335 | 328 | | |
336 | 329 | | |
337 | 330 | | |
338 | | - | |
339 | 331 | | |
340 | 332 | | |
341 | 333 | | |
| |||
379 | 371 | | |
380 | 372 | | |
381 | 373 | | |
382 | | - | |
383 | 374 | | |
384 | 375 | | |
385 | | - | |
386 | 376 | | |
387 | 377 | | |
388 | 378 | | |
| |||
687 | 677 | | |
688 | 678 | | |
689 | 679 | | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | | - | |
694 | | - | |
695 | | - | |
696 | | - | |
697 | | - | |
698 | | - | |
699 | | - | |
700 | 680 | | |
701 | 681 | | |
702 | 682 | | |
| |||
Lines changed: 0 additions & 74 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 157 | | |
162 | 158 | | |
163 | 159 | | |
| |||
0 commit comments