- Issue created by @wim leers
- Merge request !6009Mark 6 simple config objects as `FullyValidatable`. β (Open) created by wim leers
- Issue was unassigned.
- Status changed to Needs review
11 months ago 2:35pm 3 January 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
$ vendor/bin/drush pm:install config_inspector $ vendor/bin/drush config:inspect --statistics > 3412084.json $ curl https://project.pages.drupalcode.org/-/config_inspector/-/jobs/559249/artifacts/validatability-report/statistics/2024-01-02.json > HEAD.json $ /usr/bin/diff --side-by-side HEAD.json 3412084.json | head -n 11 { { "assessment": { "assessment": { "_description": "Default assessment generated fro "_description": "Default assessment generated fro "typesFullyValidatable": 0.005263157894736842, | "typesFullyValidatable": 0.01584507042253521, "typesInUse": 0.35789473684210527, | "typesInUse": 0.35563380281690143, "typesInUsePartiallyValidatable": 1, "typesInUsePartiallyValidatable": 1, "typesInUseFullyValidatable": 0.01470588235294117 | "typesInUseFullyValidatable": 0.04455445544554455 "typesInUsePropertyPathsFullyValidatable": 0.0059 | "typesInUsePropertyPathsFullyValidatable": 0.0072 "objectPropertyPathsValidatable": 0.5299947835159 | "objectPropertyPathsValidatable": 0.5309928208720 "objectPropertyPathsFullyValidatable": 0.00591201 | "objectPropertyPathsFullyValidatable": 0.00726667 }, },
from 0.5% to 1.5% fully validatable types, and from 1.47% of in-use types being fully validatable to 4.45%.
- Status changed to Needs work
11 months ago 3:17pm 3 January 2024 - π§πͺBelgium borisson_ Mechelen, π§πͺ
ConfigSchemaTest::testSchemaMapping
has a failure. If that's fixed we can rtbc this. - First commit to issue fork.
- Status changed to Needs review
11 months ago 3:44pm 3 January 2024 - πΊπΈUnited States phenaproxima Massachusetts
The failing test has an out-of-date expectation. Adjusted that, and now it passes for me (locally, anyway).
- Status changed to RTBC
11 months ago 7:18pm 3 January 2024 -
larowlan β
committed 76e00a56 on 11.x
Issue #3412084 by Wim Leers, phenaproxima, borisson_: Follow-up for #...
-
larowlan β
committed 76e00a56 on 11.x
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Committed to 11.x, nice one folks π₯³
- Status changed to Fixed
10 months ago 9:50pm 7 January 2024 - Status changed to Needs work
10 months ago 10:04pm 7 January 2024 - π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
This caused fails in HEAD- see https://git.drupalcode.org/project/drupal/-/pipelines/73130/test_report
Reverted
-
larowlan β
committed 1d5e1e1d on 11.x
Revert "Issue #3412084 by Wim Leers, phenaproxima, borisson_: Follow-up...
-
larowlan β
committed 1d5e1e1d on 11.x
- Assigned to wim leers
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Very odd that it passed in the MR's test π€
Ah I see why β¦ somehow this issue fork was created without π Configuration schema & required keys Fixed being present in the
11.x
history of the fork π€·ββοΈSo: merged in upstream
11.x
, now this should fail too. - Issue was unassigned.
- Status changed to Needs review
10 months ago 10:12am 8 January 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
That failed as expected π
The fix is two-fold:
- Trivial:
PendingRevisionTest
failed to install the default config of the Taxonomy module β¦ and should have been doing that all along. - Simple: the
taxonomy_settings
migration: 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_table
has 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
taxonomy
parts into a separate issue. Or, alternatively, to expand\Drupal\Core\Config\Schema\SchemaCheckTrait::$ignoredPropertyPaths
rather than fixing the migration. Leaving that up to the reviewers to decide. - Trivial:
- π§πͺBelgium borisson_ Mechelen, π§πͺ
I would prefer to update the $ignoredPropertyPaths, we will have to go trough those eventually and that way this issue doesn't get postponed?
- Assigned to wim leers
- Status changed to Needs work
10 months ago 10:19am 8 January 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
That was very fast π Will do! Follow-up created already: π Fix taxonomy_settings migration: it's currently generating incomplete config Active .
- Issue was unassigned.
- Status changed to Needs review
10 months ago 10:22am 8 January 2024 - Status changed to RTBC
10 months ago 1:25pm 8 January 2024 - π§πͺBelgium borisson_ Mechelen, π§πͺ
- πΊπΈUnited States phenaproxima Massachusetts
I don't really have any objections here. The migration-related follow-up looks pretty good to me as well. +1 RTBC.
- Status changed to Needs work
10 months ago 3:35pm 15 January 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
π Fix taxonomy_settings migration: it's currently generating incomplete config Active landed and hence this should be updatedβ¦
- Status changed to RTBC
10 months ago 3:36pm 15 January 2024 - π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
MR updated by deleting a handful of lines π Back to RTBC!
- Status changed to Needs work
10 months ago 4:46pm 15 January 2024 - πΊπΈUnited States phenaproxima Massachusetts
I'm seeing test failures on GitLab CI...
- Assigned to wim leers
- π§πͺBelgium wim leers Ghent π§πͺπͺπΊ
Because I forgot to merge in upstream π
- Issue was unassigned.
- Status changed to RTBC
10 months ago 11:45am 26 January 2024 - Status changed to Fixed
10 months ago 4:01pm 26 January 2024 Automatically closed - issue fixed for 2 weeks with no activity.