aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/reporting.go
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/app/reporting.go')
-rw-r--r--dashboard/app/reporting.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/dashboard/app/reporting.go b/dashboard/app/reporting.go
index d508857f1..4022bfb23 100644
--- a/dashboard/app/reporting.go
+++ b/dashboard/app/reporting.go
@@ -16,7 +16,6 @@ import (
"github.com/google/syzkaller/pkg/email"
"github.com/google/syzkaller/pkg/html"
"golang.org/x/net/context"
- "google.golang.org/appengine"
db "google.golang.org/appengine/datastore"
"google.golang.org/appengine/log"
)
@@ -223,14 +222,17 @@ func handleReportNotif(c context.Context, typ string, bug *Bug) (*dashapi.BugNot
return nil, nil
}
+// TODO: this is what we would like to do, but we need to figure out
+// KMSAN story: we don't do fix bisection on it (rebased),
+// do we want to close all old KMSAN bugs with repros?
+// For now we only enable this in tests.
+var obsoleteWhatWontBeFixBisected = false
+
func (bug *Bug) wontBeFixBisected() bool {
if bug.ReproLevel == ReproLevelNone {
return true
}
- // TODO: this is what we would like to do, but we need to figure out
- // KMSAN story: we don't do fix bisection on it (rebased),
- // do we want to close all old KMSAN bugs with repros?
- if appengine.IsDevAppServer() {
+ if obsoleteWhatWontBeFixBisected {
cfg := config.Namespaces[bug.Namespace]
for _, mgr := range bug.HappenedOn {
if !cfg.Managers[mgr].FixBisectionDisabled {