Skip to content

Commit 7d1d004

Browse files
committed
syz-cluster: log HEAD commit date during triage
Currently triage logs look a bit confusing since for some commits they include author date and for other commit date. Use commit date everywhere.
1 parent e833134 commit 7d1d004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syz-cluster/pkg/triage/commit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (cs *CommitSelector) Select(series *api.Series, tree *api.Tree, lastBuild *
4545
if err != nil || head == nil {
4646
return SelectResult{}, err
4747
}
48-
cs.tracer.Log("current HEAD: %q (%v)", head.Hash, head.Date)
48+
cs.tracer.Log("current HEAD: %q (commit date: %v)", head.Hash, head.CommitDate)
4949
// If the series is already too old, it may be incompatible even if it applies cleanly.
5050
const seriesLagsBehind = time.Hour * 24 * 7
5151
if diff := head.CommitDate.Sub(series.PublishedAt); series.PublishedAt.Before(head.CommitDate) &&

0 commit comments

Comments
 (0)