From b438bd66d6f95113d52f25c25bfef0e963c8ce8d Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 9 Jan 2024 16:27:55 +0100 Subject: dashboard: introduce an emergency stop mode Add an emergency stop button that can be used by any admin. After it's clicked two times, syzbot stops all reporting and recoding of new bugs. It's assumed that the stop mode is revoked by manually deleting an entry from the database. --- dashboard/app/admin.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dashboard/app/admin.html') diff --git a/dashboard/app/admin.html b/dashboard/app/admin.html index 8ada1c64b..dddc03d46 100644 --- a/dashboard/app/admin.html +++ b/dashboard/app/admin.html @@ -13,6 +13,12 @@ Main page. {{template "header" .Header}} + {{if $.Stopped}} +
Syzbot is in the emergency stop state
+ {{else}} +
Syzbot is reporting too many bugs? {{link $.StopLink "Emergency stop"}} [click {{$.MoreStopClicks}} more times]
+ In this mode, syzbot will stop all reporting and won't record any new findings.
+ {{end}}
Error log:
@@ -21,7 +27,6 @@ Main page. textarea.scrollTop = textarea.scrollHeight;

- {{with $.MemcacheStats}} -- cgit mrf-deployment
Memcache stats: