Problem/Motivation
On Dec 30, #3391990: Automated report on core config validatability landed. That now generates an up-to-date visualization of core config validatability daily:

It is currently underestimating (the brown and pink lines) because #3364109: Configuration schema & required values: add test coverage for `nullable: true` validation support did not update the ones listed/surfaced by #35. This issue does that.
Steps to reproduce
N/A
Proposed resolution
Mark the following as fully validatable
comment.settingsmenu_ui.settingsnode.settingssystem.maintenancesystem.feature_flagstaxonomy.settings
Most of these contain only type: boolean key-value pairs. The last one contains one type: integer with an explicit validation constraint (added in #3395563: Add validation constraints to taxonomy.settings). Another one contains only a type: text which already has validation constraints (since #3379102: Add validation constraint to `type: label` + `type: text`: disallow control characters)
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3412084
Show commands
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
borisson_Comment #4
wim leersHow will this affect overall core config validatability?
from 0.5% to 1.5% fully validatable types, and from 1.47% of in-use types being fully validatable to 4.45%.
IOW: this would make the brown and pink lines on https://project.pages.drupalcode.org/config_inspector/ go up quite noticeably 🤓
Comment #5
borisson_ConfigSchemaTest::testSchemaMappinghas a failure. If that's fixed we can rtbc this.Comment #7
phenaproximaThe failing test has an out-of-date expectation. Adjusted that, and now it passes for me (locally, anyway).
Comment #8
borisson_Looks great to me.
Comment #10
larowlanCommitted to 11.x, nice one folks 🥳
Comment #13
larowlanThis caused fails in HEAD- see https://git.drupalcode.org/project/drupal/-/pipelines/73130/test_report
Reverted
Comment #15
wim leersVery odd that it passed in the MR's test 🤔
Ah I see why … somehow this issue fork was created without #3364108: Configuration schema & required keys being present in the
11.xhistory of the fork 🤷♂️ And not enough time had passed for auto-retesting of RTBC against latest upstream.So: merged in upstream
11.x, now this should fail too.Comment #16
wim leersThat failed as expected 👍
The fix is two-fold:
PendingRevisionTestfailed to install the default config of the Taxonomy module … and should have been doing that all along.taxonomy_settingsmigration: it was generating incomplete Drupal 8/9/10 config since the day it was introduced (#2154955: Migrate variables to config in 2014), becausetaxonomy.settings:maintain_index_tablehas existed since 2009 in Drupal 7 (see #412518: Convert taxonomy_node_* related code to use field API + upgrade path), its configuration schema was introduced in #1919208: Create configuration schemas for taxonomy module in 2013. But … it was not set by default: its absence was treated astaxonomy_maintain_index_table === TRUE.It might be better to split off the
taxonomyparts into a separate issue. Or, alternatively, to expand\Drupal\Core\Config\Schema\SchemaCheckTrait::$ignoredPropertyPathsrather than fixing the migration. Leaving that up to the reviewers to decide.Comment #17
borisson_I would prefer to update the $ignoredPropertyPaths, we will have to go trough those eventually and that way this issue doesn't get postponed?
Comment #18
wim leersThat was very fast 😅 Will do! Follow-up created already: #3413126: Add "maintain_index_table" to taxonomy_settings migration.
Comment #19
wim leersAddressed #17. 👍
Comment #20
borisson_With 11.x now merged into this branch again and the tests green + the reasoning in #16 + #18 I think this is rtbc again.
Comment #21
phenaproximaI don't really have any objections here. The migration-related follow-up looks pretty good to me as well. +1 RTBC.
Comment #22
wim leers#3413126: Add "maintain_index_table" to taxonomy_settings migration landed and hence this should be updated…
Comment #23
wim leersMR updated by deleting a handful of lines 👍 Back to RTBC!
Comment #24
phenaproximaI'm seeing test failures on GitLab CI...
Comment #25
wim leers… because I forgot to merge in upstream 🙈
Comment #26
wim leersgit merge origin/11.x+ push → green now 👍Comment #28
catchCommitted/pushed to 11.x, thanks!
Comment #30
wim leers