idk quite how this would work, but here's an idea: 1. start some sort of web socket / server in bot 2. change `pytest` to be an alias 3. somehow grep output for failures (or install a pytest plugin? idk)