Practical technical guides / Recent development: OpenAI Pando engineering post (2026-11-02)

Per-Branch Ordering Is Enough for Agent Pushes: What Pando Drops and What Multi-Branch Jobs Must Record

OpenAI described Pando on 2 November 2026: per-ref ordering instead of a repository-wide snapshot. Which jobs read several branches, and how to record what they read.

By Sandeep Belgavi · Published 2026-11-05

OpenAI described Pando on 2 November 2026: per-ref ordering instead of a repository-wide snapshot. Which jobs read several branches, and how to record what they read.

Why a Git server stopped promising one snapshot

On 2 November 2026, OpenAI published "Scaling Git at OpenAI", a description of Pando, a Git-compatible backend that "now powers all development in OpenAI's monorepo". The post is unusually specific about what it gave up. Pando keeps the Git protocol and the Git client, but drops two things most Git servers treat as requirements: a consistent snapshot of every ref, and a packfile built for each fetch.

The reason given is the workload agents create. One engineer now has several changes ready at once, and each push can set several CI jobs fetching the same commit. From around the end of 2025, the authors write, the monorepo suffered slow fetches and pushes and failed merges, "with reliability at times falling below 90%".

This guide is about the first of those two relaxations, because it changes what a tool reading a repository can assume. It explains what per-ref ordering does and does not promise, which common jobs depend on more than that, and a small habit that keeps such jobs correct on any Git host. Pando itself is not available outside OpenAI; every production figure below is OpenAI's own, from one very large repository, and is not something we measured.

What Pando orders, and what it does not

In most Git servers, the set of refs is one consistent object. A client fetching or cloning sees every branch as of one moment, and the server pays for that with coordination: pushes to unrelated branches contend on a single point that orders all ref updates.

Pando stores each push as an immutable packfile in blob storage and records a ref version in a metadata store. The post states the resulting guarantee precisely: Pando provides "a weaker form of consistency across the entire repository, while providing serializability for updates to individual refs. Clients only conflict when pushing to the same ref simultaneously. A client reading several branches cannot assume those reads describe a single point in time across the repository."

The post gives a concrete case. If branches foo and bar are both updated while a full clone negotiates, "one client may observe foo at version 1 and bar at version 2, while another client observes foo at version 2 and bar at version 1." Each push gets "read-your-own-write" consistency: the pusher can immediately read back what it wrote.

The bet is stated in one sentence: "In practice, users and agents are agnostic to the global ordering of ref updates, and instead depend on the order of updates to a single reference." The authors call the result causal consistency, because to fetch a ref the reader replays the history of the writer that produced it.

The second relaxation, briefly

The other change is about reads. Instead of building a custom packfile for every fetch, Pando serves the packfiles that pushes created. When a client pushes a new branch, Pando advertises only the trunk, so the client's pack contains everything outside the trunk and depends on nothing else. A full ref advertisement with millions of branches "can exceed 100 MiB", which is another reason to advertise only a few. The cost is larger pushes; the post reports a median pack under 20 KiB and a 99th percentile under 3 MiB in its monorepo. Fetches return packfile URIs, and a service called Express serves them from regional caches. Background compaction groups small packs into covers, "up to L4" today, so planning a fetch needs logarithmic rather than linear metadata reads.

The reported outcome: switching "reduced the latency of the median push by nearly 80%", and Pando "can deliver a petabyte of Git data per day with just a handful of CPU cores". The interactive comparison in the post is labelled as synthetic teaching models, not benchmarks.

Which workloads need more than per-ref order

Most of what developers and coding agents do touches one ref at a time: push a branch, fetch a branch, open a pull request from it, run CI on one commit. Per-ref ordering is exactly enough for those. An agent that pushes its draft to agent/CASE-1042-reply and a CI job that tests that branch never needed to know what any other branch looked like at that instant.

Some jobs do read several refs and silently assume they read them together. A release job is the usual example. At Belgavi's Book Store, Geetha's team lets help-desk agents push draft reply templates, one branch per case. A weekly job lists the branches whose pull requests were approved, merges them into a release branch and writes release notes. Other jobs with the same shape:

  • a dependency or license scan that reports on "the repository" by walking several branches;
  • a dashboard that compares a feature branch against main and a release branch;
  • a backup or mirror job that copies all refs and later claims the copy is "as of" a time;
  • any script that calls git fetch for several refs and then git rev-parse on each, as if both commands saw the same state.

On a server with a repository-wide snapshot, a single fetch hands such a job a consistent set. On a server that orders refs independently, two refs read in one operation can come from different moments. And even on a conventional server, a job that runs several commands is already exposed, because each command sees whatever state exists when it runs.

The fix: record the exact commit per ref

The habit that makes these jobs correct anywhere is simple. Read each ref once, record the commit id you read, and do all further work by commit id, never by branch name.

#!/usr/bin/env bash
# release_inputs.sh: resolve each approved branch once, then work only with commit ids.
set -euo pipefail
: > release-inputs.txt
while read -r branch; do
  sha=$(git ls-remote --exit-code origin "refs/heads/$branch" | cut -f1)
  echo "$branch $sha" >> release-inputs.txt
done < approved-branches.txt
# Fetch the recorded commits by id; a branch that moves afterwards cannot change the release.
git fetch --no-tags origin $(cut -d' ' -f2 release-inputs.txt)
git switch -c "release/$(date +%Y-%m-%d)" origin/main
while read -r branch sha; do
  git merge --no-ff -m "Merge $branch at $sha" "$sha"
done < release-inputs.txt

Fetching a commit by id needs the server's cooperation. Git's protocol version 2 documentation says a client's wants "can be anything and are not limited to advertised objects", although a host can still restrict what it serves; with the older protocol version 0, the server needs uploadpack.allowReachableSHA1InWant or a similar setting. If yours does not allow it, fetch the branch names and compare the fetched commit with the recorded one before merging, and fail if they differ.

Write the recorded pairs into the release notes. Anyone can then reproduce the release, and the job no longer has an implicit assumption about how the server orders refs. The same idea applies to the other jobs in the list: a scan records which commit of each branch it scanned; a mirror records the commit id of each ref it copied rather than one timestamp.

What stays strongly ordered

Per-ref ordering still means a lot. Two writers to the same branch conflict, and one of them is rejected and must fetch and retry, exactly as with any Git server. That is the guarantee a merge queue, a protected main and an agent pushing to its own branch rely on, and Pando keeps it.

What the post does not discuss in detail is how it treats features that update several refs together. Standard Git has git push --atomic, which asks the server to update all named refs or none. The post does not say whether Pando supports atomic multi-ref pushes, or how. If a tool relies on them, it should check its host's documentation rather than assume.

Deciding whether your tooling is exposed

A short review is enough for most teams:

  1. List the jobs that read more than one ref in one run.
  2. For each, ask whether the result would be wrong if two of those refs were read seconds apart while someone pushed. Many reports are fine with that; releases, audits and mirrors usually are not.
  3. For the ones that are not, add the record-the-commit step above, and store the recorded ids with the output.
  4. Keep single-ref workflows as they are. They need nothing new.

None of this requires running Pando. It removes an assumption that was never guaranteed across separate Git commands anyway, and that a backend built for many concurrent agents has now stated it will not provide even within one fetch.

Limits

This guide summarises one engineering post and draws general advice from it. The production results, the design details and the reasons given are OpenAI's; the post also lists client changes, such as parallel pack downloads and explicit haves, in OpenAI's public Git fork, which we did not review. We have not used Pando. The release example uses standard Git and a synthetic book-store repository.

Primary references and authorship

Sources dated on or before 5 November 2026. Original explanation and synthetic examples by Sandeep Belgavi. Companion code: Sandeep-BA/agent-decision-lab/examples/python/multi_ref_release_inputs. Views are my own and do not represent any employer, past or present.