Repo Watch 03 — Uzi, from GitLab issue to merge request
I’m interested in what happens between “here’s a GitLab issue” and “here’s a merge request I can review.” Uzi, short for Uzinele Întunecate, turns that handoff into a workflow. A worker plans the change, waits for a decision, then implements it on a branch. The plan approval is the part I wanted to look at closely. Uzi on GitHub
From issue to merge request
On a connected GitLab project, the default uzi label makes an issue eligible to run. In the manual flow, you start the run from the board. Uzi’s documented setup has a web app and API backed by PostgreSQL, with a separate worker that does the agent work. The worker reads the repository and proposes a plan. You can approve it, request changes, or reject it. Once approved, a lead coordinates the coding and review loop. The result goes to a new branch and a merge request for a human to review and merge. Uzi also documents GitHub and Forgejo connections. Upstream workflow

Uzi’s upstream demo screenshot shows what the maintainer sees at the plan gate. Image by Vlad Mocanu / METAMINDS · MIT license
What the approval actually checks
Suppose you open a plan, then request a revision from another tab. The first tab still shows the old plan. Uzi’s approval handler takes a database row lock on the run, checks who owns it, and compares the expected gate revision when the caller supplies one. It also rejects approval while a revision request for the current gate is still pending. That’s a specific API check I can point to when asking what happens to a stale approval. Approval handler
The merge boundary has a separate control. Uzi’s GitLab setup calls for a dedicated bot with Developer access and a protected default branch that the bot can neither push to nor merge into. GitLab enforces that boundary. Uzi’s opt-in autopilot can skip plan approval for eligible issues, and the merge request still goes to a human. GitLab bot setup · Autopilot
Our earlier review also turned up a recovery detail I’d want to test. If a worker reports a full data volume, the API can park the run and retry after a delay. After the configured limit for counted parks, it can hold the run until the owner resumes it. That source path is worth reading because a worker can already have commits on disk when it runs out of space. Disk-pressure handling
The GitLab trial I’d run
I’d start with a disposable repo, a protected main, and autopilot off. The issue would ask for one small change with a test. I’d request a plan revision, try approving from the old view, then approve the updated plan. At the end I’d inspect the merge request, the test result, and the default-branch commit before deciding whether to merge.
This write-up is based on our local assessment and a source check at Uzi commit c6f5a7c. The GitLab trial and disk recovery are still to be run. Source revision