Introducing Roast: Structured AI workflows made easy
Roast is Shopify's open-source, Ruby-based CLI framework for orchestrating structured AI workflows.
Roast is Shopify's open-source, Ruby-based CLI framework for orchestrating structured AI workflows.
Shopify built Tophat, a macOS menu bar app that installs CI-built iOS and Android artifacts from GitHub PRs onto simulators, emulators or real devices with one click, eliminating local branch switching and compilation during manual PR testing ("tophatting").
Shopify integrated ShopifyQL into the CodeMirror editor by writing an adapter that feeds its existing ANTLR-based, LSP-conforming TypeScript language server into CodeMirror's Lezer parse trees, avoiding a Lezer grammar rewrite.
Remix is now Shopify's recommended framework for building Admin apps, backed by a rewritten, final version of App Bridge that makes cross-origin iframes behave like a normal web environment.
Ruby LSP is a pure-Ruby language server from Shopify that provides editor features for Ruby without type checking or type annotations, aiming for performance and stability on large codebases like Shopify's Core monolith and leaning toward Rails-specific features.
Shopify 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.
Ruby's 2022 highlights include YJIT's rewrite in Rust and its new ARM support, so `ruby --yjit` now runs on Apple Silicon development machines as well as production.
Shopify replaced long-lived GitHub personal access tokens with short-lived GitHub App installation tokens that are rotated automatically by scheduled GitHub Actions workflows and written into repository secrets.
Step-debugging server-side WebAssembly can be done four ways: compiling to a native target and using LLDB/GDB, running the Wasm under Wasmtime inside LLDB, using a Wasm-specific debugger like Wasminspect, or using browser DevTools via Chrome's DWARF extension or source maps.
Shopify 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.
Shopify's Polaris team built @shopify/get-repo-images, an open-source crawler that finds image files and every line of code referencing them across GitHub repositories, then serves a browsable, sortable website so illustrators could update illustrations fragmented across thousands of repos during a design-language refresh.