Lovelace restart issue on updates

I have had restart issues after updates starting around .102. Sometimes the restarts works correctly and sometimes I need to manually force the restart with either ha host reboot, or ha host shutdown. I have asked in the discord channel to see If I could understand what should be happening so that I could capture the information and post the problem on github, but as yet I have not seen any information. What I am thinking should be happening is that there is a script that stops everything and then the update is done and the system is restarted? If this is a correct assumption is there somewhere I can find the script and can it be run in debug mode to capture what is failing.

From monitoring the logs in cli for the last six months it looks like everything is not loading when I use lovelace for updating Home Assistant. I am not sure if it is because everything was not stopped correctly or on restart there was an unreported error that caused the load to terminate early.