Nik Afiq 8bd76b88f8 fix(login): fail the run when login can't reach home
login.run() only printed a warning and returned when it gave up, so the
game window still existed, _run_sequence kept going, every later task
aborted at its own first click-verify, and the run exited 0. Cron then
logged and Discord-alerted "finished OK" for runs that did nothing --
18 of them between 2026-10-26 and 2026-10-29 while the client itself
was hanging at its "Initialize Catalog" startup screen.

Now login kills the stuck game and raises RuntimeError, so the run exits
non-zero and ba_cron_run.sh logs FAILED and sends the error alert.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 14:50:56 +09:00
..