Hello, everyone. Welcome to the ✨ CLI in Core Initiative ✨ Meeting! 📅 This meeting:
➤ Usually happens weekly either at Wednesday 14:00 UTC.
➤ Will use Slack threads to continue discussions.
➤ Please comment on the roll call thread throughout the day.

0️⃣ Roll Call! Who is here today? Introduce yourself including your name and drupal.org username.

mradcliffe Matthew here (mradcliffe)
bircher Fabian (bircher)
larowlan catching up after craSA start to the day

1️⃣ Batch subprocessing

mradcliffe Does anyone have thoughts on how batch processing should work? Should we try to fork subprocesses in order to avoid OoM or leave that to a future iteration? We need batch processing for updatedb and others.
mradcliffe @moshe I know the recipe command does something, but I am not sure if it is applicable.
mradcliffe CheckpointStorageInterface
mradcliffe and RecipeRunner
moshe Recipe runs batches in a single process along with the command. Thats perhaps OK to start. We now have LRU cache on entities so well written batches are less likely to OoM these days.
mradcliffe Ah, yeah, that doesn't solve potential OoM.
mradcliffe Are we more likely to run into OoM or some PHP timeout or a command timeout?
nicxvan The LRU cache doesn't do as much as we hoped unfortunately
nicxvan but it should still help
nicxvan I don't recall why
nicxvan drupal.org/project/drupal/issues/1199866#…
mradcliffe We could probably still model after recipe command, but use Process instead to run the same command and pick up from the last checkpoint?
mradcliffe Sub-processing does ramp up the complexity. So leaving it to a future iteration / follow-up is probably a good idea.
nicxvan probably
bircher I think having the same way of doing things across commands that need batching could make it easier in the future to at least find what to improve

2️⃣ Meta tasks pending

mradcliffe I am still behind on meeting minutes. Hopefully by the end of this week.

3️⃣ Celebrations of success

mradcliffe Thank you, @larowlan for final reviews and recent merges. New commands in 12.1.x:Extension uninstallConfig export
bircher It was very nice to see 🎉 could config import be next? 👀 it would be nice if they went together
larowlan Yeah let's keep up the momentum 👌
phenaproxima I just ported all of Drupal CMS Helper’s CLI commands to dr: git.drupalcode.org/project/drupal_cms/-/commit/af837d51afc2…
phenaproxima This bit might be useful to port to core: git.drupalcode.org/project/drupal_cms/-/commit/af837d51afc2…#…

Participants:

mradcliffe, bircher, larowlan, moshe, nicxvan, phenaproxima

Issue fork drupal-3631724

Command icon 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

mradcliffe created an issue. See original summary.

smustgrave made their first commit to this issue’s fork.

smustgrave’s picture

Status: Needs review » Fixed

Confirmed threads and credited users. Did mix up the moshe users

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.