newsfilter
← Interviews
AI Engineer13 min

225,000 Lines of Tests, Written and Merged by Agents - Kush Agrawal, Duolingo

Kush Agrawal

Conference Presentation, Keynote

Duolingo's iOS engineering team, led by staff engineer Kush, deployed an AI-driven pipeline using Temporal and Cloud Code to generate 225,000 lines of unit tests, doubling repository coverage and increasing MVVM-specific coverage to 59%. The five-step workflow identified testable files, wrote code via autonomous agents, and enforced quality through a three-layer defense system that rejected over 73 flawed PRs while resolving infrastructure challenges like lint failures. This eight-month initiative successfully automated verification for a codebase that grew to nearly two million lines, allowing the team to shift from manual test writing toward modernization tasks like migrating legacy screens to SwiftUI.