perago.PublishFenceError#
- exception perago.PublishFenceError[源代码]#
Raised when a workspace branch cannot be safely advanced.
Publish fence errors are fail-closed publication failures. They indicate that the target branch HEAD is neither the attempt input ref nor a commit whose first parent is the input ref, so the current attempt must not publish its staged workspace.
参见
LakeFSWorkspaceRuntime.publish_workspaceApply the LakeFS HEAD-state publication protocol.
failed_resultBuild the ordinary failed Conductor result used for this exception.
Examples
>>> PublishFenceError("main cannot publish from input ref old") PublishFenceError('main cannot publish from input ref old')