How we automated code maintenance
summary
A polyglot code transformation framework automates migrations and removals across languages, turning patterns like JUnit4->5 changes (annotation renames, swapped assertion argument order, runner-to-extension rewrites) and feature flag lifts (replace flag value, boolean simplification, remove unreachable code, prune unused symbols) into reproducible edits that open pull requests and integrate with GitHub GitLab and Stash. Production use removes half a million lines in ~2,000 PRs over six months, estimated as 29 developers worth of work using a polyglot code transformation pipeline augmented by AI for ambiguous cases.
AI-written summary · about
chapters (6)
- 0:00Automated code maintenance intro
- 1:02Code maintenance challenges
- 3:53Code migration complexities
- 7:09Polyglot code transformations
- 8:40Simplifying automation
- 11:27Key takeaways
related talks
25mHow we automated code maintenance
19mA Lightweight Polyglot Code Transformation Language
40mRefactoring large JavaScript codebases
21mAutomating Front-End Refactoring
39mMoving fast and staying aligned how automation powers progress
01h 06mRewriting Legacy Code
48mWeeding Your Micro Service Landscape
28mLarge scale refactoring: from start to finish
