Add no_code_generation and stop_on_failure to config