Every other boot on my server the EFI folder is missing under /boot it only contains the /boot/loader/random-seed. The system boots fine and works as expected. I only notice when I try to update the system because it fails with Could not find any previously installed systemd-boot which is understandable because it is missing. If I reboot the system the EFI folder apears again and I can update the system as expected.
mount | grep boot
/dev/nvme1n1p1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
I unmounted it and remounted it again but it does not change anything.
The strange thing is that a reboot (or two) fixes the issue.
And journalctl shows that it actually does bot from there.
would have inconsistent results across boots since sda can reasonably change to point to a different disk. Or even /dev/disk/by-uuid/asdf-asdf can have a race condition when two different devices have file systems with the same UUID, and similarly for /dev/disk/by-label/foo.
Thank you so much @ElvishJerricco. That was it. I setup mirrored drives and wanted to also rsync the boot partitions but never did. So I have two similar drives with the same partitions and it seems pure luck when the right one was mounted.