Skip to content

Record potentially blocking repo-updater spinup activities

Created by: flying-robot

While performing cluster maintenance, we noticed[0] that in some cases repo-updater wasn't logging enough for us to clearly see what was happening during spinup. This swaps two lines from Debug -> Info, and adds lines for what potentially blocking action is about to happen before it does.

Here's a local dev example:

  05:58:33 repo-updater | INFO waiting for frontend
  ...
  05:58:39 repo-updater | INFO detected frontend ready
  05:58:39 repo-updater | INFO waiting for gitservers
  05:58:40 repo-updater | INFO detected gitservers ready
  05:58:40 repo-updater | INFO repo-updater: listening, addr: 127.0.0.1:3182

[0] https://sourcegraph.slack.com/archives/CMBA8F926/p1626335648287700

Merge request reports

Loading