Prevent corruption by tracking available space and gracefully halting when low
Proposal
Have a periodic resource check, in this scenario specific to local storage (gitaly, registry, postgresql etc) at a regular interval. When the space check drops below a set threshold, present messaging that the space is low. Once space is too low, prevent any writes that could cause corruption.