Repository navigation
Description
What's the problem
During the 15 h wedge in #4045 every alert path except one depended on Tor: Telegram notifications route through Tor and could not leave the box. The only signal the owner got was Healthchecks.io going quiet. Meanwhile the dashboard showed 225–260 kH/s next to "Monero node offline"-grade verdicts, with nothing naming the outage.
What it impacts
Every owner during exactly the outage the alert is for: without a Tor-independent surface, silent wedging is invisible until a human looks at hashrate or a dead-man timeout.
How I found it
Owner report and Healthchecks DOWN windows (09:47–12:24 and 12:42–13:32Z) on #4045; confirmed in the investigation summary that alerts route through Tor.
How important is it
Release-blocker scope for v2.0.4 (owner direction 2026-11-12: "an alert path that does not need Tor").
Acceptance criteria
- When monerod is peerless/stalled (existing red verdict) or Tor clearnet egress has failed past the heal's broken window, a dashboard surface the owner can reach over the LAN names "Monero node offline" — served without any Tor dependency, from the existing health verdicts; it also surfaces the auto-heal state: last action, cooldown, and the stop-and-say-so line once a daily cap is spent.
docs/monitoring.mdand the alerting docs are corrected (not appended) to document: Telegram alerts travel over Tor and therefore fail during a Tor outage, and the Healthchecks.io dead-man ping is the Tor-independent backstop.- UI-cutover constraint: the current dashboard UI is deleted at the 2.1.0 cutover (pithead#2547; lean UI spec pithead#3566), but the owner's 2026-11-12 direction requires this surface for v2.0.4 — keep the addition to the existing status/alert area, no new UI chrome, and any new page-shaped work goes to the lean-UI target if one exists on this repo by then.
- Tests:
node --test/pytest for the verdict wiring, and a Playwright row indashboard/tests/browser(both themes if visual) for the banner state. Tiers 1–3 are the proof for this change (dashboard logic and docs); say so in the PR body.
Possible solutions
- Derive one banner/status line from
MoneroChainHealthand the Tor heal status already on the status payload; add it to the alert-status surface rather than a new page. Docs-only correction for the dead-man story.
Parent: #4045
Worker brief: Test tier: tiers 1-3. Make one alert path independent of Tor during the #4045 failure: a dashboard surface, reachable over LAN with no Tor dependency, that names "Monero node offline" when MoneroChainHealth is red (peerless/stalled) or the Tor heal reports a sustained clearnet-egress outage, and shows the auto-heal state (last action, cooldown, spent-cap stop line the sibling chunks log). Use the existing verdict/status plumbing — do not restart or probe anything, do not rebuild UI chrome: the current dashboard UI is deleted at the 2.1.0 cutover (#2547/#3566), so keep this to the existing status/alert area and minimal markup per the owner's v2.0.4 direction. Correct docs/monitoring.md and the Telegram docs: alerts route over Tor and fail with it; the Healthchecks.io dead-man ping is the Tor-independent backstop — correct existing text, do not append. Tests: pytest/node --test wiring tests plus a Playwright row in dashboard/tests/browser for the banner state (both themes if visual). Do NOT touch tor_heal.py, the monerod/P2Pool watchdogs, or config templates — sibling chunks. No comments in code.
Activity
node alert: scope docs to tor.auto_heal, cover Tor reason end to end (#…
dashboard: LAN "Monero node offline" banner that needs no Tor (#4079) (…
pithead-developer commentedon Nov 13, 2026
Merged in #4092.
Tor diagnostics snapshot: circuits, consensus, guards, bootstrap and …