Fixed
Project:
Drupal core
Version:
11.x-dev
Component:
base system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2026 at 16:25 UTC
Updated:
12 Nov 2026 at 05:55 UTC
Jump to comment: Most recent
Specifically opening this as a critical, per @xjm in Slack. And against 11.x, because that's the only branch with this problem.
In 11.x, \Drupal::VERSION says 11.4-dev: https://git.drupalcode.org/project/drupal/-/blob/11.x/core/lib/Drupal.ph...
This breaks modules' GitLab CI jobs for the next minor, since a core_version_requirement like ^11.5 doesn't match 11.4-dev. Example: https://git.drupalcode.org/project/drupal_cms/-/jobs/13459765#L327
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
xjmComment #3
godotislatemainis currently12.0-devas well, when it probably should be12.1-devbut it currently doesn't have any downstream effects.https://git.drupalcode.org/project/drupal/-/blob/main/core/lib/Drupal.ph...
Comment #6
berdirNot sure if a regular MR is the correct approach here, but I'm also running into this in a new 11.5+ contrib module that is currently not passing on next minor, so I created one to get this started.
Comment #7
godotislateI think this looks fine. main is not affecting contrib downstream, so we don't need to address that here necessarily, so fixing 11.x works for me.
Nightwatch is increasingly flaky and unrelated.
Comment #8
godotislateActually, I realized that
11.xis actually 11.6, and the next minor should presumably use 11.5.x. But I'm not sure how gitlab templates works, so back to NR.Comment #9
godotislate@xjm mentioned on Slack that it should be 11.6, so I applied my own suggestion.
Comment #10
godotislateChange is trivial, back to RTBC.
Comment #11
xjmI verified that this is the only place in 11.x that the constant is incorrect; the rest of the version constant info (in the metapackages and the components) is handled by the dev branch alias and/or is already correct. Just to be sure, I ran the following locally:
...produces the exact diff in this issue.
...generates no changes.
Comment #13
xjmgit-drmr'ed to 11.x. Thanks!Comment #15
berdirI can confirm that my next minor jobs are now working correctly: https://git.drupalcode.org/project/menu_cache/-/pipelines/1041600
Comment #16
xjm🎉