Kush Agrawal explains why Duolingo built an agent-assisted workflow to improve unit-test coverage in its iOS codebase.
He describes selecting files, generating test pull requests, monitoring continuous integration and routing passing changes to human reviewers. The team added rules to prevent production edits and deleted or disabled tests.
Agrawal reports that the pipeline merged more than 700 human-approved test pull requests and that overall unit-test coverage increased from 11% to 24%. He discusses lint failures, flaky tests and applying the workflow to other migrations.
Watch on YouTube




