Skip to content

Commit c5ed4da

Browse files
author
mani
committed
Release v1.93.1
1 parent d7de84a commit c5ed4da

8 files changed

Lines changed: 16 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Release notes live in dedicated files under `releases/`.
44

55
- [Unreleased](releases/unreleased.md)
6+
- [v1.93.1](releases/v1.93.1.md)
67
- [v1.93](releases/v1.93.md)
78
- [v1.92.33](releases/v1.92.33.md)
89
- [v1.92.32](releases/v1.92.32.md)

api/serial.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1902
1+
1903

docs/help/32_vps_manager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The main view shows a table with all servers (Master + VPS) and their current st
1818
| **Online** | ✅ reachable / ❌ offline |
1919
| **Bots** | Count of unique running bots currently reported for that VPS |
2020
| **Started** | Last boot time |
21-
| **Updates** | Pending Linux package updates from the fixed **agent cache** source, including OK/Stale/Missing/Error provenance |
21+
| **Updates** | Pending Linux package updates; healthy rows show only the count, while Stale/Missing/Error states remain visible |
2222
| **PBGui / PBGui Branch / PBGui GitHub** | Installed version, branch, and whether it matches GitHub origin |
2323
| **PB7 / PB7 Branch / PB7 GitHub** | PB7 version, branch, and whether it matches GitHub origin |
2424

docs/help_de/32_vps_manager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Die Hauptansicht zeigt eine Tabelle mit allen Servern (Master + VPS) und ihrem a
1818
| **Online** | ✅ erreichbar / ❌ offline |
1919
| **Bots** | Anzahl eindeutig laufender Bots, die aktuell für diesen VPS per Telemetrie gemeldet werden |
2020
| **Started** | Letzter Boot-Zeitpunkt |
21-
| **Updates** | Ausstehende Linux-Paket-Updates aus der festen Quelle **Agent cache**, inklusive Provenienz OK/Stale/Missing/Error |
21+
| **Updates** | Ausstehende Linux-Paketupdates; gesunde Zeilen zeigen nur die Anzahl, während Stale/Missing/Error sichtbar bleiben |
2222
| **PBGui / PBGui Branch / PBGui GitHub** | Installierte Version, Branch und ob sie mit dem GitHub-Origin übereinstimmt |
2323
| **PB7 / PB7 Branch / PB7 GitHub** | PB7-Version, Branch und ob sie mit dem GitHub-Origin übereinstimmt |
2424

frontend/vps_manager.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9619,7 +9619,10 @@
96199619
const packageStatus = row.package_status || {};
96209620
const model = agentStateModel(packageStatus.state);
96219621
const updates = packageStatus.available === true ? String(packageStatus.upgrades) : 'N/A';
9622-
return `<div>${esc(updates)} ${packageStatus.reboot_required === true ? levelTag('warning', 'Reboot') : ''}</div><div class='status-sub'>Source: agent cache · ${levelTag(model.tone === 'error' ? 'error' : model.tone === 'warning' ? 'warning' : 'ok', model.label)}${model.state === 'stale' ? ' · Last-known' : ''}</div>`;
9622+
const statusLine = model.state === 'ok'
9623+
? ''
9624+
: `<div class='status-sub'>${levelTag(model.tone === 'error' ? 'error' : 'warning', model.label)}${model.state === 'stale' ? ' · Last-known' : ''}</div>`;
9625+
return `<div>${esc(updates)} ${packageStatus.reboot_required === true ? levelTag('warning', 'Reboot') : ''}</div>${statusLine}`;
96239626
}
96249627
if (column.key === 'pbgui') return renderOverviewVersionCell(row.pbgui, row.pbgui_github);
96259628
if (column.key === 'pbgui_branch') return esc(row.pbgui_branch || '-');

pbgui_purefunc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def import_passivbot_rust():
439439
return pbr
440440

441441
PBGDIR = Path(__file__).resolve().parent
442-
PBGUI_VERSION = "v1.93"
442+
PBGUI_VERSION = "v1.93.1"
443443
_serial_path = PBGDIR / 'api' / 'serial.txt'
444444
PBGUI_SERIAL = _serial_path.read_text().strip() if _serial_path.exists() else ''
445445

releases/v1.93.1.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# v1.93.1
2+
3+
- Simplified healthy VPS Manager update cells by hiding the repetitive internal agent-cache source label while retaining non-OK status warnings.

tests/ui/test_vps_manager_agent_frontend.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,13 @@ def test_overview_provisional_detail_and_sidebar_share_agent_contract() -> None:
109109
"""All page surfaces consume the normalized package and agent objects."""
110110

111111
source = HTML_PATH.read_text(encoding="utf-8")
112+
overview_renderer = _extract_function(source, "renderOverviewTable")
112113

113114
assert "summary.package_status || { source: 'agent_cache'" in source
114115
assert "summary.monitor_agent || { source: 'agent_cache'" in source
115-
assert "Source: agent cache ·" in _extract_function(source, "renderOverviewTable")
116+
assert "Source: agent cache" not in overview_renderer
117+
assert "model.state === 'ok'" in overview_renderer
118+
assert "Last-known" in overview_renderer
116119
assert "renderSidebarAgentStatus(st)" in _extract_function(source, "renderSidebarActions")
117120
assert "renderAgentCachePanel(status, true)" in _extract_function(source, "renderMasterView")
118121
assert "renderAgentCachePanel(status, false)" in _extract_function(source, "renderVpsView")

0 commit comments

Comments
 (0)