Depop's migration of roughly 10,000 unit tests from XCTest to Swift Testing, with partial help from coding agents, is not just a technical milestone. It is a practical demonstration that AI-assisted refactoring can deliver measurable, near-term ROI, faster CI runtime, without requiring a full rewrite or a team of specialists. That matters because too many organizations treat modernization as an all-or-nothing gamble. Depop proved you can take a targeted swing at a legacy bottleneck and win.
The nuance here is worth examining. Coding agents handled parts of the migration, but not all of it. That aligns with a point Kent Beck made recently at QCon San Francisco, arguing that Preserving Future Options: Kent Beck on the Real Cost of AI Coding Tools means we need to be careful about how much flexibility we trade for speed. Depop's approach sidesteps that trap: they used AI to accelerate a mechanical, well-understood task (translating test frameworks) while keeping human judgment in the loop for the architectural decisions. The result is a faster pipeline, not a narrower set of future choices. For teams wondering where to deploy AI agents first, this is a concrete model: start with the grunt work that slows you down, not the creative work that defines you.
There is also a lesson here about the kind of code that plays well with AI. Depop's tests were relatively straightforward to migrate, which suggests they were already structured in a way that minimized side effects and hidden state. That is not accidental. As Uberto Barbini discussed in When AI Agents Write Code, Functional Programming Leads to Cleaner Results, functional patterns tend to produce code that AI tools can reason about more reliably. Depop's success with AI assistance in this migration reinforces that insight: the cleaner your existing codebase, the more leverage you get from automation. Teams that invest in modular, predictable code today are setting themselves up for better AI collaboration tomorrow.
The specific takeaway for our readers is this: you do not need a massive AI initiative to see real gains. Depop modernized 10,000 tests and cut CI runtime by choosing a single, well-scoped target and letting coding agents handle the repetitive conversion work. That is a template that can scale down to any team with a legacy test suite and a bottleneck in their pipeline. The open question is whether teams will treat this as a one-off fix or as a signal to start designing their codebases for the kind of AI-assisted maintenance that is becoming the new baseline.
