File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Useful queries
2
2
This document contains useful queries that should be performed manually in exceptional situations.
3
3
4
- ## Remove data for an artifact from the DB
4
+ ## Remove data for a stable artifact from the DB
5
5
This is important for situations where there is some compilation error for a stable benchmark,
6
6
with a stable release of the compiler. While this should be rare, it happens sometimes e.g. because
7
7
of future incompatibility lints turning into errors.
@@ -19,3 +19,17 @@ WHERE name IN ('1.69.0', '1.70.0') AND
19
19
type = ' release' ;
20
20
```
21
21
After executing this query, the server should automatically re-benchmark these artifacts again.
22
+
23
+ ## Remove data for a master/try artifact from the DB
24
+ This is similar to removing a stable artifact, however it also has to be removed from the
25
+ ` pull_request_build ` table.
26
+
27
+ ``` sql
28
+ DELETE FROM artifact
29
+ WHERE name = " <sha>" ;
30
+
31
+ DELETE FROM pull_request_build
32
+ WHERE bors_sha = " <sha>" ;
33
+ ```
34
+ After that, the server has to be restarted, or you have to send a GET request to its ` /perf/onpush `
35
+ endpoint.
You can’t perform that action at this time.
0 commit comments