Skip to content

SSBC admin: minimal admin dashboard

Created by: malomarrec

As a site admin, I want to:

  • Know how many executors are connected to Sourcegraph
  • When I add a new executor, verify that it is connected
  • View the job queue, and how the capacity is utilized to decide if I need to scale up or down
  • View for how long a job has been running, to manually interrupt jobs if they are running for too long. It likely means I need to be able to identify the owner and know the batch change name to contact the owner with context.
  • Be able to view the status of jobs that were ran on a given executor, to identify if a given executor is failing for abnormal reasons.
  • View usage stats, for example by user.

TODO:

  • rough design and wireframes

Scope

  • Status of executors (# of registered executors)
    • Admin UI panel
    • Show active executors
    • Add DB table for executors
    • Store mutual secret in DB