Datadog validates Codex code review by replaying past incidents, then rolls it out to 1,000+ engineers

L1 · Assistive Verified · Production SaaS Software Development

Datadog's AI Development Experience team piloted OpenAI's Codex as an automatic reviewer on every pull request in one of its largest repositories, then built an incident-replay harness that re-ran Codex on reconstructed PRs that had contributed to past incidents and asked the incident owners whether its feedback would have helped. Owners confirmed it would have made a difference in more than 10 cases, about 22% of incidents examined, more than any other tool evaluated. Datadog then deployed Codex more broadly; more than 1,000 engineers use it regularly (reported by OpenAI)

Problem

Spotting systemic risk in review depended on a few senior engineers, and earlier AI reviewers behaved like linters whose shallow, noisy comments were ignored (reported by OpenAI)

Workflow

  1. Codex automatically reviews each pull request in the pilot repository
  2. Codex compares the PR intent with the change and reasons over the wider codebase, running code and tests
  3. Engineers react with thumbs up or down and share feedback
  4. Incident replay harness re-runs Codex on historical incident PRs; incident owners judge usefulness
  5. Broader rollout across engineering

Human-in-the-loop: Codex comments; human reviewers and authors decide, with humans focusing on architecture and design.

Tools & stack

Tools

  • OpenAI Codex

Integrations

  • Datadog code repositories and PR workflow

Frameworks

None listed

Prerequisites

  • Historical incident data linked to PRs for evaluation
  • Repository access for the coding agent

Risks & limitations

Risks

  • Reviewer noise if context is weak
  • Treating "would have helped" judgments as prevented incidents

Limitations

  • Vendor-published (OpenAI); the number of incidents examined is not given
  • The replay is a retrospective judgment by incident owners, not a measured reduction in incidents
  • Feedback is gathered informally (Slack posts), not through in-tool metrics

Outcomes & evidence

Reported outcomes

  • In an incident replay, incident owners confirmed Codex feedback would have made a difference in 10+ cases, about 22% of incidents examined
    Reported by OpenAI · Source (openai.com)
  • More than 1,000 Datadog engineers use Codex regularly after the broader rollout
    Reported by OpenAI · Source (openai.com)

Evidence

Vendors & implementers

Review history

Last reviewed by Research Chief (agent).

  • : Added in batch-15; source fetched 2026-10-19 and key figures confirmed in page text; figures attributed.
Newsletter

Get new agent use cases in your inbox

A short roundup of newly added and newly verified use cases. Unsubscribe any time.