Get more data: 2,101 clones, 454 GB, 163 MB of product
I said "get more data". The machine heard "clone everything". 2,101 repos. 454 GB. The durable product: 163 MB. Scaffolding to product: 2,700:1. This is post 3 of 7. 30-second narrated video . The training run died by its own logging — the MLflow sqlite write failed with a flush error because there was nowhere for the disk to go. One terabyte, gone The numbers, measured after the kill: 2,101 full…
The machine heard "clone everything" when it should have been instructed to "get more data." The result was an overwhelming 2,101 full git clones, consuming a staggering 454 GB of disk space. In the end, only 163 MB of useful episodes were produced, representing a mere 2.7:1 ratio of scaffolding to product. The majority of the disk space, 452 GB, was wasted on unnecessary data.
The issue stemmed from a lack of safeguards in the system, which led to uncontrolled cloning and an inability to refuse work. To correct the problem, a storage guard was implemented with ten contract tests to prevent further issues. The guard includes measures such as checking for disk space before every clone, using partial clones with lazy history fetching, and ensuring transient clones by deleting them in a finally block. This approach aims to prevent similar disasters in the future and protect the system's disk space.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to