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 advanced in a way Perago cannot attribute to the same logical task key, so the current attempt must not merge its staging branch.
参见
choose_publish_baseDecide whether the target branch can be advanced.
build_workspace_publication_planAssemble a publish plan and fence decision.
failed_resultBuild the ordinary failed Conductor result used for this exception.
Examples
>>> PublishFenceError("main advanced from old to new") PublishFenceError('main advanced from old to new')