aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/pkg/api/api.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-07-11 12:23:09 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-07-14 11:30:46 +0000
commit0bfc1202cebeedf826d470296424f85dee4fe842 (patch)
tree943beb000899edc01a45571039b3a12aff31dc75 /syz-cluster/pkg/api/api.go
parentc812f99c4dbbcef96726a22aee8d578dc83ed9cd (diff)
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.
Diffstat (limited to 'syz-cluster/pkg/api/api.go')
-rw-r--r--syz-cluster/pkg/api/api.go4
1 files changed, 2 insertions, 2 deletions
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"`