iFood Has 15,000 Repositories. Who Decides If a Fix Is Done?
iFood built a shared runtime for 15,000 repositories. Its dependency-fix rollout shows why a four-cent model run is only the first line in the bill.
A team at iFood can send a repository job to an internal API and come back later to a merge request, according to a case study OpenAI published on November 24. iFood has more than 15,000 repositories, so the decision facing its platform team is one other engineering organizations will hit as soon as a pilot spreads: what should the model decide, and what should the surrounding software verify? OpenAI’s iFood case study
Put the handoff in the API
Before iFood built its Remote Agents Platform, teams had their own ways of automating recurring repository work. Victor Coelho, a senior software engineer at iFood, describes a recurring problem in those efforts. Each team needed somewhere to execute its jobs and a way to manage them once a request came in. The shared platform gives teams a REST interface for submitting a prompt and environment requirements, checking progress, and retrieving results. That makes the caller an internal application as easily as it makes the caller a developer. OpenAI’s iFood case study
Think of a dependency scanner that already knows which repository needs attention. It can submit a job and record the run identifier, then keep doing its own work while the remote runner handles the change. When the result comes back, the scanner has a way to tie the proposed change to the finding that started the job. That is the practical value of the interface. A team can integrate repository work into an existing product without building a runner and a result-tracking workflow of its own.
Give the model the middle of the job
iFood’s runner handles repository cloning, loading the skills available to the agent, and preparing the working branch. GPT-5.6 Luna then works inside an isolated Ubuntu sandbox. The platform takes over again to publish the merge request and make the resulting artifacts available. The case study describes an environment with multiple language toolchains. That matters because a model may know how to change a dependency declaration and still need the repository’s build tools to regenerate a lockfile or check that the project compiles. OpenAI’s iFood case study
A fixed setup also gives the team somewhere to resolve failures before inference starts. A missing repository permission should come back as a setup failure. A job that finds no compatible upgrade needs a different outcome. And if a caller retries after a timeout while the original run is still alive, it helps to recognize the original request before another branch and merge request appear. Those are design implications of making jobs asynchronous. OpenAI’s account describes the lifecycle at a higher level and leaves iFood’s retry behavior unspecified.
There’s a related problem with company-specific instructions. iFood’s engineering blog describes how it makes internal standards and guidance available to development tools through shared documentation and executable skills. For a remote job, the equivalent question is which instructions were loaded when the patch was made. Recording that information would let a team reproduce a run after a policy or skill changes, especially if two projects that look similar end up with very different patches. iFood Tech on engineering governance
A result can be well formed and still be wrong
iFood processes the session result using OpenAI’s Structured Outputs. The feature constrains the shape of the model’s response to a supplied schema, so downstream software can read expected fields without scraping a paragraph. That is a sensible place for a run to identify its proposed change or report that it got stuck. The evidence for a successful fix still has to come from the repository and the systems that check it. A field that says tests passed is a claim. A CI result attached to the proposed commit is something the caller can check. OpenAI’s iFood case study · OpenAI Structured Outputs documentation
Consider a direct dependency whose patched release requires a newer runtime. An agent could produce a valid version bump and a perfectly legible success response while leaving the project unable to build on its supported runtime. A useful definition of done would tie the merge request to the original finding, check the resolved dependency version, and run the relevant tests against the proposed change. A platform can then route the patch through the project’s own review rules. GitLab documents required approvals and code-owner controls on eligible tiers. The iFood case study leaves the company’s merge policy unspecified. GitLab merge request approval documentation
Count resolved findings alongside completed runs
iFood’s first major use was an internal security product that checks for vulnerable dependencies and attempts repairs. OpenAI reports that the number of vulnerabilities fixed through that product more than doubled after it moved to the platform. The case study gives no before-and-after counts, observation window, or breakdown by type of upgrade. A rise in fixed findings could reflect a larger share of attempted fixes succeeding, more findings getting an attempt, or both. Those possibilities matter if you want to know what the rollout will do for your own backlog. OpenAI’s iFood case study
A platform team can make that distinction visible by following the same finding from discovery through attempted repair, validation, merge, and a subsequent check of the affected revision. Failed runs and proposals that never merge belong in that record alongside successful fixes. It also pays to preserve the distinction between a finding and a patch. One upgrade can resolve several findings, and one finding can generate several attempts. Either relationship can make a dashboard look healthier than the backlog engineers actually have to clear.
Four cents buys inference for an average run
OpenAI reports more than 25,000 completed platform runs and an average inference cost of US$0.04 per run. Coelho attributes iFood’s choice of GPT-5.6 Luna to its assessment of capability, efficiency, and speed. The case study gives no breakdown of how much sandbox time, CI, retries, or review those jobs consumed. It also leaves the distribution of spending across task types open. A routine version bump and an upgrade that touches build configuration can contribute to the same average while taking very different paths through the system. OpenAI’s iFood case study
For a rollout decision, price the work at the point where it leaves the queue. Take a batch of comparable dependency findings and total the inference and runner usage across their attempts. Add CI usage and record reviewer time, then relate those figures to the findings that actually closed. Track time waiting for a reviewer separately from time spent reviewing. A short review that waits a week calls for a different fix than a review that starts immediately and takes an afternoon. iFood’s case gives teams a concrete way to run the experiment. The decision to expand comes down to how much work reaches an outcome the repository owner can verify.
Frequently asked questions
Did every iFood repository receive an AI-generated change?
The case study gives the size of iFood’s repository estate. It gives no count of repositories that received or merged a change.
Which model did the remote runner use?
OpenAI identifies GPT-5.6 Luna as the model that executes the coding task inside the sandbox.
What does US$0.04 per run cover?
It is the reported average inference cost. The case study gives no all-in cost per merged fix.
Sources
> Want more like this?
Get the best AI insights delivered weekly.
By subscribing, you agree to our Privacy Policy. You can unsubscribe at any time.
> Related Articles
ChatGPT Is Merging Chat and Work. Will Your Last Run Fit?
ChatGPT is merging Chat and Work, and OpenAI says some heavy users may reach limits sooner. Here’s how to test whether your recurring jobs can still finish.
Google’s DeepCrossAttention Has a 3× Claim. What Did the Clock Measure?
Google’s DeepCrossAttention ran fewer batches per second yet reached a transformer’s target sooner. The 3× claim comes down to when you stop the clock.
Gmail’s MCP Send Tool Is Listed. Can Your App Use It?
Google’s Workspace MCP requirement takes effect February 1. Gmail lists a send tool, but builders still need to prove their app can use it with customer accounts.
Most Read
- 1 Kimi K3.1 Pro: China's Open-Weight Model Just Caught the Frontier
- 2 OpenAI Is Buying the Bottleneck: Can Orchestra Bio Cut a 15-Year Drug Timeline?
- 3 1,068 Tokens Per Second: Can Mercury 3 Change How LLMs Generate Text?
- 4 Same Price, Better Coding: How Good Is DeepSeek V4.1 Flash 1017?
- 5 Used OpenCode? Should You Rotate Your API Key After the Console Breach?
Latest News
- ChatGPT Is Merging Chat and Work. Will Your Last Run Fit?
- Google’s Decisions API Can Read the Photo. What If the Ticket Disagrees?
- Google’s DeepCrossAttention Has a 3× Claim. What Did the Clock Measure?
- Gemini Decisions API can score a photo. When should your app act?
- Gmail’s MCP Send Tool Is Listed. Can Your App Use It?
- Decision 1 Can Read Video—Will It See the Frame That Matters?
Tags
> Stay in the loop
Weekly AI tools & insights.