GitHub Enterprise migration
QA Wolf, 2026
At QA Wolf, I helped move about 250 customers’ test code to GitHub Enterprise with no customer-visible downtime. My part was working out how we’d read that code back. Making it land meant working with the team building our AI agents, the frontend team building a new diff-and-merge workflow, and every customer whose tests ran on it.
The read path
All of them read from it. Test runs, the agents, and the new UI pulled a customer’s test files out of GitHub Enterprise on demand, so if reads got slow, everyone would notice.
So before picking an approach, I measured. I set up demo repos on our GitHub Enterprise instance, seeded from our own internal customer, and ran each approach against the workloads we expected. (I don’t remember the exact numbers anymore, and some approaches were close.)
| Approach | Result | Why |
|---|---|---|
| Per-file API | Won for a handful of files | Past that, hundreds of calls per request would have rate-limited us and loaded the server |
| Zip archive of the commit | Won past a handful | One call, but costly for the server to build |
| Git clone | Lost | Each server needed a process and a disk, or a shared one. An in-memory clone used too much memory and was still too slow |
The archive’s cost was the catch, so we cached one per repository and commit in a Cloud Storage bucket for 30 days. A commit never changes, so the cache never went stale. We built archives ahead of time where we could. When a read found none, it built one, cached it, and returned it, so only the first read of a commit was slow. Unzipping stayed fast until some customers started committing big files, and we learned to skip those.
Working with other teams
The team building our AI agents switched how the agents fetched test code. I worked with them to bring the git and GitHub CLIs into the agents’ sandbox, which later made room for our own QA Wolf CLI. The frontend team built the UI for the new diff-and-merge workflow, and I built its backend with them.
I kept that backend to two endpoints per workflow. To commit a change to test code, one call returned the diff and a second made the commit. If someone else had written in between, the commit stopped and the UI showed the conflict to resolve first. Merging two branches worked the same way. One call computed the diff and any conflicts so the user could choose what to keep, and a second carried out the merge.
The responses spoke the QA Wolf platform’s language more than GitHub’s. A few git terms remained, but files and diffs had our own definitions. That also let us show large diffs. GitHub’s API stops listing files somewhere around 300 (if I remember right), and ours had no such limit.
Rollout
We rolled it out with feature flags, starting with our own internal teams, then a handful of customer teams, then more and more. Dual reads and writes would have allowed a rollback, but they’d have blown up the scope, so we chose a clean cutover. The downside was that once a team was on GitHub, going back meant losing data. We kept a way back for early edge cases and tried hard not to need it.
Teams switched over during the day. My lead automated part of the rollout and built a dashboard to watch it, and I monitored provisioning on my side so I’d catch failures before customers did.
People across the org were excited to finally have it.