From 196e0a96ca9d333d06ac1cf220091c82b1c21278 Mon Sep 17 00:00:00 2001 From: Alexander Potapenko Date: Tue, 24 Feb 2026 15:59:19 +0100 Subject: dashboard, syz-ci: track and expose commit AuthorName Currently, syz-ci extracts the AuthorName of fixing commits but does not pass it to the dashboard. The dashboard also lacks the ability to to persist it in the Datastore or expose it via the public JSON API. This commit introduces end-to-end tracking of AuthorName: - syz-ci: populate AuthorName when uploading commits. - dashboard/app: persist AuthorName in the CommitInfo Datastore entity. - dashboard/api: expose AuthorName (and Author email) in the public JSON API. - dashboard/app: update public JSON API tests to verify AuthorName persistence without relying on direct Datastore queries. --- dashboard/api/api.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'dashboard/api/api.go') diff --git a/dashboard/api/api.go b/dashboard/api/api.go index cafdd170e..ce3e0e952 100644 --- a/dashboard/api/api.go +++ b/dashboard/api/api.go @@ -52,10 +52,12 @@ type Crash struct { } type Commit struct { - Title string `json:"title"` - Link string `json:"link,omitempty"` - Hash string `json:"hash,omitempty"` - Repo string `json:"repo,omitempty"` - Branch string `json:"branch,omitempty"` - Date *time.Time `json:"date,omitempty"` + Title string `json:"title"` + Link string `json:"link,omitempty"` + Hash string `json:"hash,omitempty"` + Repo string `json:"repo,omitempty"` + Branch string `json:"branch,omitempty"` + Author string `json:"author,omitempty"` + AuthorName string `json:"author-name,omitempty"` + Date *time.Time `json:"date,omitempty"` } -- cgit mrf-deployment