One of the benefits of a Test Kitchen-aware EventGate is being able to reject events from expired instruments and experiments, preventing situations like T407395: instrument still sending data after it's deactivated or deleted
AC
- If event has instrument_name or experiment.enrolled set, validate it against currently active instruments (https://test-kitchen.wikimedia.org/api/v1/instruments) and experiments (https://test-kitchen.wikimedia.org/api/v1/experiments) in Test Kitchen
- If valid instrument/experiment name, proceed. If not valid (e.g. expired or not configured), reject the event.
- Emit errors on rejection initially. We can always switch to silent rejection if the information is not proving to be valuable.