core.wcm.components 2.23.4 appear to uninstall or un-index
Service Pack: 6.5.20
core.wcm.components: 2.23.4
Instances Affected: Author and Publish
We noticed that our ui.content and ui.apps packages would sometimes not automatically install themselves through our normal pipeline and we had to install them after a code build manually.

We were able to identify this was only occurring when the core.wcm.components packages appeared to no longer have the "Last installed" date and last installed by username listed. The functionality of the core components appears unaffected and ui.apps and ui.content could be manually installed without an issue, so we don't think the package is truly uninstalled but rather it is not recognized by the ui.content and ui.apps packages when they are attempting to install.

Initially, we had older versions of the core.wcm.components in the package manager, which would install over 2.23.4 and we thought that was causing the uninstall issue. We removed all old versions of the core.wcm.components and are still seeing the same issue.
We have been checking if the core.wcm.components need to be reinstalled before we deploy to an environment. If we click "reinstall" then the packages appear normal again and the ui.content and ui.apps packages will install normally on a build. We have never seen the core packages move from a normal state to the weird state. Sometimes they will stay installed for a week, other times they shows as uninstalled a few hours after the reinstall was triggered.
Any guidence or ideas would be greatly appreciated!