Skip to content

Add error handling in the UI for webhook secret with expired permissions

Created by: jasonhawkharris

  • Sourcegraph version: 3.42.1
  • Platform information: Managed Instance

Steps to reproduce:

  1. Select a code host with webhooks configured and replace the working webhook secret with a secret with expired permissions.
  2. View frontend logs and note the barrage of webhook errors.
  3. Visit UI, notice no errors whatsoever

Expected behavior:

Webhook errors in the frontend logs should be reflected in the UI. Additionally, repos that fail to fetch/clone, as a result, should show up in that category when viewing repository status in the site-admin panel.

Actual behavior:

There is no indication in the UI that anything is wrong. The only way to discover that something is wrong is to perform a search and find nothing associated with the code host containing the expired webhook secret. This is disorienting for the user.

If you would like immediate help on this, please email [email protected] (you can still create the issue, but there are no SLAs on issues like there are for support requests).

/cc @jplahn @ryphil