跳到正文
InfoQ· Robert Krzaczyński·· 2 小時前AI 評分63

QCon San Francisco 2026:OpenAI 以 Codex Agents 自動化 Spark 升級

QCon San Francisco 2026: Automating Spark Upgrades with Codex Agents at OpenAI

AI 導讀

OpenAI 數據基礎設施團隊以 Codex 驅動的智能體自動處理 Spark 升級,並讓智能體在既有系統保障範圍內運作。團隊先以生產輸入進行低優先級的影子測試,並建立設定覆寫服務和驗證技能;智能體據此檢視驗證報告、分類錯誤,再將作業轉至新版本。通過影子驗證但在生產環境失敗的作業可自動回滾至上一個 Spark 版本。

正文

At QCon San Francisco 2026, Mouli Mukherjee, Engineering Manager for Data Infrastructure at OpenAI, argued that AI agents are most useful not for rebuilding a data platform, but for the open-ended operational work that is hard to turn into fixed playbooks. OpenAI’s platform runs at exabyte scale, with hundreds of thousands of datasets and a Spark fleet on millions of cores, and Mukherjee showed how Codex-driven agents can take on that kind of work when the right systems sit underneath them.

Mukherjee clearly distinguished between deterministic systems and agents. She stated that anything requiring consistent outputs for the same inputs, such as access control, configuration resolution, and data correctness guarantees, should remain within the realm of proper systems. Agents utilize these systems as tools and do not attempt to reimplement them. As she expressed:

We should definitely build the systems where we want guarantees and guardrails.

Agents earn their place where failure modes and remediations cannot be fully enumerated in advance, such as debugging: follow the evidence, decide what to try next, and stay inside the tools’ guarantees.

The Spark upgrade outlines steps taken to ensure safety. The team first built a shadow-run service for testing, which reused production inputs and operated on a low-priority queue to avoid impacting live operations. They also implemented a configuration override service to prevent experiments from changing global settings and developed a validation skill to compare production and shadow runs. After these safeguards were in place, agents claimed jobs, launched shadow runs, reviewed validation reports, classified errors, and transitioned jobs to the new Spark version.

Mukherjee reported that the same primitives now cover more of routine platform operations. Agents can tune job efficiency continuously by inspecting query plans, trying a config change, comparing runs, and iterating. For lower-risk incremental library releases, the team sometimes skips the shadow step and promotes directly, trading capacity for higher rollback risk. Jobs that pass shadow validation but later fail in production can auto-roll back to the previous Spark version so pipelines keep running without manual intervention. On the support side, agents can search past incident reports, suggest runbook updates, trace why a table is stale through orchestrator and scheduler logs, and help users understand access-control denials, while permissions still enforce the user’s own credentials.

Mukherjee recommended starting with the repetitive, open-ended tasks where judgment matters and failure modes are too numerous to hard-code, building the safety mechanisms first, and only then letting agents operate inside those bounds so experimentation stays repeatable, observable, and reversible.

About the Author

Robert Krzaczyński

Show moreShow less

來源:InfoQ · infoq.com