hosting_certificate_prevent_orphaned_services() causing recursive/loop cache rebuild
I'm not very sure how to explain this issue, and we can close if no one else runs into this, but on a server with hosting_https installed, I can into weird infinite loops of cache rebuilds during the Agir 3.6 -> 3.7 upgrade.
After some debugging, I found that commenting these lines fixed it:
submodules/letsencrypt/hosting_letsencrypt.module
hosting_letsencrypt_system_info_alter()
hosting_certificate_prevent_orphaned_services($info, 'Certificate', 'LetsEncrypt');
submodules/apache_https/hosting_apache_https.module
hosting_apache_https_system_info_alter()
hosting_certificate_prevent_orphaned_services($info, 'http', 'https_apache');
Logging here in case someone bumps into a similar issue. I only upgraded one server so far, so will see if it happens on other servers too.