Problem/Motivation
Drupal 9.2.9
Config Ignore version 2.3
Config Filter 2.2
Config Split 2.0.0-beta4.
I have a number of config splits. Dev and Local have modules that are enabled only in those environments (devel, dblog, stage_file_proxy) with the config split. The needed module config is located in the ../config/envs/local folder. I do not have them in the config_ignore.settings.
I am seeing under the config ignore section of the config sync screen: core.extension and all the config for each of these modules. The webform.webform.contact is supposed to be there, for demonstration.
If I make a change to any of these config entities they move from the ignored section to changed/review area. Having these entities appear in the ignored section is misleading and distracting as they aren't found in any config ymls.
Steps to reproduce
Setup two config splits. Add that module to the config split, it's configuration in the folder.
Add webform.webform.* to the config_ignore settings. For a baseline.
Review the config sync page. Your split config is show as ignored as is the webform.webform.contact
Make a change either in the code or database for your module.
Check back with the config sync page, the change should been seen and webform is still ignored.
Proposed resolution
In the config_ignore.moule, there are 2 storage $vars: the active config and the config in the main config folder. The code assumes that if the config is active and not in the main config folder, the config is ignored. Because of config splits this assumption is incorrect. I think there should be a call load the ignored config and use that as a check as well.
Remaining tasks
discuss and do.