mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-14 12:02:46 +02:00
The WebUI only listens for the app_state_update_message SSE event to populate the Apps tab. In bitcoin-only mode the warmup data was sent under installed_app_status, which no client listens to, so the Apps tab was stuck on the loading screen whenever the app status cache was warm. Installing LND made it work again because the lightning warmup path already used the correct event (raspiblitz#3608, raspiblitz#5141). Also hardens the warmup path: - reset the warmup_running flag on errors so a single failure no longer starves all future SSE clients of warmup data - convert per-source exceptions in the bitcoin-only warmup gather instead of discarding the whole data set - don't fall through to the partial-data branches when the API is fully initialized with lightning disabled - remove the now-unused INSTALLED_APP_STATUS event and the dead cached_status_raw variable Adds regression tests plus a conftest.py providing test env defaults so the suite runs without a developer .env file. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| models | ||
| routers | ||
| __init__.py | ||
| test_warmup_events.py | ||
| utils.py | ||