[loop-cycle-3] refactor: split app.py into schedulers.py and startup.py (#1363) #1455

Merged
Timmy merged 1 commits from refactor/split-app-py into main 2026-03-24 19:07:19 +00:00

1 Commits

Author SHA1 Message Date
Alexander Whitestone
6dda0c9769 refactor: split app.py into schedulers.py and startup.py (#1363)
Some checks failed
Tests / lint (pull_request) Failing after 11s
Tests / test (pull_request) Has been skipped
Extract background scheduler coroutines into dashboard/schedulers.py (278 lines)
and lifecycle management into dashboard/startup.py (205 lines).

app.py reduced from 780 to 343 lines — thin entry point with app creation,
middleware config, router registration, and route handlers.

Net reduction: -437 lines from app.py, +46 lines overhead from module boilerplate.
2026-03-24 15:06:38 -04:00