macOS app TestFlight build fails to "Open at Login"

I have a TestFlight build of my Mac app installed on Ventura (13.2.1).

If I open the app, then restart macOS with "Reopen windows when logging back in" checked, it opens again as expected on login.

If I enable "Open at Login" from the app's dock item but don't open the app, then restart macOS, it bounces in the dock for 90 seconds or so but never opens. If I click the item in the dock afterwards, it opens immediately.

Any ideas on what could cause this behavior? I see nothing in the system log, crash reports, etc.

macOS app TestFlight build fails to "Open at Login"
 
 
Q