Use cases · Banking

Upgrade Hundreds of Internal Services Without Pulling Teams Off Their Roadmaps

A bank upgrades a few hundred Spring Boot 2 services. Refactoring tools make the mechanical edits, a coding agent fixes what breaks, and every change arrives as a pull request.

The problem

A bank has a few hundred internal Java services on Spring Boot 2. Spring Boot 3 needs Java 17 and moves package names from javax to jakarta across code, configuration and dependencies. The owning teams have other priorities, and the code cannot go to an outside service.

Deterministic tools first

Run OpenRewrite’s Spring Boot 3 migration recipe on every repository first. It makes the mechanical edits the same way every time. The agent handles what is left: compile errors from libraries the recipe does not know, failing tests and deprecated APIs with no direct replacement.

The agent loop

For each repository, the job:

  1. Clones it and runs the recipes.
  2. Builds and runs the tests.
  3. If anything fails, lets the agent edit and rebuild in a loop.
  4. Stops when the build and tests pass, or at its budget of steps or tokens.

An agent that has not fixed a repository in thirty steps rarely fixes it in three hundred, and a run without a limit can quietly use a week of GPU time. The agent may not delete or skip tests, which the job checks by comparing test lists, and its only output is a pull request for the owning team to review.

Testing the models

SWE-bench, the most cited benchmark for coding agents, is built from 12 Python repositories and says little about Java build errors. Build your own from twenty repositories the platform team already upgraded by hand, and run each model through the same harness. Start with Qwen3 Coder 30B, which activates about 3B parameters per token and answers quickly, and use GLM-4.6 for a second pass on what it could not finish.

What to expect

Repositories fall into three groups: ones the recipes alone upgrade, ones the agent finishes, and ones that need a person, with a report of where the agent stopped. Run the known twenty first, then one team’s services, then everything. Afterwards, editor assistants such as Continue and Cline can use the same endpoint.

What it takes on Saturn Cloud

One endpoint, many agents, one job per repository

The model, the agents and the build tools all run on a Saturn Cloud install in the bank’s own environment.

  1. Build the harness

    Workspace

    An engineer develops the per-repository script in a workspace, with an open-source coding agent such as mini-SWE-agent or Aider pointed at the endpoint, and tries it on ten repositories by hand before scaling out.

  2. Serve the coding model

    Dedicated endpoint

    Qwen3-Coder-30B-A3B-Instruct on a dedicated endpoint, with a standard inference API that the agents call. Many agents run at once and each sends long prompts, so set the endpoint’s maximum workers for the size of the batch and lower it afterwards.

  3. Run every repository

    Parallel jobs

    Saturn’s parallel job dispatch starts one run per repository, saves each run’s output, logs and exit code to shared storage, and lets you re-run only the failures. The Git token the agent needs to push a branch is a Saturn secret, not part of the script.

  4. Open the pull request

    Job

    A run that passes pushes a branch and opens a pull request listing what the recipes changed, what the agent changed and why. A run that stops writes a short report for a person to pick up.

What to measure

Count merged upgrades, not opened pull requests

Repositories reaching a green build and green tests

Per run of the batch. Split it by test coverage, because a passing build on a repository with no tests tells you much less.

Review time and edits per pull request

How long the owning team spends reviewing, and how much they change. This is the real cost of the agent’s work.

Merged, then reverted

Upgrades merged and later rolled back, and incidents traced to an upgrade. Every one is worth a post-mortem.

Tokens and GPU-hours per repository

So the next batch can be sized, and so you can see which repositories the agent struggled with.

Tell us about the problem

We’ll recommend an approach, the open models to start with and what it takes to run it on Saturn Cloud.