Skip to content

fix(sandbox): run pnpm on native disk - #193

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

fix(sandbox): run pnpm on native disk#193
iamjr15 merged 1 commit into
mainfrom
fix/sandbox-local-package-runtime

Conversation

@iamjr15

@iamjr15 iamjr15 commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Why

A restored project could fail during preparation with EPERM futime because pnpm still executed from Daytona persistent object-store FUSE. The previous npm_config_modules_dir environment value is not a supported pnpm 11 modules-directory boundary, and moving node_modules alone does not stop pnpm from touching project state.

What changed

  • execute direct project pnpm and pnpx commands from the existing native-disk source mirror
  • synchronize command-produced source changes back transactionally with optimistic conflict detection
  • share one lock-aware source mirror between package commands and long-running preview processes
  • reject shell-wrapped package managers because they cannot participate safely in the synchronization contract
  • keep dependencies, Next cache, and build output off persistent FUSE
  • document the package-runtime boundary

No database migration, environment change, or Daytona snapshot rebuild is required.

Verification

  • pnpm lint
  • pnpm typecheck
  • pnpm turbo build --force
  • pnpm deadcode
  • pnpm architecture:check
  • pnpm turbo skills:build
  • Python synchronization script syntax check
  • local transaction check: successful source commit plus concurrent-write conflict preservation
  • production sandbox reproduction confirmed pnpm fails on persistent FUSE and succeeds from the native-disk mirror

Production browser acceptance will run after the protected Cloudflare deployment reaches the exact merged main SHA.

@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
cheatcode Skipped Skipped Aug 9, 2026 9:55am

@iamjr15
iamjr15 merged commit 2d7a422 into main Aug 9, 2026
6 checks passed
@iamjr15
iamjr15 deleted the fix/sandbox-local-package-runtime branch August 9, 2026 09:57
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