The label on an application rarely tells you enough. "Java microservices" doesn't tell you which JDK runs in production, where that version is pinned, whether the tests execute, or which interfaces other systems depend on. "Legacy monolith" doesn't tell you whether the business core is broken or whether one retired platform dependency prevents the application from starting. Sam Quakenbush, a Senior Solutions Engineer at GitHub, argues that this gap between label and evidence is where modernization projects go wrong — people choose a target framework before they know what still works.
His method, applied to four public applications ranging from a small Node.js game to a large Java ERP system, inverts the usual sequence. Before recommending a change, build a small evidence inventory: manifests, lockfiles, entry points, deployable components, verified commands for installing and running, runtime pins in containers and CI workflows, external contracts such as APIs and database behavior, and end-of-life frameworks with evidence that the application still uses them. Record uncertainty as you work using three labels — documented, inferred, unverified. If two files disagree about the Java version, resolve the contradiction. If you can't determine whether a CI check blocks merges, say so rather than treating a guess as a finding.
Once the evidence is in hand, make the decision per component. A single system can contain code that should stay, dependencies that should be swapped, and one subsystem that genuinely needs a rewrite. Quakenbush proposes a decision order — keep, upgrade, swap, wrap, rewrite — and asks what evidence justifies choosing a more disruptive option. "The code is old" is not enough. A known vulnerability with no patched release, a dependency that fails on the required runtime, or a measured reliability target the current design cannot meet can justify escalation.
The next question is whether the component can run well enough to produce evidence. Run a time-boxed feasibility check: try to install dependencies, build on an available toolchain, start the component, and execute at least one meaningful test. Stop when the time box expires. The result sends you down one of two paths. If the old application can still run at an acceptable cost, capture its externally visible behavior, fix the test harness where practical, and use those checks to verify the upgrade. If the old component cannot run until you have already changed it, move the thinnest useful workflow to supported technology, prove it, and expand from there. Requiring a complete legacy test suite in this situation is circular — restoring the test suite is part of the modernization.
The PiggyMetrics case makes the method concrete. The project used Java 8, Spring Boot 2.0.3, Spring Cloud Finchley, Zuul, Hystrix, and the old spring-security-oauth2 library. It would have been easy to call the application unworkable and start drawing a new architecture. But the feasibility check told a different story. Running mvn -pl config -am compile against the legacy checkout with JDK 8 returned exit code 0 — the selected module and its reactor dependencies compiled. Running mvn -pl account-service -am test showed 14 tests: five passed and nine errored. The nine errors traced through a failed ApplicationContext load to an embedded MongoDB download returning HTTP 403, with a pinned binary targeting i386 that would not run on the Apple Silicon host.