`update_bench_status` should check whether status is valid before querying GitHub.
Zimmi48 opened this issue · 0 comments
Zimmi48 commented
In update_bench_status
, there are a few statuses ("created", "pending"...) that won't trigger any status check creation on GitHub:
Lines 505 to 508 in a660554
But we query GitHub in all cases, only to discard the result of the query in the cases mentioned above:
Line 437 in a660554
We should check that we are in one of the cases where a status check will be created on GitHub before doing anything else.