From 458b8fae0b78cf8152138c760c065c1141dcffa8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 12 Apr 2026 04:28:13 +0000 Subject: [PATCH 1/2] Initial plan From c8fb773be4b5698a884d1b668622b1d2e900154a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 12 Apr 2026 04:33:38 +0000 Subject: [PATCH 2/2] Fix disabled Bitcoin tile incorrectly showing Syncing Timechain Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/b87b574a-c97e-45c0-a4c6-396fe3c9c418 Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> --- app/sovran_systemsos_web/server.py | 4 ++-- app/sovran_systemsos_web/static/js/tiles.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/sovran_systemsos_web/server.py b/app/sovran_systemsos_web/server.py index ac80ab0..f5ed583 100644 --- a/app/sovran_systemsos_web/server.py +++ b/app/sovran_systemsos_web/server.py @@ -1889,7 +1889,7 @@ async def api_services(): has_domain_issues = True health = "needs_attention" if (has_port_issues or has_domain_issues) else "healthy" # Check Bitcoin IBD state - if unit == "bitcoind.service": + if unit == "bitcoind.service" and enabled: sync = await loop.run_in_executor(None, _get_bitcoin_sync_info) if sync and sync.get("initialblockdownload"): health = "syncing" @@ -2127,7 +2127,7 @@ async def api_service_detail(unit: str, icon: str | None = None): has_domain_issues = True health = "needs_attention" if (has_port_issues or has_domain_issues) else "healthy" # Check Bitcoin IBD state - if unit == "bitcoind.service": + if unit == "bitcoind.service" and enabled: sync = await loop.run_in_executor(None, _get_bitcoin_sync_info) if sync and sync.get("initialblockdownload"): health = "syncing" diff --git a/app/sovran_systemsos_web/static/js/tiles.js b/app/sovran_systemsos_web/static/js/tiles.js index 53eaddc..799f8c4 100644 --- a/app/sovran_systemsos_web/static/js/tiles.js +++ b/app/sovran_systemsos_web/static/js/tiles.js @@ -137,7 +137,7 @@ function buildTile(svc) { return tile; } - if (svc.sync_ibd) { + if (svc.sync_ibd && svc.enabled) { var pct = Math.round((svc.sync_progress || 0) * 100); var id = tileId(svc); var eta = _calcBtcEta(id, svc.sync_progress || 0); @@ -203,7 +203,7 @@ function updateTiles(services) { var tile = $tilesArea.querySelector('.service-tile[data-tile-id="' + id + '"]'); if (!tile) continue; - if (svc.sync_ibd) { + if (svc.sync_ibd && svc.enabled) { // If tile was previously normal, rebuild it with the sync layout if (!tile.querySelector(".tile-sync-container")) { var newTile = buildTile(svc);