When a multi-year legacy migration stalls at eighty percent due to edge cases and waning morale, how do you ruthlessly unblock the final stretch?
Evaluating the engineering leader's capability to drive complex, long-running programs across the finish line when initial momentum has faded and organisational fatigue sets in. Use this engineering leadership answer to show the decision, trade-off, and evidence rather than a memorised definition. It also connects program delivery to the point an interviewer is testing.
What the interviewer is scoring
- Does the candidate identify the technical and organisational blockers preventing completion?
- That they apply the Strangler Fig pattern or similar strategies to isolate remaining edge cases.
- Whether they re-energise the engineering team and realign incentives for finishing the migration.
- Whether the candidate manages stakeholder expectations regarding the delayed timeline and ROI.
- Does the candidate make the difficult decision to deprecate features if edge cases are not worth migrating?
Answer
Short answer
Evaluating the engineering leader's capability to drive complex, long-running programs across the finish line when initial momentum has faded and organisational fatigue sets in.
The final-twenty-percent trap
The most dangerous phase of any major infrastructure migration is the final twenty percent. The trap is succumbing to the sunk-cost fallacy and analysis-paralysis, attempting to perfectly replicate every undocumented legacy quirk and esoteric edge case in the new, modern architecture. When a migration from a monolithic mainframe to a distributed microservices architecture stalls, the organisation is forced to bear the immense cognitive and financial burden of operating two vastly different stacks in parallel. The naive approach is to simply throw more engineering hours at the remaining complexity. This guarantees burnout, destroys team morale, and often leads to the initiative's cancellation by executive leadership.
Ruthless scope reduction and feature deprecation
Unblocking a stalled migration requires a shift from technical execution to rigorous, data-driven scope management. The remaining edge cases must be ruthlessly triaged. Usage logs and business value metrics inevitably reveal that a significant portion of the undocumented features are rarely used or serve low-revenue customers. Engineering leadership must possess the fortitude to have difficult conversations with product and sales leadership, forcefully advocating for feature deprecation. The engineering effort required to migrate low-value esoteric configurations vastly outweighs their commercial return. Sunsetting these capabilities is essential to shrink the migration scope.
Abstracting the stubborn remnants
For the edge cases that demonstrably require migration, a feature-by-feature rewrite is a strategic error. Instead, the architecture must leverage the Strangler Fig pattern. The remaining legacy components should be wrapped behind an API gateway, presenting them as standard microservices to the rest of the modern ecosystem.
This abstraction decouples the completion of the migration's primary objectives from the immediate decommissioning of the mainframe. It isolates the complexity and buys the engineering team breathing room. Implementing strict observability and tracing across this API gateway ensures that routing rules intercept legacy requests flawlessly, without degrading performance.
flowchart TD
A["Assess Stalled Migration"] --> B["Analyse Remaining Edge Cases"]
B --> C{"Is Feature Commercially Viable?"}
C -- "No" --> D["Negotiate Feature Deprecation"]
C -- "Yes" --> E["Apply Strangler Fig Pattern"]
D --> F["Shrink Migration Scope"]
E --> F
F --> G["Realign Incentives & Focus"]
G --> H["Decommission Legacy System"]Realigning incentives for completion
Technical strategy alone cannot overcome abysmal morale. The engineering team, exhausted by years of effort and distracted by the business's demand for new features on the modern stack, must be re-energised. The final phase must be rebranded, establishing aggressive but achievable short-term milestones to rebuild momentum. Crucially, engineering management must realign incentives: engineers must be explicitly recognised and rewarded for the unglamorous work of finishing the migration and decommissioning legacy systems, rather than solely for shipping new product features.
The final twenty percent of any major migration is infinitely more difficult than the first eighty, requiring a shift from technical execution to ruthless scope management. The most effective technical leaders possess the courage to challenge product requirements, forcing the organisation to abandon low-value legacy features in order to finally achieve architectural purity and operational efficiency.
© 2026 Preptima. Originally published at preptima.com.
Likely follow-ups
- How do you decide which edge cases are worth negotiating away versus which ones a key customer will never let you drop?
- How would your approach change if the stalled migration were six months old instead of multiple years, before fatigue has fully set in?
- How do you prevent the Strangler Fig wrapper around the legacy mainframe from itself becoming a permanent piece of unmaintained infrastructure?
Related questions
- How do you execute the Inverse Conway Maneuver on a 200-person engineering org that accidentally built a distributed monolith mirroring their dysfunctional silos?hardAlso on engineering-leadership3 min
- When your infrastructure is heavily coupled to proprietary managed services, how do you design and execute a cloud provider exit strategy without obliterating the business?hardAlso on engineering-leadership2 min
- Every workstream in your program is reporting green, but you are fairly sure the program is going to miss its date. What is going on, and what do you do?hardAlso on program-delivery5 min
- How do you conduct a post-mortem after a catastrophic Sev1 outage triggered by a junior engineer's mistake, without succumbing to the blame game?hardAlso on engineering-leadership2 min