Skip to content

Remove the Drupal 12 and Drush 15 workarounds when upstream allows #257

Open

Description

@rfay

Opened by Claude Code at @rfay's request.

Short summary (TL;DR)

The Drupal templates carry three workarounds for Drupal 12 and Drush 15. This issue lists when each one can be removed, checked on 2026-11-17.

Is there an existing issue for this?

  • I have searched the existing issues in this repository

Is your feature request related to a problem?

Each workaround below was added for a specific upstream state. Without a record of that state, nobody knows when it is safe to remove them.

Workaround Where Why it is still needed (2026-11-17) Remove when
drush/drush:<15 drupal-core/template.tf, drupal-contrib/template.tf, both scripts/test-issue-branches.sh, drupal-core/README.md Drush 15's drush command only prints "call dr" and exits 1. Drush 15 also has no site:install, and core's dr has no replacement for it. Drush 15.x-dev now conflicts only with drupal/core < 11.5, so without the pin Drupal 11.5 would get it too. Drush 14 stops supporting the Drupal versions we test, and something else can install a site.
DRUPAL_CORE_CONSTRAINT="12.x-dev" drupal-contrib/template.tf 12.x-dev is the branch alias of core's main. With ^12, Composer installs 12.0.0-beta2 and the cell stops tracking core HEAD. drupal.org #3625969, the Twig error that started this, is fixed. Drupal 12.0.0 is tagged. Then decide whether the Drupal 12 cell should test the release or HEAD.
preferred-install: source for drupal/core on Drupal 12 drupal-contrib/template.tf A dist install of a dev branch leaves out core/tests. The previous row is removed.

Describe your solution

Check this table when each trigger happens:

  1. When Drupal 12.0.0 is tagged, change the constraint to ^12 and remove the source install, unless the Drupal 12 cell should keep tracking HEAD.
  2. Keep the Drush pin while Drush 14 works. Drush 14.x has only dev releases, so watch for it to stop supporting Drupal 12 or main.

Describe alternatives

Additional context

🤖 Generated with Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions