❌

Normal view

Received β€” 28 October 2026 ⏭ Drupal - Open Source Content Platform | #Celebr8D8

AI-generated Drupal code that passes every test is what worries me most

https://menetray.com/en/blog/green-tests-arent-enough-thats-why-my-ai-goes-through-audit

Models often fall back on D7/D8-era patterns: \Drupal::service() instead of dependency injection, |raw in Twig, render arrays without cache metadata. Most of it works, and tests don't catch it.

So my agents now run the Audit module's Drush commands on whatever they touch (complexity, duplication, Twig, security, PHPStan, PHPCS), fix what comes up and run them again. Then I do the final review. Full disclosure, I maintain the Audit module.

What are you checking beyond tests in your AI workflow?

submitted by /u/rmenetray
[link] [comments]

Talked with Dries about whether we still need a CMS when AI agents build websites, and lots of other topics

Talked with Dries about whether we still need a CMS when AI agents build websites, and lots of other topics

I had a long conversation with Dries Buytaert. The parts I think Drupal folks will find most useful:

  • He separates "building pages" from "managing content". A five-page site, sure, vibe-code it. Ten editors and thousands of pages across a hundred sites is a different problem, and that one is growing.
  • Search engines sent visitors back to the sites that made the content. AI answers don't. He calls it breaking the social contract of the web.
  • Tool API and MCP: exposing Drupal's capabilities to agents while keeping permissions and workflows. He thinks agents will generate throwaway UIs for tasks that take 100 clicks today.
  • Makers and takers in the AI era, and the $3M/year the Drupal Association spends just on servers.
  • A story he hadn't told publicly: the document he had Acquia's early investors sign to protect Drupal.

Full video (71 min, chapters in the youtube video description): https://youtu.be/NiN5ufDJXuo

submitted by /u/Hopeful-Fly-5292
[link] [comments]
❌