Recipe · Build apps (vibe coding)
Let Jules or Devin upgrade a dependency and fix what breaks while you work on something else
Pick one outdated dependency (a framework, a test runner, an SDK), hand the upgrade to an asynchronous coding agent that works in its own cloud machine, and come back to a branch where the version is bumped, breaking changes are fixed and the tests pass. You review a pull request instead of spending an afternoon on migration notes.
Steps
- Choose one upgrade, not five: for example “{PACKAGE} from {OLD VERSION} to {NEW VERSION}”. Open the package’s changelog or migration guide and copy its URL; the agent works better from the official notes than from memory. Make sure the repository has tests that run with one command.
- Jules: sign in at jules.google with your Google account, click the GitHub connect button and give access to the repository (all repositories or selected ones). Pick the repository in the selector; the default branch is preselected.
- Add an environment setup script for the repository in Jules (for example npm ci, or pip install -r requirements.txt) so its virtual machine can install and run the tests. Without it, Jules can edit files but cannot show that the upgrade works.
- Paste the prompt below and click Give me a plan. Read the plan before you approve it: it should list the files it will touch, the breaking changes it expects and the test command. Ask for changes in the chat if the plan touches unrelated code.
- Go back to your own work. Jules shows an activity feed with each step, small diffs and any errors; answer if it asks a question. When it finishes, read the task summary (files changed, branch name), open the full diff, and ask for fixes in the chat if needed.
- Click Publish PR (or Publish branch) to push the result to GitHub, let CI run, then review and merge it yourself. Jules appears as the commit author.
- Devin instead: open Settings → Connections → GitHub, click Add Connection and choose the repositories. The first time, ask Devin to set up the repository’s environment. Start a session, @mention the repository, paste the same prompt, and review the draft pull request it opens; Devin answers review comments on its own pull requests while the session is active.
- Make it a routine: in Jules, choose Scheduled Task from the Planning dropdown with a Weekly cadence and a prompt such as “find one outdated minor dependency and upgrade it the same way”; in Devin, create an Automation with a Schedule trigger. Keep major-version upgrades as one-off tasks you start yourself.
Prompt
Replace anything in { } with your details.
Upgrade {PACKAGE} from {OLD VERSION} to {NEW VERSION} in this repository.
Official migration notes: {CHANGELOG OR MIGRATION GUIDE URL}. Read them first and list the breaking changes that apply to our code.
Rules:
- Change only what the upgrade requires. No unrelated refactors, renames or formatting changes.
- Update the lockfile with the package manager ({npm/pnpm/pip/poetry}); do not edit it by hand. Do not upgrade other packages unless the new version requires it, and list any you had to change with the reason.
- Replace deprecated APIs the migration notes mention, following their recommended replacements.
- Run `{INSTALL COMMAND}`, then `{TEST COMMAND}` and `{BUILD OR LINT COMMAND}`. All must pass. Do not skip, delete or weaken tests to make them pass; if a test fails for a reason you cannot fix, stop and explain.
When done, write a summary with: breaking changes found, files changed and why, commands run with their results, and anything I should check by hand before merging. Expected output
A pull request (or branch) with the dependency bumped, the lockfile updated by the package manager, breaking changes fixed, passing tests and build, and a summary of what changed and what to check by hand.
Gotchas
- ⚠ Jules limits tasks per rolling 24 hours: 15 daily and 3 at once on the base plan, more with Google AI Pro or Ultra (jules.google/docs/usage-limits). A large upgrade that fails and restarts can use several.
- ⚠ Editing a scheduled task in Jules is not supported yet; delete it and create a new one (jules.google/docs/scheduled-tasks).
- ⚠ Devin bills work in ACUs (agent compute units); a long migration with many test runs uses more, and admins can set ACU limits. Start with a small package to see the cost before you hand it a framework upgrade.
- ⚠ Connecting Devin to a GitHub organisation needs an organisation admin. Turn on branch protection so required checks must pass before anything merges, as Devin’s GitHub docs recommend.
- ⚠ Lockfiles and transitive dependencies are where upgrades go wrong. Check that the lockfile changed only for what you asked, and run the app yourself once before merging; passing unit tests do not cover everything.
Where these tools break
- The limit, from Jules’s page: Free tier allows 15 coding tasks a day and 3 concurrent runs; Google AI Pro ($19.99/mo) raises daily task and concurrency limits ~5x, and Google AI Ultra ($99.99+/mo) provides… (jules.google, checked )
- Watch out with Jules: Run the export before November 11, 2026. Google says Jules stays read-only until December 31, 2026, but sessions can only be finished until November 11. From a recipe
- Real example with Jules: Try Google's Jules agent on a broken chatbox in your site. The catch: A first look at a May 2025 beta, written before later updates such as GitHub Issues integration; treat it as a snapshot, not the current product. (source dated )