diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2024-01-18 16:08:31 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2024-01-18 15:20:48 +0000 |
| commit | df0ec93c2662a5189ec2077aee2bf823e392bf25 (patch) | |
| tree | 7df2f1cbf0751082643a1d9e9fa15dd960eff5b0 /dashboard/app/reporting.go | |
| parent | a5da85e3ce72a6f1362d33d098de56123034c2c1 (diff) | |
dashboard: wait for repro only when it makes sense
In case or build/boot/test errors there will never be a reproducer.
It's better to report them right away, without waiting.
Diffstat (limited to 'dashboard/app/reporting.go')
| -rw-r--r-- | dashboard/app/reporting.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dashboard/app/reporting.go b/dashboard/app/reporting.go index f2f4d7931..ccb7fa1ea 100644 --- a/dashboard/app/reporting.go +++ b/dashboard/app/reporting.go @@ -120,7 +120,8 @@ func needReport(c context.Context, typ string, state *ReportingState, bug *Bug) reporting, bugReporting = nil, nil return } - if bug.ReproLevel < ReproLevelC && timeSince(c, bug.FirstTime) < cfg.WaitForRepro { + if crashNeedsRepro(bug.Title) && bug.ReproLevel < ReproLevelC && + timeSince(c, bug.FirstTime) < cfg.WaitForRepro { status = fmt.Sprintf("%v: waiting for C repro", reporting.DisplayTitle) reporting, bugReporting = nil, nil return |
