Skip to content

[Admin Console] Ops visibility panels (mirror, workers, NIP-05, storage) #816

Closed

Description

@Ferryx349

Parent

Part of #688

Context

Operators have Network Health (#798, #800) and live metrics, but cannot inspect mirroring, background workers, NIP-05 verification, or storage counts from admin without SSH/SQL.

Goal

One admin Operations area covering mirror health, worker ops, NIP-05 visibility, storage counts, and Tor/I2P labeling, same auth, IP allowlist, and rate limits as other admin routes.

Scope

Backend — instrumentation

  • Publish bounded mirror state from static-mirroring workers (connection state, reconnect count, sanitized last error, last event time, target URL/index) via Redis/cache with TTL/heartbeat.
  • Publish bounded worker state for maintenance, relay-monitor, and summary of configured workers (from primary and/or per-worker heartbeats): type, index, last run start/finish, sanitized last error, enabled/disabled from settings.

Backend — APIs

  • GET /admin/ops/mirrors
  • GET /admin/ops/workers
  • GET /admin/ops/nip05-verifications — paginated; filters: domain, verified, min failures, stale vs nip05.verifyExpiration
  • POST /admin/ops/nip05-verifications/:pubkey/reverify — rate limited; same semantics as maintenance re-verify
  • GET /admin/ops/storage/counts — kinds, since, until; repository counts aligned with NIP-45 semantics; bounded (timeout, max window, cost limits)

Dashboard

  • New Operations nav view (or equivalent) with panels: Mirror Health, Worker Ops, NIP-05, Storage counts
  • Tor/I2P: show probe networkType / DNS-skip notes (cross-link Network Health where useful; no duplicate probe engine)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions