Commit 646d3f9
Rebuild when cached bin directory is empty
If a previous benchdiff run was interrupted, the bin directory could be
left behind empty. On subsequent runs, build() would see the directory,
read zero test files, and return early — causing benchdiff to silently
do nothing. Fix by detecting the empty bin directory and removing it so
the build proceeds.
Co-Authored-By: roachdev-claude <roachdev-claude-bot@cockroachlabs.com>1 parent b4c438f commit 646d3f9
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
321 | 323 | | |
322 | 324 | | |
323 | 325 | | |
| |||
596 | 598 | | |
597 | 599 | | |
598 | 600 | | |
599 | | - | |
600 | | - | |
601 | | - | |
| 601 | + | |
602 | 602 | | |
603 | 603 | | |
604 | 604 | | |
| |||
712 | 712 | | |
713 | 713 | | |
714 | 714 | | |
715 | | - | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
716 | 723 | | |
717 | 724 | | |
718 | 725 | | |
| |||
0 commit comments