Addressing production run failures dynamically