Open jmagman opened 1 month ago
I was thinking we use the device doctor. Maybe the same time we check for missing symbols, we also check for free disk usage, and if it's over some threshold we nuke the binary deltas?
What's happening now is that swarming has its own threshold (80% usage, I think?), and once exceeded the bot gets auto-quarantined. We could set our threshold slightly lower.
On the devicelab the app installation deltas directory seems to grow and grow, eventually leading to low disk space:
https://github.com/flutter/flutter/issues/148684#issuecomment-2123558467
Set up something (user agent?) in the devicelab to periodically remove everything in this directory. The app deltas in this directory keep subsequent installations incremental, so we probably shouldn't delete it on every run, or it will slow down the tests and unnecessarily increase the bits we're writing to the device.