Menu

Demote, don't delete: the migration plan that survives production
📰

Demote, don't delete: the migration plan that survives production

DEV Community: angular·Adil Ben Moussa·11 days ago
#DpJqLJSd
#devtoangular#devto#dev#legacy#plan
Long article (969 words) — no AI summary yet.
Reading 0:00
15s threshold

This is part 4 of 8 of the free series AI with Angular: agents in your codebase , first published on tt-tech.io .

The previous part gave the agent a task file for a new feature. A migration is harder, because the code is already in production. Ask an AI coding agent to modernise a legacy Angular module and it answers with a plan in thirty seconds.

In the runs I have seen, that plan opens with "delete". Here is why it fails, the plan that works, and the five-minute review that tells them apart.

The agent's plan, and the three places it breaks

The concrete case is the demo repo's libs/legacy/transfers : an NgModule , a component with *ngIf , manual subscriptions, markForCheck() calls and its own table of transfer limits.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.