Skip to content

Remove dead Devbox Cloud code #3047

Closed

Description

@mikeland73

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

  1. added a commit that references this issue on Nov 9, 2026
    196f7d0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions