How to choose the next safe step in application modernization
- Source
- github.blog
- Publisher
- GitHub
- Author
- Sam Quakenbush
- Date

Context
Sam Quakenbush, a senior solutions engineer at GitHub, argues on the GitHub blog that modernizing an old should start by proving what still works, not by picking a new framework. He tried this evidence-first method on four public applications, from a small Node.js game to a large Java business-management suite, and then packaged it as a Copilot , a of instructions and scripts the assistant loads when a task calls for it.
The method begins with an inventory: the build and run commands that actually work, where runtime versions are pinned, which external interfaces other systems depend on, and which end-of-life dependencies are still in use, each marked as documented, inferred or unverified. Each component then gets the least disruptive treatment the evidence allows, in order: keep it, upgrade it, swap a , wrap it behind a stable interface, or rewrite it. Age alone does not justify moving down that list; a vulnerability with no patch for the pinned version, or a dependency that fails on the required runtime, can. A time-boxed feasibility check decides the next step. If the old component can still run, record its behavior and use that record to check the upgrade. If it cannot run without changes, build a thin modern slice of one workflow first, because demanding a full legacy test suite would be circular.
PiggyMetrics, a Java 8 microservices demo on Spring Boot 2.0.3, shows what the check can save. One service compiled, and another ran 14 tests: five passed, and nine errored because an embedded MongoDB test database failed to download with an HTTP 403 and its pinned binary targeted an older 32-bit architecture that would not run on the Apple Silicon machine. Quakenbush says he had already started thinking about replacing parts of the architecture, but the evidence pointed to a narrower first step: swap that test dependency, get a passing baseline on the old stack, put it in CI, then move to Java 21 and Spring Boot 3.3 and replace retired components behind their existing interfaces. The build went from nine modules to seven. He is careful about what such results prove. For DOOM, the checks froze outputs from the modernized engine, so they catch later regressions but do not prove the new version matches the original. For the much larger ADempiere suite, the report covers 30 merged pull requests and 102,587.72 reconstructed Copilot credits, which he says are not a dollar cost, and does not claim every screen was modernized.
The skill encodes the procedure, not the decisions. It can require evidence, bounded experiments and stated safety levels, but each organization still has to supply its approved runtimes, acceptable risk, compliance rules and who signs off on an architecture change.
- Before choosing a target framework, the author builds an evidence inventory (manifests, verified commands, runtime pins, external contracts, end-of-life dependencies) and labels each fact documented, inferred or unverified, so a guess is never reported as a finding.
- Treatment is decided per component in a set order: keep, upgrade, swap, wrap, then rewrite. Escalating needs evidence such as an unpatched vulnerability or a dependency that fails on the required runtime; the post says "the code is old" is not enough.
- A time-boxed feasibility check picks the path. If the old component still runs at acceptable cost, capture its behavior and then upgrade; if it cannot run unchanged, prove a thin modern slice first, because demanding a full legacy test suite there is circular.
- On PiggyMetrics, nine of 14 tests errored because an embedded MongoDB download returned HTTP 403. Replacing that test dependency with Testcontainers and getting a green baseline came before the move from Java 8 to Java 21 and Spring Boot 3.3.
- The author encoded the procedure as the public doc-and-modernize Copilot agent skill, but keeps policy with the organization: approved runtimes, acceptable residual risk, compliance rules, and who may declare a production change complete.
- Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
- agent skill — A reusable instruction file that teaches an agent how to do one job well — the procedure, the tools, and what counts as done.
- Folder — A named container that holds files and other folders; also called a directory.
- Dependency — Anything a program needs to run that its author did not write: the language, its standard library, or a separately installed package.
videoLet Your Agent Cook: Using Skills to Evaluate and Improve Your App — Ankur Duggal, Arize AIAI Engineer
articleLegacy System Modernization with Coding Agents: A Case StudyIago da Silva Rodrigues Alves, Cristiano Politowski, Jo\~ao Eduardo Montandon
articleCertifying Repeatable Entry-Replay Witnesses for COBOL-to-Java MigrationAndras L. Ferenczi, Mariya Bessonov, Allwyn Ponnudurai, Chandrakanth R. Mamillapalli, Krishna K. Maddula, Krishna K. Lingamneni