You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
- keep persistent project workspaces source-only while resolving Next
and Expo from immutable snapshot runtimes
- redirect per-project dependencies and generated Next caches to local
sandbox storage instead of object-store FUSE
- use immutable runtime binaries for managed servers and preserve
runtime selection across restarts
- clean local runtime state on project reset/deletion and standardize
dependency changes on pnpm
- promote the verified snapshot
`cheatcode-sandbox-viewer-bundle-2d91bd46205d-30812852154`
## Root cause
App preparation copied the template dependency tree into the persistent
`/workspace` FUSE mount. A roughly 400 MB pnpm tree entered
uninterruptible I/O and timed out before the DeepSeek request was made,
leaving the Browser tab without a running preview.
## Verification
- snapshot build, Trivy configuration/vulnerability/secret scans,
runtime smoke test, Daytona publication, and verification passed
- `pnpm turbo typecheck`
- `pnpm turbo lint`
- `pnpm turbo build --force`
- `pnpm typecheck`
- `pnpm lint`
- `pnpm architecture:check`
- `pnpm deadcode`
- `git diff --check`
@@ -182,7 +193,7 @@ function templateContextNote(workspace: AppBuilderWorkspace): string {
182
193
constmobile=workspace.mobile
183
194
? " For this mobile build, that internal address renders the react-native-web preview."
184
195
: "";
185
-
return`[context] A ${stack} workspace is scaffolded in ${workspace.dir}, and its managed dev server is running internally at http://localhost:${workspace.port}. Build the user's app by editing files under ${workspace.dir}; it hot-reloads on save. Verify it with the sandbox's headed browser at that internal localhost address.${mobile} Never request or paste an external preview or Expo URL.`;
196
+
return`[context] A ${stack} workspace is scaffolded in ${workspace.dir}, and its managed dev server is running internally at http://localhost:${workspace.port}. Build the user's app by editing files under ${workspace.dir}; it hot-reloads on save. Use pnpm for dependency changes. Verify it with the sandbox's headed browser at that internal localhost address.${mobile} Never request or paste an external preview or Expo URL.`;
186
197
}
187
198
188
199
asyncfunctionprepareTemplateWorkspace(
@@ -191,9 +202,10 @@ async function prepareTemplateWorkspace(
return`[context] This project was imported${origin} into ${workspace.dir}. Inspect it, complete any setup, and start the dev server on port ${workspace.port} with code_start_dev_server (Expo on ${mobilePort} for mobile).`;
485
+
return`[context] This project was imported${origin} into ${workspace.dir}. Inspect it, use pnpm for dependency changes, complete any setup, and start the dev server on port ${workspace.port} with code_start_dev_server (Expo on ${mobilePort} for mobile).`;
0 commit comments