From 0bfc1202cebeedf826d470296424f85dee4fe842 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Fri, 11 Jul 2025 12:23:09 +0200 Subject: syz-cluster: make reports more detailed Fill in build details per each finding and display that information in the report email. Extend the test that verifies how api.SessionReport is filled. --- syz-cluster/pkg/api/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'syz-cluster/pkg/api/api.go') diff --git a/syz-cluster/pkg/api/api.go b/syz-cluster/pkg/api/api.go index 3f3a6b089..5fcd0e797 100644 --- a/syz-cluster/pkg/api/api.go +++ b/syz-cluster/pkg/api/api.go @@ -128,8 +128,6 @@ type SessionReport struct { ID string `json:"id"` Cc []string `json:"cc"` Moderation bool `json:"moderation"` - BaseRepo string `json:"base_repo"` - BaseCommit string `json:"base_commit"` Series *Series `json:"series"` Findings []*Finding `json:"findings"` Link string `json:"link"` // URL to the web dashboard. @@ -145,6 +143,8 @@ type Finding struct { } type BuildInfo struct { + Repo string `json:"repo"` + BaseCommit string `json:"base_commit"` Arch string `json:"arch"` Compiler string `json:"compiler"` ConfigLink string `json:"config_link"` -- cgit mrf-deployment