Skip to content

fix(sandbox): keep app runtimes off persistent storage - #122

Merged
iamjr15 merged 1 commit into
mainfrom
fix/sandbox-local-app-runtime
Aug 3, 2026
Merged

fix(sandbox): keep app runtimes off persistent storage#122
iamjr15 merged 1 commit into
mainfrom
fix/sandbox-local-app-runtime

Conversation

@iamjr15

@iamjr15 iamjr15 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

What

  • split Next and Expo source-only scaffolds from immutable local dependency runtimes
  • keep dependency trees and Next compiler output off Daytona object-store FUSE
  • add snapshot smoke checks for source/runtime separation

Why

Production tracing showed the app-builder timing out before model invocation while copying roughly 400 MB of pnpm data into the persistent workspace. The timed-out FUSE copy left partial projects and made retries fail inconsistently.

Verification

  • pnpm typecheck
  • pnpm lint
  • pnpm turbo build --force
  • pnpm architecture:check
  • pnpm deadcode
  • isolated pnpm install wrote the complete Next graph to an external modules directory in 1.6s and left the project without node_modules

Rollout

This PR intentionally publishes only the snapshot-side prerequisite. After merge, build the immutable Daytona candidate from this exact main commit. Worker promotion follows in a separate reviewed PR that pins that candidate, avoiding any interval where production code expects a runtime absent from the active snapshot.

@iamjr15
iamjr15 merged commit ab5927b into main Aug 3, 2026
4 checks passed
@iamjr15
iamjr15 deleted the fix/sandbox-local-app-runtime branch August 3, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant