Add compile checks to server_controller.py