We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98133a1 commit d56b983Copy full SHA for d56b983
src/runner/worker.rs
@@ -196,6 +196,15 @@ impl<'a> Worker<'a> {
196
Ok(()) => break,
197
Err(e) => {
198
if logs.to_string().contains("No space left on device") {
199
+ if attempt == 3 {
200
+ // FIXME: Doesn't this cause us to potentially delete caches
201
+ // used by other workers? Maybe we can do something more
202
+ // intelligent here?
203
+ if let Err(e) = self.workspace.purge_all_caches() {
204
+ log::warn!("purging caches failed: {:?}", e);
205
+ }
206
207
+
208
if attempt == 15 {
209
// If we've failed 15 times, then
210
// just give up. It's been at least
0 commit comments