{
  "post": {
    "title": "From LLM pipelines to coding agents: what changes in a code migration",
    "url": "https://bardak.ai/posts/coding-agents-code-migration",
    "updated": "2026-12-01T07:00:00.000Z"
  },
  "citation": "From LLM pipelines to coding agents: what changes in a code migration, Ivan Bardak, bardak.ai, https://bardak.ai/posts/coding-agents-code-migration",
  "datasets": [
    {
      "key": "agent-driven-migrations-as-the-companies-report-them",
      "title": "Agent-driven migrations, as the companies report them",
      "type": "benchmarkTable",
      "source": "Spotify Engineering; Google Cloud blog and Nikolov et al. 2026; GitHub blog; Bun blog; Shopify Engineering; Datadog Engineering",
      "caption": "All self-reported. GitHub writes about its own product; Bun is owned by Anthropic, whose model did the work, and says so.",
      "csv": "https://bardak.ai/data/coding-agents-code-migration/agent-driven-migrations-as-the-companies-report-them.csv",
      "header": [
        "Who",
        "What moved",
        "How the agent was checked",
        "Reported result"
      ],
      "rows": [
        [
          "Spotify (2025 to 2026)",
          "About 50 migrations across thousands of repositories: Java records, pipeline upgrades, UI migrations",
          "Verifiers (formatters, linters, tests) must pass before any pull request; an LLM judge vetoed about a quarter of sessions",
          "Over 1,500 merged agent pull requests by November 2025; 60 to 90% time saving, method not given"
        ],
        [
          "Google (2026)",
          "TensorFlow to JAX for production models",
          "Compiler-based planning; numerical equivalence of every layer; expert review",
          "6.4x to 8x faster; several engineer-months down to weeks"
        ],
        [
          "GitHub (2026)",
          "Copilot's agent runtime, about 430,000 lines of TypeScript, to Rust",
          "Existing end-to-end tests gate every pull request; three-model review; a human merges",
          "128 pull requests in about 14.5 weeks; dozens of regressions, all fixed"
        ],
        [
          "Bun (2026)",
          "535,000 lines of Zig to Rust",
          "The project's own test suite; adversarial reviewer agents",
          "Done in 11 days with all tests passing and none skipped; about $165,000 in API usage"
        ],
        [
          "Shopify (2026)",
          "The Shop app from React Native to native iOS and Android",
          "Plans approved by engineers; parity checked with screenshots and analytics events",
          "In the app stores in 12 weeks; faster start-up, ten times fewer crashing sessions"
        ],
        [
          "Datadog (2026)",
          "A storage layer from FoundationDB to PostgreSQL and DuckDB",
          "One method at a time against end-to-end tests; weeks of comparison with production",
          "About three months; the team says the models were not generating code autonomously"
        ]
      ]
    },
    {
      "key": "migration-benchmarks-with-strict-checks",
      "title": "Migration benchmarks with strict checks",
      "type": "benchmarkTable",
      "source": "MigrationBench (Amazon, 2025); FreshBrew (2025); SWE Refactor Bench (2026)",
      "caption": "The stricter the check, the lower the score. Results depend on the agent framework and the model.",
      "csv": "https://bardak.ai/data/coding-agents-code-migration/migration-benchmarks-with-strict-checks.csv",
      "header": [
        "Benchmark",
        "Task",
        "What counts as success",
        "Best reported result"
      ],
      "rows": [
        [
          "MigrationBench (Amazon, 2025)",
          "Java 8 to Java 17 or 21, 300 repositories",
          "Builds and passes tests",
          "71.7% for the minimal migration, 53.3% for the full one"
        ],
        [
          "FreshBrew (2025, ICSE 2026)",
          "Java 8 to 17, 228 repositories",
          "Original tests pass unmodified, coverage drops at most 5 points",
          "52.3%; the rule-based tool OpenRewrite 7.0%; agents caught excluding or skipping tests"
        ],
        [
          "SWE Refactor Bench (2026)",
          "20 whole-repository stack migrations, 8 models",
          "Migration actually done, behaviour tests pass, hidden differences found by test-writing agents",
          "5.4% of 520 runs passed all three checks; agents often copied the old code instead of migrating"
        ]
      ]
    },
    {
      "key": "coding-agent-pull-requests-in-dotnet-runtime-ten-months",
      "title": "Coding agent pull requests in dotnet/runtime, ten months",
      "type": "benchmarkTable",
      "source": "Microsoft .NET blog, Ten months with Copilot coding agent in dotnet/runtime (March 2026)",
      "caption": "Of 878 agent pull requests, 535 were merged and 0.6% of those were later reverted. Success rose from 38% to 69% after the team added an instructions file, and was 86% when a human pushed commits to the agent's branch, against 55% without.",
      "csv": "https://bardak.ai/data/coding-agents-code-migration/coding-agent-pull-requests-in-dotnet-runtime-ten-months.csv",
      "header": [
        "Measure",
        "Agent pull requests",
        "Engineers' pull requests"
      ],
      "rows": [
        [
          "Merged",
          "67.9%",
          "87.1%"
        ],
        [
          "Median review comments per merged pull request",
          "10",
          "7"
        ],
        [
          "Merged pull requests with 21 or more comments",
          "24.5%",
          "15.5%"
        ]
      ]
    },
    {
      "key": "appraising-the-evidence",
      "title": "Appraising the evidence",
      "type": "benchmarkTable",
      "source": "",
      "caption": "",
      "csv": "https://bardak.ai/data/coding-agents-code-migration/appraising-the-evidence.csv",
      "header": [
        "Evidence",
        "Strength",
        "Main limitation"
      ],
      "rows": [
        [
          "Company engineering blogs (Spotify, Google, Shopify, Datadog, Microsoft)",
          "Detailed, real systems, sometimes with numbers on failures",
          "Self-reported, mostly successes; time savings rarely measured"
        ],
        [
          "Vendor-linked cases (GitHub, Bun)",
          "Very detailed",
          "Written by the maker or owner of the tool"
        ],
        [
          "Benchmarks (MigrationBench, FreshBrew, SWE Refactor Bench)",
          "Strict, repeatable checks",
          "Open-source projects, not your codebase"
        ],
        [
          "Studies of agent pull requests",
          "Large samples across many repositories",
          "Popular open-source projects; acceptance is not quality"
        ]
      ]
    }
  ]
}