hub v0.162.0 (built, not deployed): no repeat mail after a restart for a known-down host or an already-reported stale restore test (R-1001); the Day-0 agent list leaves out packages without the felhom-agent file, a vouch of one is refused (R-1011); an absent tunnel reads 'none set up' (R-1070)
gates / gates (push) Successful in 7m20s

This commit is contained in:
admin committed 2026-10-19 20:27:01 +02:00
1 parent a28f162c66
commit 5f31da04bc
16 files changed
+443 -17

No files matched your search

@@ -51,8 +51,12 @@ func (f *fakeRegistry) start(t *testing.T) *gitea.Client {
if f.shaless[seg[5]+"/"+seg[6]] {
sha = ""
}
name := seg[5] // the agent's file is named after its package …
if name == pkgGolden {
name = fileGolden // … the golden's is not (R-1011: the hub now asks for exactly that file)
}
w.Header().Set("Content-Type", "application/json")
_, _ = w.Write([]byte(`[{"name":"` + seg[5] + `","sha256":"` + sha + `"}]`))
_, _ = w.Write([]byte(`[{"name":"` + name + `","sha256":"` + sha + `"}]`))
return
}
w.WriteHeader(http.StatusNotFound)