blitz_api/app/apps
fusion44 63b136d5ca
fix(apps): report electrs installed/configured/online in advanced status
_do_electrs_status_advanced only handled the negative cases: each guard
set installed/configured/status to its false-y value and returned early.
On the happy path (electrs installed, configured and running) it fell
through, populated the ports and sync details, but never set
s.installed/s.configured/s.status - so they kept their AppStatus
defaults (False/False/offline).

The /apps/status_advanced/electrs endpoint therefore reported electrs as
not installed and offline while simultaneously returning its ports and
sync details, disagreeing with the app_state_update_message status
(fusion44/blitz_api#286). Set the positive values when each guard passes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 13:07:52 +02:00
..
impl fix(apps): report electrs installed/configured/online in advanced status 2026-07-08 13:07:52 +02:00
tasks_impl fix(api): release Redis connections in channel listeners/notifiers 2026-07-03 22:40:14 +02:00
cache.py fix(api): release Redis connections in channel listeners/notifiers 2026-07-03 22:40:14 +02:00
constants.py refactor: code cleanup 2025-05-06 09:16:46 +02:00
docs.py feat: update get app status error handling code 2025-05-06 09:16:46 +02:00
models.py chore: clean up imports; add better LND error logging 2026-02-03 11:05:19 +01:00
router.py fix(api): replace deprecated asyncio.get_event_loop() 2026-07-03 22:34:44 +02:00
service.py fix(api): replace deprecated asyncio.get_event_loop() 2026-07-03 22:34:44 +02:00
tasks.py feat: implement (un)install celery task 2025-05-06 09:16:46 +02:00
utils.py feat: update get app status error handling code 2025-05-06 09:16:46 +02:00