feat(platform): surface incomplete vehicle archives

This commit is contained in:
lingniu
2026-07-04 09:45:03 +08:00
parent 29f84099b2
commit b127b22a4b
10 changed files with 78 additions and 24 deletions

View File

@@ -463,6 +463,9 @@ func TestHandlerVehicleServiceSummaryEndpoint(t *testing.T) {
if body.Data.MultiSourceVehicles < 1 || body.Data.SingleSourceVehicles < 1 {
t.Fatalf("summary should expose source coverage distribution, got %+v", body.Data)
}
if body.Data.ArchiveIncompleteVehicles < 1 {
t.Fatalf("summary should expose incomplete archive vehicles, got %+v", body.Data)
}
if len(body.Data.ServiceStatuses) == 0 || len(body.Data.Protocols) == 0 {
t.Fatalf("summary should expose service status and protocol distributions, got %+v", body.Data)
}