Virgin Atlantic が Codex を活用して配送を高速化
Virgin Atlantic は OpenAI の Codex を活用し、クリスマスという最高リスク期間に新モバイルアプリを零欠陥でリリースするとともに、レガシーコードのリファクタリング速度とデータ分析ツールの構築効率を劇的に向上させた。
キーポイント
高リスク期間における品質保証の達成
クリスマスというソフトウェアバグ導入リスクが極めて高い時期に、Codex を活用してほぼ完全なユニットテストカバレッジを確保し、P1(最優先)欠陥ゼロで新アプリをローンチした。
レガシーコードのリファクタリング加速
長年維持されてきたレガシーコードベースに対し、Codex を使用することでリファクタリングが数週間から数時間に短縮され、コードサイズを最大 80% 削減する成果を上げた。
開発速度の飛躍的向上とプロセス変革
Figma プロトタイプからのフロントエンド実装が 1 週間で行えるようになり、スクリプトマスターからバックエンドチケット準備が遅れているという皮肉な状況になるほど、開発ビロシティが他工程を凌駕した。
データ分析チームへの波及効果
モバイルアプリ開発だけでなく、データ分析チームも Codex を活用してデータウェアハウス上に直接ツールを構築できるようになり、リスク低減とブロッカー解消が進んでいる。
影響分析・編集コメントを表示
影響分析
この事例は、生成 AI が単なるコード補完ツールを超え、企業のソフトウェア開発ライフサイクル全体を変革する実証例として極めて重要です。特に、リスクの高い時期に品質を犠牲せず迅速なリリースを実現した点は、経営層が AI 導入の決断を下すための強力な根拠となります。また、レガシーコードのリファクタリングにおける劇的な効率化は、多くの企業が抱える技術的負債解消への道筋を示しています。
編集コメント
このケーススタディは、生成 AI が「スピードと品質の両立」を可能にする唯一の手段であることを示しており、特にレガシーシステムを抱える大企業にとって導入の決定的な契機となるでしょう。
バージン・アトランティックは、Codex を活用して、ソフトウェアバグを導入するリスクが一年で最も高い時期の一つであるクリスマス休暇の旅行ラッシュに間に合うよう、リニューアルしたモバイルアプリをリリースしました。
「私たちは運航航空会社なので、顧客向けアプリケーションを本番環境に展開するタイミングには非常に注意する必要があります」と、バージン・アトランティックのデジタルエンジニアリング担当バイスプレジデントであるニール・レッチフォード氏は説明します。「人々がこのアプリを利用して飛行機に乗るのです。チェックインができなければなりませんし、航空機に搭乗することもできなければなりません。」Codex の支援により、チームはほぼ完全なユニットテスト(unit test)カバレッジを達成し、リリース時には重大度 P1 の欠陥(defect)をゼロで乗り切ることができました。
また、Codex はチームが何年も蓄積されたレガシーコードの refactoring を劇的に高速化するのを支援しており、航空会社全体の分析チームは、同社のデータウェアハウス上に直接ツールを構築しています。
「顧客の手元に届く前にアプリケーションの品質を向上させるために Codex を活用できる能力は、私たちにとってゲームチェンジャーでした。」
—ニール・レッチフォード、デジタルエンジニアリング担当バイスプレジデント
ロールアウトの実現
バージン・アトランティックは、クリスマス期間中に新モバイルアプリをベータ版としてリリースし、数週間後に本番環境で稼働させました。「テストカバレッジによる品質レベルは例外でした」とレッチフォード氏は述べています。
デッドラインの圧力下でその品質基準を達成するのは容易ではありません。固定されたローンチ日に向けて取り組むエンジニアリングチームは、納期を守るために範囲を縮小したり、テストを妥協したりしなければならないことがよくあります。Codex はバージン・アトランティックが逆のことを実現するのを助けました:彼らはアプリをローンチ時に P1 チケットゼロで出荷しました。
「エンタープライズ視点から、リーダーシップチームに話しかけ、『すべてがローンチに向けてグリーンだ』と全員に伝えようとするとき、これは非常に興味深い対話になります」とレッチフォードは言います。「私たちはこれまでに慣れ親しんできたことではない新しいことです。Codex を使用している限り、物事が遅れることはありません。」
モバイルアプリを超えて
同じような改善がレガシーコードでも現れています。チームが何年も維持してきたコードベースは、今では数週間ではなく数時間でリファクタリングされています。「Codex の利用により、コードベースのサイズが 78% から 80% 削減される事例も見ています」とレッチフォードは言います。
この速度は、他のデリバリープロセスの一部を凌駕し始めています。最近のスプリントでは、チームのリードフロントエンド開発者の一人(Codex の頻繁な利用者)が、バックエンドのスタブ処理を含めて、Figma プロトタイプから完全な動作するフロントエンドアプリケーションを 1 週間で構築しました。「スクラムマスターから受けた不満は、『バックエンドのチケットすら準備できていない』というものでした」とレッチフォードは言います。
速度はデータ側にも引き継がれています。「Codex は、データベースをコアデータウェアハウスへ移行する際の様々な障壁を取り除き、リスクを軽減するのに本当に役立ちました」と、データおよび AI 担当副社長のリチャード・マスターズ氏は述べています。Codex を用いることで、アナリストチームは現在、社内のデータウェアハウスに対して直接、内部アプリケーションのプロトタイプを作成できるようになりました。
「データをプロトタイプまで開発するには、文字通り数時間、あるいはワークショップ内でも可能なのです」とマスターズ氏は言います。ネットワーク計画、顧客体験、エンジニアリングおよびメンテナンスの各チームは、中央のデータおよび AI チームへのリクエスト経路をたどるのではなく、Codex を用いて独自の内部アプリケーションを構築しています。
「リファクタリングの分野で成果が見られています。以前は 2 週間かかっていた作業が、現在は約 30 分から 1 時間で完了するようになりました」
—ニール・レッチフォード氏、デジタルエンジニアリング担当副社長
次のステップ
Codex は、ゲートで顧客が使用するアプリケーションから、その背後にあるデータプラットフォームに至るまで、Virgin Atlantic のソフトウェア開発のあり方を変革しています。レッチフォード氏が次に問うているのは、エンジニアリングの進歩が他のデリバリープロセス全体よりも速くなった場合にどうすべきかという点です。
「これを単なる限定的な領域ではなく、ソフトウェア開発ライフサイクル全体でどのようにスケールアップしていくのか?」と彼は尋ねます。「これは非常に興味深く、抱えるべき良い問題だと思います」
「Codex の軌道は、純粋なエンジニアを超えた視点を持っています。それはすべての人にとっての実用的なツールへと進化しています」
—リチャード・マスターズ氏、データおよび AI 担当副社長
原文を表示
Virgin Atlantic used Codex to ship its revamped mobile app in time for the Christmas travel rush—one of the highest-risk periods of the year for potentially introducing software bugs.
“We’re an operational airline, so we have to be very careful about when we deliver applications to our customers live,” explains 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.” With the help of Codex, the team was able to hit the window with near-complete unit test coverage and zero P1 defects at launch.
Codex is also helping the team refactor years of legacy code dramatically faster, while analyst teams across the airline are building tools directly on top of the company’s data warehouse.
“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.”
—Neil Letchford, Vice President, Digital Engineering
Landing the rollout
Virgin Atlantic launched the new mobile app in beta over Christmas and went live in production weeks later. “The quality levels there due to the test coverage were exceptional,” Letchford says.
Hitting that quality bar under deadline pressure isn’t easy. Engineering teams working toward fixed launch dates often have to reduce scope or compromise on testing to ship on time. Codex helped Virgin Atlantic do the opposite: they shipped their app with zero P1 tickets at launch.
“These are really interesting conversations from an enterprise perspective when we’re talking to our leadership team, trying to tell everyone that it’s all green for launch,” Letchford says. “These are new things we’re not used to doing. Things don’t get delayed when we’re using Codex.”
Beyond the mobile app
The same kind of improvements are showing up for legacy code. Codebases the team had maintained for years are now being refactored in hours instead of weeks. “We’re seeing in some instances anywhere from 78 to 80% reduction in codebase size from utilizing Codex,” Letchford says.
The velocity is starting to outpace the rest of the delivery process. In a recent sprint, one of the team’s lead front-end developers (a heavy Codex user) built a complete, working front-end application from a Figma prototype in a week, with the backend stubbed out. “The complaint I got from the Scrum master was that we didn’t even have our backend tickets ready to start working on,” Letchford says.
The velocity is carrying over to the data side as well. “Codex has really helped us unblock and de-risk various migrations of databases onto our core data warehouse,” says Richard Masters, VP of Data and AI. With Codex, analyst teams can now prototype internal applications directly against the company’s data warehouse.
“You can develop that data through to a prototype in a matter of literally a couple of hours, or within a workshop even,” Masters says. Teams across network planning, customer experience, and engineering & maintenance are now building their own internal applications with Codex, rather than routing requests through the central Data and AI team.
“We’re seeing gains in the refactoring space where a two-week piece of work now maybe takes about 30 minutes to an hour.”
—Neil Letchford, Vice President, Digital Engineering
What’s next
Codex is reshaping how Virgin Atlantic ships software: from the apps customers use at the gate to the data platforms behind them. The next question for Letchford is what to do when engineering moves faster than the rest of the delivery process.
“How do we start scaling this up, not just in pockets, but across that whole software development lifecycle?” he says. “It’s a really interesting and a good problem to have.”
“The trajectory of Codex is thinking beyond pure engineers. It’s moving into a real tool for everyone.”
—Richard Masters, Vice President, Data and AI
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み