Website migration costs are going to zero
| submitted by /u/cmkn [link] [comments] |
| submitted by /u/cmkn [link] [comments] |
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?
| I had a long conversation with Dries Buytaert. The parts I think Drupal folks will find most useful:
Full video (71 min, chapters in the youtube video description): https://youtu.be/NiN5ufDJXuo [link] [comments] |