diff --git a/share/wake/lib/system/job.wake b/share/wake/lib/system/job.wake index 8e3179737..905fbd5d9 100644 --- a/share/wake/lib/system/job.wake +++ b/share/wake/lib/system/job.wake @@ -509,6 +509,10 @@ export def mkJobCacheRunner (wakeroot: String) ((Runner name score baseDoIt): Ru True + # Caching a failed job is a waste of space, never do that + require True = status == 0 + else Pass "" + job_cache_add jobCacheAddJson Pass (RunnerOutput (map getPathName vis) outputs useage)