pub struct ReleaseBump {
pub pr_url: Option<String>,
pub version: Option<String>,
pub automerge_enabled: bool,
pub merged_directly: bool,
pub problem: Option<String>,
pub action_required: Option<String>,
}Expand description
What the post-merge release-bump step did, and whether it needs a human.
Recorded next to the bump events rather than instead of them: the events
are the narrative, this is what magi show, the status word and the
notification read without parsing prose. status stays Merged - the
merge did happen - so RunState::needs_attention is the one place that
says a merged run is not fully done.
Fields§
§pr_url: Option<String>The release pull request, when one was opened.
version: Option<String>The version it releases.
automerge_enabled: boolDid enabling automerge on pr_url succeed?
merged_directly: boolGitHub refused automerge because CI had already finished (the pull
request was in clean status), so magi merged it directly. Kept apart
from automerge_enabled, which stays the plain fact it says it is.
problem: Option<String>What went wrong, verbatim from the tool that said it.
action_required: Option<String>What the operator has to do about it. Some is what makes a merged run
read as needing attention.
Trait Implementations§
Source§impl Clone for ReleaseBump
impl Clone for ReleaseBump
Source§impl Debug for ReleaseBump
impl Debug for ReleaseBump
Source§impl Default for ReleaseBump
impl Default for ReleaseBump
Source§impl<'de> Deserialize<'de> for ReleaseBump
impl<'de> Deserialize<'de> for ReleaseBump
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ReleaseBump
Source§impl PartialEq for ReleaseBump
impl PartialEq for ReleaseBump
Source§impl Serialize for ReleaseBump
impl Serialize for ReleaseBump
impl StructuralPartialEq for ReleaseBump
Auto Trait Implementations§
impl Freeze for ReleaseBump
impl RefUnwindSafe for ReleaseBump
impl Send for ReleaseBump
impl Sync for ReleaseBump
impl Unpin for ReleaseBump
impl UnsafeUnpin for ReleaseBump
impl UnwindSafe for ReleaseBump
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more