diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-08-19 18:33:58 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-08-20 12:09:28 +0000 |
| commit | b2b57c77e053311868ed13aea7b168dbc63d0696 (patch) | |
| tree | fce6ade8b419937e312b28a80979165e9d9e1958 /syz-cluster | |
| parent | bd178e579d4e464637c6f58c476bd45e60296748 (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.go | 2 |
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 |
