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
Devbox Cloud is shut down, and api.devbox.sh is going away too. The CLI still has code paths for it. None of them make network calls: they only run when DEVBOX_REGION is set, which never happens outside Devbox Cloud. They're dead code worth removing.
What's left
internal/envir/util.go: IsDevboxCloud(), and DevboxRegion in internal/envir/env.go
internal/boxcli/midcobra/telemetry.go: CloudRegion and InCloud telemetry fields
internal/telemetry/segment.go: shellAccess() and its ssh/browser kinds (only reachable in cloud)
internal/vercheck/vercheck.go: the cloud early return, and its case in vercheck_test.go
internal/services/status.go: the cloud-only branch around line 124
vscode-extension/CHANGELOG.md: historical entries can stay
The VS Code extension's "open in VS Code" URI handler (openinvscode.ts, which called api.devbox.sh) is being removed separately, in the change that moves install and update to GitHub releases.
Done when
git grep -n "IsDevboxCloud\|DevboxRegion\|DEVBOX_REGION\|devbox-vms" finds nothing outside changelogs, and build, tests and lint pass.
Written by Claude on behalf of / prompted by @mikeland73.
Activity
chore: remove dead Devbox Cloud code (#3050)