5 Commits
Author SHA1 Message Date
nanobot 10939c7da5 deploy: include matrix channel in dependency + channel gates
Test Suite / Detect changes (push) Canceled after 0s
Test Suite / Python (Windows, 3.14) (push) Canceled after 0s
Test Suite / Python (minimum, 3.11) (push) Canceled after 0s
Test Suite / Python (latest, 3.14 + coverage) (push) Canceled after 0s
Test Suite / Python (Windows process compatibility) (push) Canceled after 0s
Test Suite / Python (Windows installer compatibility) (push) Canceled after 0s
Test Suite / WebUI static checks (push) Canceled after 0s
Test Suite / WebUI production build (push) Canceled after 0s
Test Suite / WebUI unit and coverage (push) Canceled after 0s
Test Suite / WebUI browser (1/4) (push) Canceled after 0s
Test Suite / WebUI browser (2/4) (push) Canceled after 0s
Test Suite / WebUI browser (3/4) (push) Canceled after 0s
Test Suite / WebUI browser (4/4) (push) Canceled after 0s
Test Suite / webui (push) Canceled after 0s
Test Suite / Terminal UI (Windows) (push) Canceled after 0s
Test Suite / Terminal UI (push) Canceled after 0s
Test Suite / Native package acceptance (push) Canceled after 0s
Test Suite / docker (push) Canceled after 0s
Test Suite / CI required (push) Canceled after 0s
(cherry picked from commit c07543386d)
2026-11-22 19:00:13 +08:00
nanobot beccb382df deploy: match Unknown-channel warnings by pipeline format
Agent tool-call echoes also hit this journal and can contain the literal
string; require '| WARNING | - | Unknown channel:' to avoid false
positives in the channel check.

(cherry picked from commit 4c0a1c2812)
2026-11-22 19:00:13 +08:00
nanobot 84d8e6069f deploy: channel-dependency gate + post-restart channel check
2026-09-03 incident: a silently-failed pip install (Tsinghua mirror
transient) left the gateway WebSocket-only for 3.5 days while /health
stayed green. New gates:
- dep gate: verify venv imports (telegram, websockets) BEFORE restart;
  abort without touching the service on failure, one reinstall attempt
  Tsinghua -> PyPI (explicit package names; 'telegram' on PyPI is squat)
- channel check: post-restart journal must have no 'Unknown channel'
  and 'Channels enabled:' must list every required channel, else
  auto-rollback (also applied on rollback path)

(cherry picked from commit d8fc220c8b)
2026-11-22 19:00:13 +08:00
nanobot fa2c33636a fix(deploy): bypass proxy in health checks
Loopback health checks inherited http_proxy from /etc/environment and
were routed through v2rayA, failing spuriously (2026-08-28 incident).

(cherry picked from commit aabad78df9)
2026-11-22 19:00:13 +08:00
nanobot d75c4c7cfd feat: add deploy/rollback supervisor script
Git-checkout-based deployment with health checks and automatic rollback.
Usage: deploy.sh <commit> | deploy.sh rollback | deploy.sh status

(cherry picked from commit 4176122d26)
2026-11-22 19:00:13 +08:00