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
Piece 7: doctor in Go (collection and JSON formatting) #4224
Doctor is about 1,660 raw lines of Bash probes. On go-port/3811 JSON formatting and many probe packages are native but Bash still collects. Two macOS path-canonicalization assertions fail in Go mode.
What it impacts
Operators diagnosing an appliance and the dashboard's diag-doctor endpoint.
How I found it
Slice sizes on develop; PARITY.md probe table (memory, clock, engine, disk, Tor, Monero sync, firewall, egress each with Go units). Not measured; human frequency. Unknown: privileged host behavior was never shown on the branch.
How important is it
Low-medium; after config because probes read it.
Acceptance criteria
doctor and doctor --json run entirely in Go behind their selector; human and JSON output identical to Bash on the existing fixtures.
Existing doctor suites pass unchanged in both modes; the two macOS failures are fixed or macOS Go is declared unsupported in the table and docs.
Go median wall time not above Bash; default flips in the release where all hold, otherwise it rolls.
Possible solutions
Harvest go/internal/doctor, nodeprobe, firewall, onion and torhistory; keep root-only collection in Bash helpers if privileged behavior cannot be proven in the bench lane.
Activity