tfx.orchestration.portable.execution_publish_utils.publish_failed_execution

Marks an existing execution as failed.

metadata_handler A handler to access MLMD.
contexts MLMD contexts to associated with the execution.
execution_id The id of the execution.