rust-lang / crater

Run experiments across parts of the Rust ecosystem!
https://crater.rust-lang.org
643 stars 90 forks source link

Autoremove results from completed experiments #628

Closed Mark-Simulacrum closed 2 years ago

Mark-Simulacrum commented 2 years ago

Experiments that are completed (set only after report generation completes) now have the results purged from the database automatically as we collect the next experiment's data. This is not an ideal fix -- probably it would be better to do this by avoiding putting the results into local storage in the first place (uploading directly to S3 instead), but currently that would be fairly annoying to implement, so we prefer this much simpler first step.

This should already make Crater maintenance much more hands off, since the disk will no longer regularly fill up every ~1-2 months.

Mark-Simulacrum commented 2 years ago

@bors r+

bors commented 2 years ago

:pushpin: Commit 4ac60300e4977d0a5efeb9fba343fcf17e570543 has been approved by Mark-Simulacrum

bors commented 2 years ago

:hourglass: Testing commit 4ac60300e4977d0a5efeb9fba343fcf17e570543 with merge 3cfe057e0a5fca692d469357c08fc4fcb39dba8b...

bors commented 2 years ago

:sunny: Test successful - checks-actions Approved by: Mark-Simulacrum Pushing 3cfe057e0a5fca692d469357c08fc4fcb39dba8b to master...