aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/pkg/triage
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-11-28 10:05:38 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-11-28 12:51:53 +0000
commit7d1d004fe2aaa14da41716065031ea745d313aaf (patch)
treee90027556a374853474ddd3f6fe64efd8741d2f8 /syz-cluster/pkg/triage
parente8331348a26e30c511b7bbbd25d071a1862cf6a8 (diff)
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.
Diffstat (limited to 'syz-cluster/pkg/triage')
-rw-r--r--syz-cluster/pkg/triage/commit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-cluster/pkg/triage/commit.go b/syz-cluster/pkg/triage/commit.go
index eaf8e3eaf..81c7f6150 100644
--- a/syz-cluster/pkg/triage/commit.go
+++ b/syz-cluster/pkg/triage/commit.go
@@ -45,7 +45,7 @@ func (cs *CommitSelector) Select(series *api.Series, tree *api.Tree, lastBuild *
if err != nil || head == nil {
return SelectResult{}, err
}
- cs.tracer.Log("current HEAD: %q (%v)", head.Hash, head.Date)
+ cs.tracer.Log("current HEAD: %q (commit date: %v)", head.Hash, head.CommitDate)
// If the series is already too old, it may be incompatible even if it applies cleanly.
const seriesLagsBehind = time.Hour * 24 * 7
if diff := head.CommitDate.Sub(series.PublishedAt); series.PublishedAt.Before(head.CommitDate) &&