feat(pi): install Bun in cloud sandboxes - #6123
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR SummaryMedium Risk Overview Docs for Create PR setup now state that repository dependencies are not preinstalled and that Pi can run Rebuild E2B and Daytona Pi images after merge so production sandboxes pick up Bun. Reviewed by Cursor Bugbot for commit 2ccb81d. Bugbot is set up for automated code reviews on this repo. Configure here. |
Greptile SummaryInstalls the repository-pinned Bun release in both cloud sandbox images and documents that repository dependencies remain runtime-installed.
Confidence Score: 5/5The PR appears safe to merge with no actionable correctness or security failures identified. The Bun pin matches the repository package-manager version, both image providers consume the same package list, and each build now fails immediately if the installed runtime does not match the expected version.
|
| Filename | Overview |
|---|---|
| apps/sim/scripts/pi-sandbox-packages.ts | Pins Bun 1.3.13, includes it in the shared global package list, and defines an exact build-time version assertion. |
| apps/sim/scripts/build-pi-e2b-template.ts | Installs the shared global packages into the E2B image and validates the installed Bun version. |
| apps/sim/scripts/build-pi-daytona-snapshot.ts | Installs the same shared global packages into the Daytona image and validates Bun before completing the snapshot. |
| apps/docs/content/docs/en/workflows/blocks/pi.mdx | Documents Bun as preinstalled while clarifying that repository dependencies still require installation. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart LR
Pin[PI_BUN_VERSION 1.3.13] --> Packages[PI_GLOBAL_NPM_PACKAGES]
Packages --> E2B[E2B template npmInstall]
Packages --> Daytona[Daytona snapshot npm install -g]
E2B --> AssertE2B[Assert bun --version]
Daytona --> AssertDaytona[Assert bun --version]
AssertE2B --> SandboxE2B[E2B Pi sandbox]
AssertDaytona --> SandboxDaytona[Daytona Pi sandbox]
Reviews (1): Last reviewed commit: "feat(pi): install Bun in cloud sandboxes" | Re-trigger Greptile
Summary
Type of Change
Testing
Checklist