Closed (fixed)
Project:
Configuration Inspector
Version:
2.1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Oct 2023 at 15:17 UTC
Updated:
12 Jan 2024 at 20:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
wim leersThis is what it looked like a few hours ago:

That only worked going back to August, for July I had to do some cache clearing, and for Jan 1, I had to do crazy composer work-arounds 😬
But it’s working! Still chasing one more bug…
Comment #3
wim leersTurns out that this is a reproducible bug in Drush 12:
… happens 100% of the time when running
drush updatedb --yesagainst core commitfca42b9d59da506d9c9aac1c3be018dc04205d67.Root cause appears to be:
… where
$resultisFALSE,UnstructuredListData's processing chokes on it.Perhaps because
drush_batch_command()is itself using thebatchsystem? 🤔For now, ignoring this, because no precise data for a few commits is not a big deal. The trend should still be clear, and my script SHOULD be robust enough to handle this.
Comment #4
wim leersTo debug that, I added this to
\Consolidation\SiteProcess\ProcessBase::getOutputAsJson():(just before throwing the exception).
Comment #6
wim leersThis is what that should look like:
🤓
Comment #7
gábor hojtsyYou are adding a gitlab CI yml here :) It would also be important to port the regular test to gitlab CI. I think it would be easier to rely on the standard templates like I did in upgrade_rector recently for easier contributor involvement, rather than making it custom. For the custom job I agree custom config is needed :) Do you think the GitLab CI config added here could still accommodate porting the drupalci tests over without much rework?
Comment #8
gábor hojtsyFYI this is the matrix I have there, although with Drupal 9 going EOL in a few weeks, we may not need to test that anymore? https://git.drupalcode.org/project/upgrade_rector/-/blob/2.x/.gitlab-ci....
Comment #9
wim leersPorting the existing test suite to GitLab CI is an independent task/concern. They can keep running just fine the way they are for now. I'm sure I'll get to that some time in the next few months though!
Comment #10
wim leersGitLab CI adoption by this project now is a fact: #3396042: Adopt GitLab CI.
I'll need to modify this MR.
Comment #12
wim leersPer @diqidoq in Slack:
— https://drupal.slack.com/archives/C1BMUQ9U6/p1701264422604679
Comment #13
wim leersPicking this back up where I left it off. I want to make the data much easier to consume too, and thanks to #3384688: Automatically publish a GitLab pages site (and https://timvink.github.io/mkdocs-charts-plugin/usage/, maybe https://squidfunk.github.io/mkdocs-material/reference/diagrams/ and if really necessary https://docs.gitlab.com/ee/user/project/pages/getting_started/pages_from...) that should become feasible 🤓
Comment #14
wim leersComment #15
wim leersMerged in upstream, which means this now no longer conflicts with #3396042: Adopt GitLab CI, but extends it :)
Comment #16
wim leersWell 🤣
Comment #17
wim leers4 seconds for installing a single module. Yeah. That's gonna make things mind-bogglingly slow 😬
Comment #18
wim leersNow down to ~8 seconds/commit. With a 1-hour time limit and a few minutes for setup, that should mean roughly 55 minutes gives us 55*60/8 = ~410 days that can be analyzed. That's good enough for now! (It took 49 minutes to process the 355 days of 2023, including all overhead.)
And … the countless "permission denied" problems are now also gone! 👍
That means that next week, I'll be able to continue this for real 😄
Comment #19
borisson_Just looked at the latest output, super amazed that we are already at +50%. This is already very cool to see this output. Looking forward to see this in graphical form.
Comment #20
wim leersThere are a lot of
type: labels in Drupal core 🤣Note that this does not mean 53% of all core config is validatable. Only 53% of core config property paths is validatable. We'll eventually need to clarify that, but right now the key goal is to get some visualization going on…
Comment #21
wim leersIt is MUCH faster now! 14 minutes for analyzing all of 2023.
Next up: using
Rto generate charts.Comment #22
wim leersThis now is generated automatically:

🥳
Comment #24
wim leersComment #26
wim leers— https://docs.gitlab.com/ee/user/project/pages/getting_started_part_one.h...
Comment #27
wim leersNow starting 1 month earlier (Dec 1, 2022) and actually publishing to https://project.pages.drupalcode.org/config_inspector/ 👍

Comment #29
wim leers