pub enum ResumeAction {
Skip,
AdoptForward,
ResumePublish,
Conflict,
Unverifiable,
Cancelled,
Delegated,
}Expand description
The reconciled action for one target — the resolved cell of the ADR-0003 §4
state table (journal-state × remote-state), with the Unknown rows already
collapsed by the caller’s allow_unverified go-ahead.
Variants§
Skip
published × Matches — already landed; the coordinator’s publish-all skips
it (it is in state.published). Nothing to do.
AdoptForward
not-recorded × Matches — a publish landed before its receipt fsynced;
adopt the receipt forward (journal a target_published) so the
coordinator skips it rather than re-publishing an already-published version.
ResumePublish
not-recorded × Missing — the publish genuinely did not land; let the
coordinator resume it in publish-all.
Conflict
published × {Conflicts, Missing} — a hard stop: something other than
this run’s artifact is at that version, or a recorded publish has vanished.
Never overwritten, never blind-re-published; surfaced for a human.
Unverifiable
Unknown with no explicit go-ahead — the reconcile could not be performed,
so the target is unverifiable. A hard stop until a human passes the
go-ahead (allow_unverified), because an outage must never be assumed to
mean “not published”.
Cancelled
The target was cancelled in the original run — a hard stop. The coordinator’s publish-all skips only published targets, so continuing would re-publish a target the operator deliberately cancelled; resume never silently un-cancels it (there is no ADR-0003 cell for cancelled × remote).
Delegated
The target is CI-delegated — its artifact is produced by the tag-triggered CI, not the engine, so there is nothing for a resume to publish. Not a blocker: the coordinator re-journals/skips it on re-entry, exactly as on a fresh cut.
Implementations§
Source§impl ResumeAction
impl ResumeAction
Trait Implementations§
Source§impl Clone for ResumeAction
impl Clone for ResumeAction
Source§fn clone(&self) -> ResumeAction
fn clone(&self) -> ResumeAction
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ResumeAction
Source§impl Debug for ResumeAction
impl Debug for ResumeAction
impl Eq for ResumeAction
Source§impl PartialEq for ResumeAction
impl PartialEq for ResumeAction
impl StructuralPartialEq for ResumeAction
Auto Trait Implementations§
impl Freeze for ResumeAction
impl RefUnwindSafe for ResumeAction
impl Send for ResumeAction
impl Sync for ResumeAction
impl Unpin for ResumeAction
impl UnsafeUnpin for ResumeAction
impl UnwindSafe for ResumeAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.