How Evidence-First Checks Guide the Next Safe Step in Application Modernization

GitHub BlogGitHub Blog·Original
Operator Bae ChangHyun

Key point

An evidence-first method applied to four public applications helps teams choose a least-disruptive modernization step and define what they can prove.

Details

  • Evidence-first modernization across four public applications begins with documenting working behavior, runtime pins, verified commands, external contracts, and unknowns before choosing changes.
  • Component decisions favor the least disruptive option: keep, upgrade, swap, wrap, or rewrite; removing a capability requires confirming it is unused or superseded with its owner.
  • A time-boxed feasibility check determines whether to capture legacy behavior before upgrading or build a small modern slice first; safety levels run from L0, no usable regression net, to L4, an automated CI gate.

Application results

  • PiggyMetrics: with JDK 8, the config module compiled; 14 account-service tests ran, five passed and nine errored after embedded MongoDB returned HTTP 403, with its i386 binary unable to run on Apple Silicon. The plan was to establish a Testcontainers baseline, then move to Java 21 and Spring Boot 3.3; replace Zuul with Spring Cloud Gateway, Hystrix with Resilience4j, and the retired OAuth stack with Spring Authorization Server and JSON Web Token (JWT) resource servers. The in-scope build went from nine modules to seven; Eureka and Cloud Config stayed.
  • BrowserQuest: Node 0.4.7 moved to Node 22, and two obsolete WebSocket stacks were replaced with ws. DOOM retained its renderer, 35 Hz simulation model, and WAD format while replacing X11 video and OSS audio with SDL2; its checks protected against regressions in the modernized engine, not parity with a legacy binary.
  • ADempiere: the proof of concept moved the runtime to JDK 21, preserved SOAP web-service contracts while replacing XFire with CXF and Jakarta, and compared a first modern business partner write with a result frozen from the legacy application. The report covered 30 merged modernization pull requests and 102,587.72 reconstructed Copilot credits—not a dollar cost or a claim of full modernization.

Reusable process

  • The public doc-and-modernize agent skill for GitHub Copilot encodes evidence requirements, the feasibility fork, safety levels, and phase gates, while leaving organizational policy and architectural approval to people responsible for the system.
  • Start with one owned application and an observable workflow; approve one experiment rather than a portfolio rewrite. GitHub CLI’s gh skill commands are in public preview.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.