scheduler: fill out the statusUpdate section and add primitive MAX_FAILURES
TODO