You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
admin: the worker ops panel is generated from the capture's worker model, so it shows rows that are not workers and a permanent stale relay-monitor row #1318
Found by job 045's ux lens (row 5 of #868) at 8488bf13.
crates/nostream-admin/src/utils/workers.rs:56-100 emits one "Client worker N" row per CPU/tokio thread, one "DVM orchestrator N", and "Relay monitor (NIP-66)" whenever nip66.enabled. The rewrite forked no client workers (WORKER_COUNT selects runtime threads, ADR 0010 D3), only maintenance is ever published (crates/nostreamd/src/admin_http.rs:109-115), and crates/nostreamd/src/workers.rs:18 says the relay-monitor worker "is issue #865's and is not registered here".
Evidence
sed -n '80p' crates/nostream-admin/src/utils/workers.rs → worker_type: "relay-monitor".to_owned(),
What a fix changes
Render the process model that exists (maintenance; relay-monitor only when it is registered) and stop synthesising per-thread client workers. Today an operator reading the panel concludes half the workers are dead when they do not exist, and with NIP-66 on a red "Stale" row nothing can refresh.
Acceptance
The panel lists exactly the workers the daemon registers.
A case with NIP-66 enabled and no relay-monitor worker does not render a stale row.
Record: docs/rewrite/reviews/2026-11-30-relay-storage.md — finding F26, lens ux, tree 8488bf13.
Activity