AI-Powered Impact-Based Testing for Faster Safer Releases
summary
Smart Engine analyzes each commit using 20+ signals — structural imports and call graphs, semantic embeddings (BGE‑M3), historical failure patterns, trust scores and dynamic risk — then ranks tests with SGD + LightGBM and returns a sub‑2s impact set to CI. Results show ~90–95% test reduction with recall maintained and accuracy rising from ~85% week one to ~98% at six months on a 100,000+ test codebase. FastAPI + Python backend pgvector storage and explainable scores
AI-written summary · about
chapters (55)
- 0:00Start
- 0:06Session Opens - AI-Powered Impact-Based Testing
- 1:07Running the Whole Suite on Every Change Is Expensive and Slow
- 2:08Speaker Intros - Srikanta Sahoo and Navneet Goyal, Principal Software Engineers at UKG
- 2:39The Opening Question: What If Every Code Change Told You What to Run?
- 3:10Ten Lines Changed, Thousands of Tests Queued
- 5:23A Decade of Change: Smaller Commits, More Frequent Deployments
- 5:53What Didn't Change: How We Run the Regression Suite
- 7:24Test Execution Becoming the Delivery Bottleneck
- 8:56The Right Question: Do All 50,000 Tests Have Equal Probability of Impact?
- 10:01The Real Cost of Full Regression Is More Than Compute
- 10:32The Cost Teams Don't Count: Developer Context Switching
- 12:07The Regression Paradox: Two Bad Choices
- 13:10Wanting Confidence That Can Be Explained and Defended
- 13:40Test Selection Isn't New - Tags, Priorities and Severities
- 14:42Why Each Breaks at Scale: Tags Need Discipline, Mappings Go Stale
- 15:13The Missing Ingredient in All of Them: Understanding the Change
- 16:46The Shift From Regression to Intelligent Regression
- 17:17Identify Impact, Rank by Risk, Execute the Subset
- 18:20The Types of Impact: Direct, Indirect, Semantic, Historical
- 19:21Critical Path: A Small Change to Payments or Auth Deserves More
- 20:55Combining 20+ Signals to Make the Selection Change-Aware
- 21:27AI Recommends; Engineering Policy and Risk Controls Still Govern
- 21:58Six Signal Categories: Semantic, Structural, Historical, Quality, Dynamic, ML
- 22:30Structural: Import Analysis, Call Graph, Package Coupling
- 24:03Semantic Signal: Comparing Business Meaning, Not Just Location
- 24:34The Bank Analogy - River Bank vs the Bank With Your Money
- 25:36Historical Signal: What Code and Tests Change Together
- 26:06Failure History and Separating Real Defects From Flakiness
- 27:10Quality Signal: The Trust Score and When to Widen Selection
- 27:43Explainability: Why Each Test Was Selected
- 28:13Dynamic Signal: Classifying the Type of Change
- 28:44Risk Score: Estimating the Blast Radius
- 29:49The Two ML Models: SGD for Linear, LightGBM for Non-Linear
- 30:50A Real Example: Changing Password Length Validation
- 31:53One Test Scored: Semantic 0.92, Dependency 1.0, Historical 0.85
- 32:55The Team-Defined Threshold Selecting Three of Four
- 33:55It Augments Your CI/CD - It Doesn't Replace It
- 34:25The Stack: FastAPI, Python, BGE-M3 Embeddings, LightGBM, pgvector
- 35:27Continuous Learning From Every Change and Every Execution
- 36:58Accuracy Over Time: ~85% in Week One, ~98% at Six Months
- 38:02The Measured Benefits: 90-95% Test Reduction With Recall Maintained
- 38:33Validated Against a 100,000+ Test Codebase
- 39:36The Headline Isn't Fewer Tests - It's Faster Confidence
- 40:07The Production Question: What If the AI Misses a Test?
- 40:38The Principle: The Model Proposes, Policy Governs
- 41:09Lessons From Early Evaluation: The Skipped-Build Problem
- 42:42Auto-Detecting Newly Written Tests So They Always Run Once
- 44:16The One Idea: Running the Right Tests With Explainable Reasoning
- 44:46Q&A: Should We Still Run Every Test for Every Release?
- 45:50The Recommendation: Every Nth Run Should Be a Full Run
- 46:51Q&A: Should Every Iteration Be Deployed?
- 48:25Q&A: Generating Enterprise Test Data
- 48:57Q&A: When an Agent Bypasses an Important Business Control
- 50:29Human Diligence Still Needed in the First Quarter
related talks
17mAI-Powered Integration Testing
06mTriple Threat: AI Technologies Reduce Testing Costs
26mAccelerating DevOps with AI
44mTest Intelligence: Finding More Bugs in Less Time with AI
36mCalvin Schroder: AI Powered Unit Testing: The Rise, The Challenges, and The Future
12mThe Synergistic Impact of Artificial Intelligence on DevOps
40mFrom Bugs to Brilliance: Leveraging AI in Modern Software Testing
28mSleep better on release day
