Fix action state if the compilation was triggered by a run request and failed