This is the follow up to the first post about enabling upstream unit tests in the packages. The first post was about the idea, the first hand made changes and the container that could repeat the work. This one is about what I learned when the work became a real job at scale. The project went well, even better than I planned. The interesting part is what running at that scale taught me.
At the time of writing more than a hundred changes are accepted or merged and close to four hundred packages have been investigated. That is a good result. Of the rest, about one hundred and seventy turned out to have no usable upstream unit tests at all. Some changes are under human review, as the policy in Factory dictates. A small number were declined or withdrawn, each for a reason. But the interesting part is not the count. The interesting part is what the work cost in human attention, and what I learned about the role of a human in a fully agentic workflow.
The fleet that kept going
The driver I used kept a fixed number of containers running. Each container took one package, worked through the prompt, built locally, went through the worker and reviewer loop, and opened a request when the gate opened. When a container finished, the driver started another one. For hours the fleet worked without me touching it. That is the part the first post described as the promise of the approach, and it is real. It was pleasant to see the monotonous, repetitive work become a process I could observe. The work happened, the reports appeared, and nobody was typing.
But all of those requests and pull requests were opened under my name. That has a simple consequence. I had to review every one of them. Not only the technical diff. The message, the test counts, the skips, the claims about the build, the promise that the change is small and safe. I am not an expert in hundreds of packages. I know a lot about packaging and testing in general, but every package has its own history, its own build system and its own maintainer. I read the reports and the diffs with that limit in mind. Errare humanum est. I make mistakes too.
Some of those mistakes were small and easy to correct. I added a version guard that was always true. I built a test binary in the wrong section of the spec. I wrote a changelog entry that was longer than the change. Some were more expensive. I deleted a shared branch project and took several pending requests with it, because the project was shared by more packages than I had in mind. The lesson there is not that the agent failed. The lesson is that the human who owns the request also owns the mistakes, even when the hands that typed the change were not human.
What the runs taught me
I spent a lot of time on the prompt, the guard, the reviewer and the build gate. The design was good enough to run at scale, and the runs still taught me things I had not put in it. The disk space guard was one clear lesson. The first version kept a large build root for every build and filled the machine. The fix was simple once I saw it, but I saw it because a build failed, not because I planned for it. That is a good example of how agentic work starts. A human writes the requirements and the goals. If the human forgets something, the agent will turn that mistake into a realized mistake, and it will do it at scale.
The bigger lesson was circular dependencies at build time. I had not prepared the prompt or the agent to check for them. An agent can read a spec and add a test dependency, and the dependency can pull the package itself back into the build root. The build then fails in a way that looks like a normal dependency problem. One maintainer flagged it, and then spent face to face time with me explaining how his package works and why the test dependency would create a cycle. That conversation was more useful than any log. It also reminded me that agentic and AI driven is one thing, and talking to people is still a part of the engineering work.
I found other gaps in the same way. A build matrix can make a version guard pointless. A test can belong in %build and only run in %check. A custom wrapper around make check can look clever and still be the wrong thing. A test that needs a real EFI host does not become useful because it is in a spec file. Most of these are now in the lessons files and in the prompt, but they got there because a human on the other side took the time to point them out.
The human on the receiving side
The part I understood only after many reviews is that a contribution is not only a technical act. The receiving side is a human. That human has their own intent, motivations, requirements, compromises and cost concerns. A change can be correct and still be wrong for the person who has to carry it.
A few maintainers pushed back because they were worried, rightly, that enabling unit tests would create more work for them. A flaky test can stop a build. A failing test can stop a security update. The maintainer is the one who gets the bug report, the one who has to decide whether to fix the test or skip it, and the one who has to explain the delay. An AI agent cannot promise that it will help when that happens. I can. An agent cannot commit to a long term collaboration. I can. That difference often decides the conversation.
This is why I sometimes had to step back. AI driven development is a good thing, and I am convinced that some jobs can be safely left to a fully agentic and unattended solution. But not every job, and not every part of every job. Sometimes the right move is to slow down, explain the intention, and find out whether the change fits the plans and the resources of the other person. That is not a failure of the agent. It is the part of the work that the agent cannot do for me.
One maintainer told me that he first needs to refactor the package and its testing. I agreed with him that I can come back to the unit tests when that work is done. Some Java packages are still on hold for that reason, and that is the right decision. The agent could prepare a change today. It could not know that the package was not ready for it.
Upstream already runs the tests
A few maintainers asked a fair question. What is the point of running the tests in the build when upstream already runs them.
The answer is simple once it is said out loud. Upstream runs the tests on their own machines, with their own compiler, their own libraries and their own build options. SUSE ships the same source built with the SUSE toolchain, SUSE patches and SUSE flags. The build and the tests run on the architectures SUSE supports, in the products SUSE ships. That combination is tested nowhere else.
Several maintainers accepted the change after that explanation. They did not change their mind because an agent produced a better diff. They changed their mind because a person explained the difference between upstream CI and the build SUSE ships. This is information sharing and sometimes education. It is also part of software engineering. An agent does not sit with a maintainer, answer their questions and explain the intention. I do.
The same human step shows up when the tests find a real product bug. In a few cases the unit tests did find one. The agent could write down the evidence, but a human had to file the bug, talk to the maintainer and follow it up. That is another part of the work that does not fit in a prompt.
What worked
I consider this exercise a success. Together with dozens of package maintainers I enabled upstream unit tests for more than a hundred important packages, and the work is still going. Better test coverage is not a cosmetic improvement. It is a direct part of quality engineering. Better packaging quality has a direct and an indirect effect on the quality of the products. I am satisfied with that part.
One package done fully by hand, enabling the unit tests, building them and writing the request, takes several hours. Landing more than a hundred that way would have taken four or five weeks. With the agents it was a fun Hackweek project.
Most of the landed changes are in Factory. SLE has a different workflow. It is slower and more gated, and that is there for a reason. The SLE queue is a separate human step, and I will follow it next.
What’s next
The next step is to follow how these Factory changes can land on SLE. That workflow is slower and more gated for a purpose, so I do not want to rush it. After that I need to keep an eye on how these unit tests work in real life. A green build today does not prove that the unit tests will stay green. If a test turns flaky or needs maintenance, I want to act quickly. And I will extend the scope to the full Factory and see what the situation is there.
The code is at github.com/bzoltan1/unit-test-enabler.
The agents propose and people decide. That is the design. This exercise made me more convinced about the technical part and more humble about the human part. A contribution is a technical act, but it is also a conversation with a person who has to live with the result.




