Reconcile uncertain tag pushes
This commit is contained in:
@@ -43,7 +43,8 @@ tag object ID. Publication states distinguish an unattempted push, a tag that
|
||||
was created locally but not pushed, a successful push, a guard conflict, and an
|
||||
unresolved push error.
|
||||
|
||||
When a push reports an error, the local annotated tag is retained and the
|
||||
result is `unknown` until a later implementation adds authoritative
|
||||
reconciliation. Do not treat that state as success or proof that the remote
|
||||
lacks the tag.
|
||||
When a push reports an error, ReleaseKit makes one bounded query for the
|
||||
authoritative tag. An exact tag object match confirms success. An absent tag is
|
||||
reported as `not_published`, a different object as `conflict`, and an unreadable
|
||||
query as `unknown`. The local annotated tag is retained in every case; an
|
||||
`unknown` result is neither success nor proof that the remote lacks the tag.
|
||||
|
||||
Reference in New Issue
Block a user