The Journey to Cloud Development: How Shopify Went All-in on Spin
Shopify replaced its laptop-based `dev` tool and xhyve-backed `railgun` VM with Spin, a cloud development environment, after monoliths and multi-repository projects outgrew local machines and made tophatting collaborators' changes painful. The path went through experiments: a local Kubernetes cluster that never caught on, and ad hoc GCE VMs that gained surprising traction. The first Spin version ran a host pod holding cloned repos plus a Docker Compose stack, and early adopters found its edit-here/run-there split confusing. The team then moved to per-developer Kubernetes namespaces with one pod per repository, and the broader lesson is iterating with users rather than shipping a finished design.
Related posts
- GitHub’s Engineering Team has moved to Codespaces
GitHub Engineering mediumAdeptGitHub moved development of its 14-year-old, 13 GB github/github monolith from bespoke macOS laptops to cloud-hosted Codespaces, replacing fragile local environments with disposable, task-per-branch dev environments. Creation time went from 45 minutes to 5 by shallow cloning with background unshallowing and a nightly GitHub Action that builds a mostly-bootstrapped Docker base image for the devcontainer. It then dropped to 10 seconds with prebuilds, pools of fully cloned and bootstrapped codespaces. Centralized config also let them upgrade every engineer from 8-core to 32-core VMs with one line, share live previews via forwarded ports, and support Vim/Emacs users over SSH.
- How GitHub’s Developer Experience team improved innerloop development
GitHub Engineering mediumAdeptGitHub's Developer Experience team built Hubber Codespace (HCS), a Docker-Compose project that lets engineers stand up the full distributed GitHub ecosystem locally or in a codespace to integration-test changes before deploying. Docker-Compose won out over Minikube, rejected for networking complexity and long cycle times, and over the internal Codespace-Compose, which had no SLA and would add maintenance burden. A Go CLI with versioning that matches HCS releases wraps long compose invocations into commands like `hcs start`, `hcs shell` and `hcs status`. Scheduled automation pins SHAs from the monorepo and service repos into frequent releases, consumed via a devcontainer feature or the gh CLI.
- The Story Behind Shopify’s Isospin Tooling
Shopify Engineering mediumAdeptShopify replaced the shell-script tooling behind its Spin cloud dev environments with Isospin, which runs multiple applications inside a single Linux VM by modeling them as systemd services. Template units (foo@bar) let each app get its own copies of dependencies like MySQL and Elasticsearch, while generators build per-app targets and service graphs at boot from runtime configuration. Port collisions are solved by a dependency service that hashes service names into stable port assignments injected as a PORT environment variable. Readiness is handled with systemd's NOTIFY_SOCKET via a notify-port wrapper that polls the assigned port, which caught services bound to the wrong port or failing silently at startup.
- From Ruby to Node: Overhauling Shopify’s CLI for a Better Developer Experience
Shopify Engineering mediumAdeptShopify rewrote its CLI from Ruby to TypeScript on Node to reduce system requirements, unify the Theme, App and Hydrogen workflows, and stay easy for internal teams to contribute to. Go and Rust were rejected despite their static binaries because few Shopify engineers know them. Node won over Ruby because its module system lets multiple versions of a transitive package coexist, which supports modular plugins. The new architecture rests on a shared @shopify/cli-kit package, custom ESLint rules, cross-OS CI testing, a monorepo, and a functional, MVC-like split of models, commands and services. It also uses Vitest unit tests, Cucumber E2E tests, and oclif plugins with hooks for dependency inversion.
- How we rebuilt the Shopify app in 12 weeks
Shopify Engineering mediumAdeptThirty engineers rebuilt the 300+ screen Shopify mobile app from React Native to native Swift and Kotlin in 12 weeks, with agents writing most of the code. The key work was building a system around the agents: a shared Reflex architecture for iOS and Android that lets ViewModels run headless from a CLI in milliseconds, CI checks that fail on cross-platform drift, and Helix verifying small checkpoints against the legacy app, which served as the spec instead of written documents. As code generation got faster, the bottlenecks moved to laptops, code review, merging and coordination. Shopify answered with remote dev environments, agent-first adversarial review on small dual-platform PRs, a daily loop that turns review comments into rules, agent-driven merge queues, and pod ownership by product area. Launch time dropped about 50% on Android and 14% on iOS, and the Android binary shrank by 40%.