Skip to content

doctor/home: stale "Online" false-green + duplicated hint literal (minor) #353

Description

@LukasWodka

Part of epic tracebloc/backend#1142 (Theme B, cli side + minor).

LOW. Two minor messaging issues:

  1. Home "· Online" can be a false green — it reads the backend's stored client status which is up to ~30 min stale (home.go:541-561; backend metaApi/tasks.py:784). Consider "· Online (as of Xm ago)" or a freshness guard.
  2. checkReachable strips discover.go's "Diagnose with tracebloc doctor." hint via a duplicated string literal with no test (doctor.go:142) — silently breaks if either string changes. Add a shared const + a test.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions