Problem/Motivation

webai_install() applies the Web AI default recipe every time the module is installed. The other web* modules guard that call: they skip it during a configuration import, and when the default recipe itself installs the module, because the recipe is already being applied.

Web AI is one of the two modules still missing that guard.

Proposed resolution

Give webai_install() the same shape as webpage_install(): take $is_syncing, return during a configuration import, and apply the default recipe only when the module is installed on its own.

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ❌ Code review by maintainers

AI-Generated: Yes

Comments

rajab natshah created an issue. See original summary.

  • rajab natshah committed e403272b on 12.0.x
    fix: #3623726 Apply the default recipe only when the module is installed...
rajab natshah’s picture

Status: Active » Fixed

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.