Description
Describe the bug
Executing the runner from a docker image with a readonly / small rootfs causes a rather annoying disk space warning.
This warning feature appears to be controlled by very well obfuscated feature flags. I've searched the github runner code, documentation, llm, and google thoroughly and am fairly certain there IS a way to set a lower threshold or completely disable this warning. But, I did not find and documentation on these settings.
To Reproduce
Steps to reproduce the behavior:
- Launch a github runner on a system with a readonly rootfs with very little free space, but the runner executes from a separate disk with plenty of space (/tmp should also be readable with abundant free space)
- Run any action
- You will see the error
"Warning: You are running out of disk space. The runner will stop working when the machine runs out of disk space. Free space left: 15 MB"
- Search in vain for documentation on setting internal flags such as :
- runner.diskspace.warning
- system.runner.lowdiskspacethreshold
Expected behavior
There should be documented steps to disable this disk space warning or set the threshold to zero.
Runner Version and Platform
Version of your runner? 2.321.0
OS of the machine running the runner? Linux
What's not working?
No method to prevent the disk space warning
Job Log Output
See steps
Runner and Worker's Diagnostic Logs
NA