Smart Picks
AI Technology May 27, 2026

Virgin Atlantic says OpenAI Codex cut refactors to 30 minutes

Virgin Atlantic says OpenAI Codex cut refactors to 30 minutes

Virgin Atlantic has published results from its OpenAI Codex deployment, reporting that legacy refactoring jobs previously measured in weeks now complete in as little as 30 minutes. The airline also used the tool to ship a rebuilt mobile app during the Christmas travel rush hitting near-complete unit test coverage and zero P1 defects at launch.

A Mobile Launch With No Margin for Error

The revamped app went out in beta over Christmas before moving to full production weeks later. For an operational airline, that window carries real consequences. "We're an operational airline, so we have to be very careful about when we deliver applications to our customers live," said Neil Letchford, VP of Digital Engineering at Virgin Atlantic. "People are flying with this application. They need to be able to check in, and they need to be able to get on their aircraft."

Most teams facing a fixed holiday deadline choose between cutting scope and cutting test coverage. Virgin Atlantic did neither. Codex helped the team ship with approximately 100% unit test coverage — and the launch came back clean. "These are new things we're not used to doing," Letchford said. "Things don't get delayed when we're using Codex."

What the Refactoring Numbers Show

The Virgin Atlantic Codex results extend well beyond the mobile app. Teams are refactoring codebases they've maintained for years in hours rather than weeks, with Letchford citing a reduction in codebase size of 78 to 80% on some projects. Letchford puts the time savings plainly: a two-week refactoring job now takes roughly 30 minutes to an hour.

The speed is starting to expose bottlenecks elsewhere. In one recent sprint, a lead front-end developer built a complete working application from a Figma prototype in a single week only for the Scrum master to flag that the backend tickets hadn't even been written yet. Engineering is now moving faster than the surrounding delivery process can absorb.

On the data side, Richard Masters, VP of Data and AI, says Codex has helped unblock database migrations onto the company's core data warehouse. Analyst teams across network planning, customer experience, and engineering and maintenance are now prototyping internal applications directly against that warehouse work that previously had to route through the central Data and AI team. "You can develop that data through to a prototype in a matter of literally a couple of hours, or within a workshop even," Masters said.

The Broader Question Letchford Is Asking

Letchford says the results changed what he could bring to leadership. "The ability to utilize Codex to improve the quality of the application before it got into the hands of our customers was a game-changer for us," he said. What he's focused on now is scaling that impact beyond individual teams.

"How do we start scaling this up, not just in pockets, but across that whole software development lifecycle?" he said. Masters sees the same trajectory: "It's moving into a real tool for everyone." Virgin Atlantic gives enterprise teams evaluating similar tools a concrete data point faster code, cleaner launches, and leaner codebases.

Read the full case study at OpenAI's Virgin Atlantic case study.