Loading
ci: #3625829 Keep the CI build below Twig 3.30
Issue: https://www.drupal.org/i/3625829
Changes
1.0.x went red (https://git.drupalcode.org/project/ai_agent_modes/-/pipelines/976929): Composer now resolves Twig 3.30.0, which compiles core's drupal_escape filter into a direct EscaperRuntime::escape() call, so every page render is a fatal TypeError. phpunit browser tests get 500 instead of 403, and both functional-testing lanes fail every scenario on 500 Service unavailable.
This pins twig/twig:<3.30 in CI only: the templates composer build via .composer-base, and the Drupal CMS build's composer require. The module's composer.json is untouched. Remove it once a fixed Twig is out. Same fix as admin_audit_trail!53 (merged).
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release
Edited by Rajab Natshah