From 4e5820c0c41b0c979471b66497f055f5631dfd65 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 29 Dec 2025 13:07:53 +0100 Subject: dashboard/app: wire more admin handlers Make it possible 3 more admin handlers that look useful for future and safe. Now that we don't deploy the app from local machines, it's problematic to call them without this wiring. Remove one old handler that we don't need anymore. --- dashboard/app/main.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dashboard/app/main.go') diff --git a/dashboard/app/main.go b/dashboard/app/main.go index 95bd08919..a2025215e 100644 --- a/dashboard/app/main.go +++ b/dashboard/app/main.go @@ -967,6 +967,12 @@ func handleAdmin(c context.Context, w http.ResponseWriter, r *http.Request) erro } case "invalidate_bisection": return handleInvalidateBisection(c, w, r) + case "updateBugReporting": + return updateBugReporting(c, w, r) + case "restartFailedBisections": + return restartFailedBisections(c, w, r) + case "setMissingBugFields": + return setMissingBugFields(c, w, r) case "emergency_stop": if err := recordEmergencyStop(c); err != nil { return fmt.Errorf("failed to record an emergency stop: %w", err) -- cgit mrf-deployment