Shopify introduces Roast: an open-source convention-oriented framework for structured, reproducible AI workflows at developer scale
Unrestricted AI agents working across millions of lines of code were unreliable due to non-determinism, blocking Shopify from addressing developer problems like flaky tests and insufficient test coverage at scale with minimal human intervention.
Unconstrained AI agents could not reliably traverse large codebases; they needed discrete structured steps to stay on track.
Since deploying Roast internally, Shopify engineers have analyzed thousands of test files, significantly increased test coverage, automated Sorbet type annotation, enabled proactive SRE monitoring, and saved hours of manual competitive research, while a dozen community engineers have contributed to the open-source project.
Frequently asked questions
What did this team achieve with this AI workflow?
Since deploying Roast internally, Shopify engineers have analyzed thousands of test files, significantly increased test coverage, automated Sorbet type annotation, enabled proactive SRE monitoring, and saved hours of…
What tools did this team use?
Roast, Claude Code, Raix, Sorbet, Ruby, Slack, OpenAI API, OpenRouter.
What results were reported?
Test files analyzed: thousands of test files; Test coverage improvement: significantly increasing test coverage across the board; Manual research time saved: saving hours of manual research; Community contributors: a dozen Engineers (source-reported, not independently verified).
What failed first in this deployment?
Unconstrained AI agents could not reliably traverse large codebases; they needed discrete structured steps to stay on track.
How is this quality assurance AI workflow structured?
Workflow defined in YAML → Deterministic steps execute → AI analyzes or generates → CodingAgent iterates on complex tasks → Session replay enables resumption → Comprehensive report produced.