diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2025-12-29 13:07:53 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2025-12-29 12:30:40 +0000 |
| commit | 4e5820c0c41b0c979471b66497f055f5631dfd65 (patch) | |
| tree | 5b3c3f48bc12b1e1d5e83375e4326cb3f2f349e8 /dashboard/app/main.go | |
| parent | a938fefbe14c4cb1c83bf75cd9caecced7ae25e8 (diff) | |
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.
Diffstat (limited to 'dashboard/app/main.go')
| -rw-r--r-- | dashboard/app/main.go | 6 |
1 files changed, 6 insertions, 0 deletions
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) |
