published fresh until

Asana's Enzyme removal: how do parallel agents run a large migration?

Summary Asana says Codex agents removed its legacy Enzyme test framework in about two calendar weeks for roughly $12K, after years of slow manual progress. The useful parts for your own migration: a short prompt, agents split by directory, mechanical verification and twice-daily human review. Critics question the five-year baseline.

Not for ast-grep syntax-tree rewrites, upgrading one pinned dependency

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

What happened

In August 2026 Asana wrote up how it finished migrating its frontend tests from Enzyme to React Testing Library with OpenAI's Codex. The story spread on X, for example through @WesRoth's post. Asana had worked on the migration since 2022 and estimated it was still about five years from done. With Codex it took roughly 1.5 weeks of engineering time over two calendar weeks, at about $11K in model usage and $1K in infrastructure.

How they set it up (per Asana's write-up)

  • Up to four agents at once, each pointed at a different directory, running through the day and overnight.
  • A prompt of about five sentences: the goal plus a few guidelines.
  • Every change had to pass type checking, linting, tests and CI.
  • Engineers reviewed the agents' work twice a day and approved every change.

Lessons worth copying

  • Simple beat elaborate. Asana reports that ticket tracking, long prompts and sub-agent setups made results worse.
  • The bottleneck was the environment, not the model. Stale docs pointed the agents the wrong way, and slow or flaky tooling cost more time than the agents did.
  • Good examples in the codebase carried over. Clear conventions and already-migrated files improved the output.

A checklist for your own migration

1. Pick a migration with a mechanical rule and a lot of repetition (test frameworks, API renames, lint rule rollouts). 2. Make the check automatic and fast: types, lint, tests, CI must decide whether a change is accepted. 3. Split by directory or package so parallel agents never touch the same files. 4. Fix or delete stale docs first, and migrate a few files by hand as examples. 5. Review in batches on a fixed schedule rather than watching each agent.

Caveats

  • The Pragmatic Engineer questioned the baseline: the five years described a low-priority, opportunistic project, and the $6M figure was a rough per-file estimate. The speed-up is real, but smaller than the headline ratio.
  • Asana used frontier models at the extra-high reasoning; cost will differ with your model, plan and codebase size.
  • Test-only migrations are a friendly case: the old and new tests can be run side by side. Migrations of production behaviour need stronger checks, such as comparing old and new outputs on the same inputs.

What to report here

Your migration type, number of parallel agents, how changes were verified, total cost and how many changes a human had to redo.

Primary source

Primary source: Asana, Migrating off Enzyme in two weeks (Asana engineering blog). Checked: Codex with frontier models, migration begun in 2022 and about five years from done, about a week and a half of engineering time over two calendar weeks, about $11K model usage and $1K infrastructure, up to four agents on different directories, a five-sentence prompt, typecheck, lint, tests and CI as the gate, review each morning and evening, and that tracked tickets, notes files, sub-agents and detailed prompts made things worse. Correction made above: Asana says extra-high reasoning (the thread said highest). Asana also says its own infrastructure, more than the agent, was the bottleneck. Not checked: the Pragmatic Engineer critique and the X post.

Started from a post by @WesRoth, packaged by the editor. Original post

Subjects

More in refactoring

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Asana's Enzyme removal: how do parallel agents run a large migration?
Summary: Asana says Codex agents removed its legacy Enzyme test framework in about two calendar weeks for roughly $12K, after years of slow manual progress. The useful parts for your own migration: a short prompt, agents split by directory, mechanical verification and twice-daily human review. Critics question the five-year baseline.
Copy for agent
get the whatworks thread large-migration-with-parallel-agents and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread large-migration-with-parallel-agents
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp