Repository navigation
Conversation
Setup installs the pinned Node 24, Code OSS native build headers, monorepo dependencies, a dev-fast Desktop build and Playwright Chromium. The desktop service launches Whiteboard Desktop on the sandbox display. run.sh gains DEV_FAST_REVIEW_NO_SANDBOX=1, which passes --no-sandbox so the dev Desktop can start as root in containers. Run-on: Niteshift Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The sandbox has no GPU, but Chromium falls back to software rendering on its own, and --disable-gpu can leave the canvas's WebGL views without a context. Run-on: Niteshift Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Niteshift environment for this repo, so each task starts with Whiteboard Desktop built and running in the sandbox.
What's included
.niteshift/setup(safe to rerun; about 3.5 min on a fresh disk, 7–12 s when already built). It:apps/review-desktop/code-oss/.nvmrc(24.22.1) under/opt. This one install covers both the monorepo (Node 24) and the Code OSS fork, and the sandbox's own Node stays untouched.libx11-dev,libxkbfile-dev,libkrb5-devandlibsecret-1-dev.pnpm install --frozen-lockfile, thenREVIEW_DESKTOP_DEV_FAST=1 pnpm desktop:build. Code OSSnpm ciruns only when its lockfile digest changes.run.sh's own freshness helper, so the desktop launches quickly..niteshift/services.yaml: onedesktopservice that runspnpm desktop:runon the sandbox display (:99), which the user watches in the Agent preview. Whiteboard has no web UI, so the service has no port and no web preview. Electron's remote debugging is on port 9333, so agents can drive the renderer withagent-browser --cdp 9333.apps/review-desktop/scripts/run.sh: a new opt-inDEV_FAST_REVIEW_NO_SANDBOX=1switch that passes--no-sandbox, built like the existingDEV_FAST_REVIEW_DISABLE_GPUswitch.--no-sandboxis on its command line.disable-chromium-sandboxin argv.json, which takes effect too late.--no-sandboxon Linux. The dev script had no way to pass it..niteshift/.Verification
prove-lifecycle: both setup runs, validate,upandstatusall readok, and setup leaves the working tree unchanged.ns services restart desktop: the workbench loads, and the logs show the Review server reporting ready.whiteboard instanceslistsdev-whiteboard-…as running.DEV_REVIEW_INSTANCE=<key> whiteboard inforeturns{"event":"info","reviews":[]}from the running Desktop.vitest --project browser src/ui/copy.browser.test.tsxpasses on the installed Chromium.Screenshots
Whiteboard Desktop on the sandbox display:
🤖 Generated with Claude Code
🌒 Run on Niteshift: View Task