Complete subnet immune autopsy UI and prefix normalization.
Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled

Normalize /24 labels for autopsy API and cred-graph triggers; add Emberwake/Path Tracer autopsy cards and Vitest coverage for Seer feed consumers.
This commit is contained in:
AetherForge
2026-06-07 09:22:56 -07:00
parent 5853f80c48
commit 588735e7e7
7 changed files with 361 additions and 1 deletions

View File

@@ -42,4 +42,10 @@ func TestPrefixFromHostOrIP(t *testing.T) {
if got := PrefixFromHostOrIP("172.16.5.9"); got != "172.16.5" {
t.Fatalf("prefix=%q", got)
}
if got := PrefixFromHostOrIP("10.0.0.x"); got != "10.0.0" {
t.Fatalf("label prefix=%q", got)
}
if got := PrefixFromHostOrIP("10.2.2"); got != "10.2.2" {
t.Fatalf("bare prefix=%q", got)
}
}