Commit c7a3f17
authored
[ci] start tracking retried tests (#15326)
## Change Description
Start capturing retried failed tests as a proxy for flaky tests.
This will allow us to follow up with additional tracking of the most
common failures, make lists of links to similar test failures for bulk
analysis, etc.
Potentially, we could even add a "YOLO merge anyway" button as an
alternative to Retry, but let's start with a simple tracking change and
see how far we can get with just improving the tests.
Example row recorded by a test Retry:
```
mysql> select * from retried_tests;
+----+----------+--------+--------------+--------+-----------+-----------+-------------------+------------------------+------------------------------------------+------------+---------------------+
| id | batch_id | job_id | job_name | state | exit_code | pr_number | target_branch | source_branch | source_sha | retried_by | retried_at |
+----+----------+--------+--------------+--------+-----------+-----------+-------------------+------------------------+------------------------------------------+------------+---------------------+
| 1 | 8370753 | 186 | test_batch_4 | Failed | 1 | 15320 | hail-is/hail:main | refresh-cert-on-deploy | 1518edb | chrisl | 2026-03-10 19:03:09 |
+----+----------+--------+--------------+--------+-----------+-----------+-------------------+------------------------+------------------------------------------+------------+---------------------+
1 row in set (0.01 sec)
```
## Security Assessment
- This change potentially impacts the Hail Batch instance as deployed by
Broad Institute in GCP
### Impact Rating
- This change has a low security impact
### Impact Description
Store well defined data types (that are already being stored elsewhere
in the db) in a new table, as part of an existing development workflow.
### Appsec Review
- [x] Required: The impact has been assessed and approved by appsec1 parent 3e042de commit c7a3f17
4 files changed
Lines changed: 64 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2093 | 2093 | | |
2094 | 2094 | | |
2095 | 2095 | | |
| 2096 | + | |
| 2097 | + | |
| 2098 | + | |
2096 | 2099 | | |
2097 | 2100 | | |
2098 | 2101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
344 | 365 | | |
345 | 366 | | |
346 | 367 | | |
| |||
353 | 374 | | |
354 | 375 | | |
355 | 376 | | |
356 | | - | |
| 377 | + | |
357 | 378 | | |
358 | 379 | | |
359 | | - | |
| 380 | + | |
360 | 381 | | |
361 | 382 | | |
362 | 383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
0 commit comments