Use webhooks to trigger Code Coverage and Test Run kinds for ADO
Z
Zac Law
Currently we grab ADO Code Coverage and Test Run results as a part of a sync. As these kinds typically created when a Pipeline Run occurs, we could use the "live event" webhooks from ADO for pipeline runs to call the Code Coverage and Test Run endpoints rather than sync. This would speed up the overall ADO syncs, reduce the change of rate limiting and also provide near-real time data for Code Coverage and Test Runs, inline with the pipeline runs. So when a pipeline run is completed, we should then call the Code Coverage and Test Run endpoints to provide the additional metadata.