backfila icon indicating copy to clipboard operation
backfila copied to clipboard

Add API to respond with for running backfills

Open jrobotham-square opened this issue 2 years ago • 4 comments

When an incident occurs it's often really valuable to be able to see what Backfills are currently running in order to:

  • Identify ones that may be causing or exacerbating issues.
  • Identify ones that could be stopped to reduce the risk.

This PR exposes a new endpoint to surface the currently running backfills.

As part of this change I've also included instructions on starting mysql locally for development and fixed some issues that occur locally when building / running tests on Apple silicon.

Subsequent PR will integrate this endpoint into the UI to create a screen something like: Screenshot 2023-11-09 at 8 37 16 am

jrobotham-square avatar Nov 09 '23 21:11 jrobotham-square

Mind reposting the screenshots, they don't seem to be showing in the preview?

adrw avatar Nov 09 '23 21:11 adrw

Make sure to rebase on top of the variant PR.

mpawliszyn avatar Nov 09 '23 21:11 mpawliszyn

Mind reposting the screenshots, they don't seem to be showing in the preview?

👍 done. (not sure what happened there)

jrobotham-square avatar Nov 09 '23 21:11 jrobotham-square

Make sure to rebase on top of the variant PR.

I've rebased. It's not immediately obvious to me how the variant changes work, I've just hardcoded some values to make the tests I added pass.

jrobotham-square avatar Nov 10 '23 05:11 jrobotham-square