Problem
pilot start --telegram can block during startup before polling fully comes up.
Root Cause
Two startup API calls have no short bound:
CheckSingleton()
- initial
getMe() in StartPolling()
If Telegram API is slow or unreachable, startup can stall instead of degrading gracefully.
Proposed Fix
Wrap both startup calls in a short timeout (10s) so polling startup continues or fails fast.
Add regression coverage with a slow test server.
Problem
pilot start --telegramcan block during startup before polling fully comes up.Root Cause
Two startup API calls have no short bound:
CheckSingleton()getMe()inStartPolling()If Telegram API is slow or unreachable, startup can stall instead of degrading gracefully.
Proposed Fix
Wrap both startup calls in a short timeout (10s) so polling startup continues or fails fast.
Add regression coverage with a slow test server.