From 780d1bc51844c9df9c4d09e57bdfdd3d1ff8ad28 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 3 Jul 2024 12:27:18 +0200 Subject: syz-manager: respect repro config when connected to dashboard --- syz-manager/manager.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/syz-manager/manager.go b/syz-manager/manager.go index f888c4286..d262466e1 100644 --- a/syz-manager/manager.go +++ b/syz-manager/manager.go @@ -1037,7 +1037,7 @@ func (mgr *Manager) saveCrash(crash *Crash) bool { } else { // Don't store the crash locally, if we've successfully // uploaded it to the dashboard. These will just eat disk space. - return resp.NeedRepro + return mgr.cfg.Reproduce && resp.NeedRepro } } @@ -1103,6 +1103,9 @@ func (mgr *Manager) needLocalRepro(crash *Crash) bool { } func (mgr *Manager) needRepro(crash *Crash) bool { + if !mgr.cfg.Reproduce { + return false + } if crash.fromHub || crash.fromDashboard { return true } -- cgit mrf-deployment