Drupal 10 to 11: How I Upgrade a Live Site With a Team of AI Agents
Drupal 10 loses security support on 9 December 2026. How I move a live site to Drupal 11 with a team of AI agents: an inventory of what the site does, tests before and after, a rehearsed release in the quietest hour, a watch on the logs.
One night in October, while I slept, AI agents ran a large pack of end-to-end tests against a copy of a live Drupal site. They had written the tests that evening to pin how the site behaved on Drupal 10: its forms, logins and exports. By morning the tests had caught three things Drupal 11 would have broken, before any user could meet them.
That morning I didn't feel the doubt you might expect after handing a major upgrade to agents. I felt confident, and a little amazed: more than a hundred end-to-end tests, a third of them written that night, had checked the site more thoroughly than I could have in days on my own. It was the moment I saw where this goes. Agents working under good rules don't lower the bar on risky work; they raise it.
The site is no brochure. It runs the training of a bodywork school in London end to end. Students record practice sessions with clients from inside and outside the school, and every session starts with a consent form signed by hand and turned into PDFs. Clients give feedback, teachers review the work and follow each student's progress, and certificates are issued level by level. Every role sees different pages and gets different emails, and the combinations of roles, forms, emails and scheduled jobs are far too many to click through by hand.
A few days later the live site moved to Drupal 11 at five on a Saturday morning, London time, with about three minutes of maintenance. If your site is still on Drupal 10, this is the moment: it gets no security fixes after 9 December 2026, according to the Drupal core release schedule. Below: the six steps I follow, how they played out on this system, the time it took and what to do this week.
What happens when Drupal 10 reaches end of life?#
After 9 December 2026 drupal.org releases nothing more for Drupal 10, security fixes included, but your site does not switch off that day. In the words of Drupal 10 End of Life: Upgrade or Rebuild? by ImageX, "the day after the end of life, your site keeps running".
What changes is the risk. On 18 November 2026, three weeks before the end of support, the Drupal Security Team published SA-CORE-2026-017, a highly critical remote code execution flaw in Drupal core. Drupal 10.6 still got its fix, in 10.6.22; the same flaw found after 9 December would stay open on every Drupal 10 site.
Waiting for Drupal 12 does not help: the upgrade process overview on drupal.org says a major version cannot be skipped. Aim for 11.4 or later: the release schedule ends security support for 11.3 in the same week as Drupal 10.
What actually changes in a Drupal 11 upgrade?#
Drupal core rarely breaks a site by itself; what breaks sits around it, in four places.
- Hosting. Drupal 11 needs PHP 8.3 or later, per the PHP requirements, and newer minimum versions of the database and Composer.
- Modules removed from core. Six left: Actions UI, Activity Tracker, Book, Forum, Statistics and Tour. The official upgrade guide says to stop using them or install the contributed version before the upgrade.
- Contributed modules, the add-ons the community maintains. Some have no Drupal 11 release yet; others run a branch that still works but is no longer supported.
- Custom code and front end. Code that calls removed APIs stops working, and old JavaScript can fail: Drupal 11 ships with jQuery 4.
Upgrade Status finds deprecated code, and Project Update Bot offers compatibility patches for modules. Neither sees behaviour: what a person gets on screen, in a PDF or in their inbox after pressing Submit. My upgrade starts there.
How do you upgrade Drupal 10 to 11 without breaking a live site?#
You prove on a copy that the site behaves the same before and after, and only then touch production. The proof has six steps.
- List everything the site does, and map it to tests.
- Read the incoming code before running it.
- Snapshot every page before touching anything.
- Upgrade on a copy in two moves, then prove nothing changed.
- Rehearse the release and the rollback, then release in the quietest hour.
- Watch the logs after the release.
AI agents carry out each step under written rules; the order, the release and the risky calls stay with me. The size of the update sets the size of the proof: a minor update of a critical module gets before-and-after scenarios for just what changes in it, a major upgrade gets every existing scenario under test first.
Step 1: List everything the site does, and map it to tests#
Agents pull a list of everything the site does from its configuration: routes, forms, file uploads, outgoing emails, cron jobs, roles. Each line gets a test next to it, so behaviour with no test shows up as a gap before the upgrade, not as a complaint after it.
The tests are written before anything changes, and they must pass on Drupal 10. An end-to-end test drives a real browser: it logs in, fills in the form, presses the button and checks what comes back. With that grid green, a red test after the upgrade means one thing: the upgrade broke it.
On the school's system a devil's-advocate review went over the grid and named the paths no test walked yet, such as a signed form that ends in two PDFs and two emails. Those tests went in before the upgrade did.
Step 2: Read the incoming code before running it#
Agents download the target versions of core and every module, compare them with what is installed, and check the difference against what the site's own code calls, extends or patches. The result is a list of what might break, each item next to the test that would catch it.
Compatible and supported are two different things. On the school's system Field Group 3.x still ran on Drupal 11 but had lost support. Checking supported branches, not just compatibility, moved it to 4.0 first.
A security release, read line by line. When a critical core fix arrived in the middle of the work, its diff came down to one functional line. Agents found the single place in the site's code that touched it, and the checks went exactly there. The fix was live about an hour after its release.
Step 3: Snapshot every page before you touch anything#
Reading shows what might change; a snapshot shows what did. On a copy of the site, agents record the HTML of every page under every role, a pixel image of every page, and a crawl of every address with its response code and the warnings it leaves in the logs. Two runs on unchanged code must match, or the snapshot lies.
After the upgrade the same checks run again and are compared. On the school's system the comparison of runs on Drupal 10 and Drupal 11 showed only expected noise, such as timestamps and tokens, plus one real problem, listed in the table below.
Step 4: Upgrade on a copy in two moves, then prove nothing changed#
The upgrade happens on the copy, in two moves that can each be tested and rolled back alone: first the modules, while the site is still on Drupal 10, then core. After each move the same tests, snapshots and crawl run again. A couple of times a result was unclear; I sent the copy back to Drupal 10, more tests went in, and the upgrade ran again.
Here is what broke on the way, and what caught it.
| What broke | What caught it |
|---|---|
| A participant picker crashed on records without a full name | End-to-end test, before release |
| A settings page could no longer be saved | End-to-end test, before release |
| Form validation threw an error on every field under jQuery 4 | End-to-end test, before release |
| A PHP warning appeared after a CSV export | Comparison of runs, before release |
| A participant's document-photo upload returned an error | Log check after release (Step 6) |
Four of the five never reached a user. Some differences were fine, and judging those is a human call: a field label now read "Email address", and that was kept.
Step 5: Rehearse the release and the rollback, then release in the quietest hour#
The release gets a rehearsal on a fresh production backup, with the exact commands production will get. It shows how long the site will show a "back soon" page, with a margin. The rollback is rehearsed too: after the core switch the database is a Drupal 11 database, so going back means restoring the backup taken just before.
The hour comes from the site's real traffic. On the school's system the release went out at about 5 a.m. London time on a Saturday, once we had made sure nothing had happened on the site for a while. Maintenance mode lasted about three minutes.
Step 6: Watch the logs after the release#
In a major upgrade, small regressions are close to unavoidable; what matters is seeing them in the logs within hours and fixing them before they reach many people. In the first hours and days, agents read the PHP and Drupal logs, 4xx and 5xx responses, failed form submissions and mail errors. Anything new against the pre-upgrade baseline gets flagged.
On the school's system the first check, the morning after the release, was clean. Later that day a participant's document-photo upload started failing. The second scheduled check found it the next morning, and the fix went out about 20 minutes later: found and fixed within a day of the first failed upload.
The cause was specific to Drupal 11: it dropped the old file-validator names, and the site's code held them as plain text, which code analysis cannot see. No test had uploaded a file through that form. It affected one person, who then finished registering with the same link.
This is what the watch is for. Right after the fix, agents swept the whole site for the same kind of breakage and crawled about four hundred pages under every role: no other Drupal 11 regression. The lesson became two rules: a test now checks the validator names, and the Step 1 inventory lists file uploads as a line of their own.
How long does a Drupal 11 upgrade take?#
For a well-maintained live site, the work itself takes hours, and a few short checks follow over the next days. On the school's system the upgrade took a few hours of work; most of the agents' share, including the big test pack, ran overnight.
My own time came to about three hours, check-ins included. It was the first upgrade of this size I ran this way, so an hour to an hour and a half went into tuning the approach. Next time I expect about fifteen minutes to start it, then a few short check-ins.
The school's system is of medium complexity; another site will take more or less. It takes longer with modules that have no Drupal 11 release, custom code on removed APIs, old PHP or database versions, or many untested user paths. Aten Design Group puts the core update at "hours to days" and says complex sites may take "days, or even weeks".
Moving from Drupal 7 is a different job, a rebuild; I describe it on the Drupal page. Plan it on Drupal 11: drupal.org has announced that Drupal 12 drops Migrate Drupal.
What do the AI agents do, and what do I decide?#
The agents do most of the hands-on work, and I make the decisions that carry the risk. They build the copy, the inventory, the diffs, the tests and the snapshots, run the rehearsals and read the logs. I set the order, choose the window and the rollback, and review the high-stakes changes myself.
Written rules keep this reliable. Before this upgrade I wrote a dedicated Drupal-upgrade skill with an agent, the rules for every step above, and the agents worked by it. Around it sits a knowledge base of more than 130 skills. Nearly all of them are my own: twenty years of practice, written down as rules the agents follow. They load the ones each task needs, and every new lesson from production becomes one more rule, like the upload line from Step 6. Under the rules sit 20+ years in software engineering and professional Drupal work since 2009.
How does a client follow an upgrade like this?#
The client gets a plain plan before the work and a short list to check after it. For the school I wrote that the update was big and would take time, and that the site would be in maintenance mode for up to half an hour, a figure set on the careful side. I would pick an hour without a rush of visitors and keep checking the site afterwards. The client agreed.
Today a client follows the upgrade on the project's own live page: what is done, what is next and what is needed from them, with comments and answers right under each item. Passwords and keys go through an encrypted field on that page, never through chat or email.
After a release, the page carries a short "please check" list that the client ticks off. The school's upgrade was arranged by email; the page is how I run projects now.
What to do this week if your site is on Drupal 10#
Start with a few facts about your own site.
- If you do not know your version: open Reports → Status report in the admin area and note the Drupal 10.x and PHP versions.
- If PHP is below 8.3: make that your first question to the hosting provider.
- If Drupal is below 10.3: update within Drupal 10 first.
- If you are unsure about your modules: install Upgrade Status on a copy of the site and read its report.
- Whatever the answers: write down the three to five actions your users cannot do without: logging in, sending a form, paying, receiving an email. They become the first tests.
If you would rather hand this over, it is the work I do on the Drupal page: inventory and tests first, then proof on a copy, a rehearsed release in the quietest hour and a watch on the logs.
FAQ#
Will my Drupal 10 site still work after December 9, 2026?#
Yes, it keeps running; what stops is new Drupal 10 releases, security fixes included. A flaw like the highly critical one fixed on 18 November 2026, if found after that date, would stay open on Drupal 10.
Should we move to Drupal 11 now or wait for Drupal 12?#
Move to Drupal 11 now: a major version cannot be skipped, so the road to Drupal 12 runs through Drupal 11 anyway. Aim for 11.4 or later, because security support for 11.3 ends the same week as for Drupal 10.
How long does an upgrade from Drupal 10 to Drupal 11 take?#
For a well-maintained site, a few hours of work and then a few short check-ins after the release. On the school's system most of the agents' work ran overnight, and my own time came to about three hours.
How much does a Drupal 10 to 11 upgrade cost?#
It depends on the site, so there is no sum here: I give a fixed price after a free first call, or work hourly. What moves the price is modules without a Drupal 11 release, custom code on removed APIs and hosting that needs a newer PHP or database first.
Will there be any downtime?#
A few minutes of maintenance mode, in the quietest hour. On the school's system it was about three minutes at around 5 a.m. London time on a Saturday, inside the range the rehearsal-based plan allowed.
What if one of our modules isn't ready for Drupal 11?#
Usually there is a way: a newer branch, a tested patch from the module's issue queue, a replacement, or a small fix in your own code. Also check that the branch is still supported. On the school's system Field Group 3.x ran on Drupal 11 but had lost support, so it moved to 4.0 first.
Will everything look and work the same after the upgrade?#
It should, and it is checked rather than hoped for: tests and page snapshots from before are compared after, and every difference gets a human decision. Small regressions can still get through, so the logs are watched after the release; on the school's system they caught one, fixed within a day.
Our site is still on Drupal 7. Can it go straight to Drupal 11?#
Not as an upgrade: Drupal 7 to 11 is a migration, a rebuild with the content moved over. Do it on Drupal 11, because Drupal 12 drops the Migrate Drupal modules; drupal.org tells Drupal 7 sites to migrate to 11 and upgrade from there.
Sources#
Read on 22 November 2026.
- Drupal core release managers. Drupal core release schedule. drupal.org, 2026.
- Bjorn Thomson. Drupal 10 End of Life: Upgrade or Rebuild? ImageX, 2026.
- Drupal Security Team. SA-CORE-2026-017: Drupal core, Highly critical, Remote code execution. drupal.org, 18 November 2026.
- Drupal Security Team. SA-CORE-2026-014: Drupal core, Critical, Remote code execution. drupal.org, 14 October 2026.
- Drupal documentation contributors. Upgrade process overview. drupal.org, 2026.
- Drupal documentation contributors. PHP requirements. drupal.org, 2026.
- Drupal documentation contributors. Database server requirements. drupal.org, 2026.
- Drupal documentation contributors. Composer requirements. drupal.org, 2026.
- Drupal documentation contributors. How to upgrade from Drupal 10 to Drupal 11. drupal.org, 2026.
- Drupal core committers. jQuery updated to 4.0.0-beta, change record. drupal.org, 2024.
- Upgrade Status maintainers. Upgrade Status, project page. drupal.org, 2026.
- Project Update Bot. Issue #3433734, tagged ProjectUpdateBotD11. drupal.org, 2024.
- Aten Design Group. Drupal 11 is Here! How to Approach an Upgrade. 2025.
- quietone. Migration support for Drupal 6 and 7 sites will not be in Drupal 12. drupal.org, 12 November 2026.
- Drupal documentation contributors. Getting started with Drupal administration. drupal.org, 2026.