Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Upgrading a Major Dependency With an AI Agent in 2026: My 10-Step Mac Workflow, From Changelog to Green CI (9 Tools)

A bot opens a PR that bumps your framework a full major version, and CI turns red before you've finished reading the title. The migration guide is long, the changelog is longer, and "just let the agent fix it" sounds great until it rewrites half the repo. Here's the stack I'd use for that one job on a Mac: one tool per step, from "what's out of date" to a PR with green checks. Everything below…

In November 2026, the author detailed a 10-step workflow for upgrading a major dependency using an AI agent on a Mac. The process begins with identifying outdated dependencies using npm-check-updates (ncu) and its -u option, which automates the upgrade process while running tests and retrying failed upgrades. Subsequently, the GitHub CLI is utilized to review release notes from GitHub releases, allowing the agent to work directly from the official changelog.

The workflow further involves using Ghostty to split the terminal, enabling simultaneous monitoring of the upgrade agent and test results. Rectangle is employed to arrange the migration guide alongside the terminal for easy reference. Claude Code is then initiated in plan mode to generate a migration plan based on the release notes, followed by a subagent task to identify deprecated API calls without modifying the codebase.

Each proposed breaking change is then reviewed and committed individually using lazygit, ensuring a clear and manageable PR history. A second opinion from Codex CLI is sought through the /review command, offering an independent assessment of the changes. Throughout this process, TokenBar provides an overview of each agent's usage limits, preventing potential issues due to resource constraints.

Finally, CleanShot X captures before-and-after screenshots to illustrate the changes, and GitHub CLI is used to create a draft PR with the commit details, enabling automated CI checks and monitoring.

Considering the workflow, the author reflects on potential improvements, particularly questioning whether the agent's initial plan could have been more refined or if additional checks could have been implemented earlier in the process. This structured approach ensures that major dependency upgrades are handled efficiently, minimizing disruption and maintaining the integrity of the codebase.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

GBase Database Instance Status: How to Read `onstat -` Output

When an application reports "can't connect," don't immediately start changing network settings or checking database accounts.

  • Instance state can be On-Line, Quiescent, or Fast Recovery
  • Uptime indicates how long the instance has been running
  • Kbytes shows shared memory allocated to the instance

I Built a Mini-Shop Where You Pay With Solana — No Smart Contract Required

This is a submission for the MLH x DEV Writing Challenge What I Built Solana Pay Mini-Shop is a tiny online shop where you pick an item, connect your Phantom wallet, and pay with Solana Pay — on…

  • Mini-Shop called Solana Pay Mini-Shop built for MLH Hackathon
  • Users can pay with Solana using Phantom wallet in test environment
  • Project emphasizes simplicity of Solana Pay for first-time users

Slider stuck? Undercut depth vs stroke: 1.2mm rule that held

When a slider fails to retract or a lifter refuses to release during trial molding, the room usually blames the undercut depth. Depth is only the outcome.

  • Undercut depth is not primary cause of slider malfunction.
  • Slider stuck when lateral core-pull distance exceeds sum of undercut depth and draft angle travel.
  • Smart socket snap undercut set to 1.2mm after balancing structure and tooling.

Best UGV for agricultural field monitoring: Warthog, Bunker or Hunter

By the engineering team at YUANZHI ROBOTICS. We design and build sensor payloads for robot dogs, UGVs and drones. Originally published on our site; AI-assisted draft, reviewed by our engineers.

  • AgileX Hunter 2.0 ideal for orchards, vineyards, and wide aisles
  • Tracked AgileX Bunker or Bunker Pro for soft, wet, or uneven ground
  • Warthog best for heavy towing, spraying, or carrying tools in large fields

More from Tuesday, 1 December 2026 →