aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-08-19 18:33:58 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-08-20 12:09:28 +0000
commitb2b57c77e053311868ed13aea7b168dbc63d0696 (patch)
treefce6ade8b419937e312b28a80979165e9d9e1958 /syz-cluster
parentbd178e579d4e464637c6f58c476bd45e60296748 (diff)
syz-cluster: use correct failed session step status
It is the session steps with the "error" status that must be counted.
Diffstat (limited to 'syz-cluster')
-rw-r--r--syz-cluster/pkg/db/stats_repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-cluster/pkg/db/stats_repo.go b/syz-cluster/pkg/db/stats_repo.go
index e96d6b23b..7604df159 100644
--- a/syz-cluster/pkg/db/stats_repo.go
+++ b/syz-cluster/pkg/db/stats_repo.go
@@ -67,7 +67,7 @@ func (repo *StatsRepository) SessionStatusPerWeek(ctx context.Context) (
SQL: `WITH SessionTestAggregates AS (
SELECT
SessionID,
- COUNTIF(Result = 'failed') > 0 AS HasFailedSteps,
+ COUNTIF(Result = 'error') > 0 AS HasFailedSteps,
COUNTIF(Result = 'skipped') > 0 AS HasSkippedSteps
FROM SessionTests
GROUP BY SessionID