pub enum AttemptEvent {
State {
attempt: AttemptId,
state: AttemptState,
},
Retry {
attempt: AttemptId,
operation: &'static str,
delay: Duration,
},
Launched {
attempt: AttemptId,
started: bool,
timings: LaunchTimings,
},
Adopted {
attempt: AttemptId,
},
RemoteIdentityRecovered {
attempt: AttemptId,
runner_id: u64,
},
TerminateIntent {
attempt: AttemptId,
},
Terminated {
attempt: AttemptId,
},
Deregistered {
attempt: AttemptId,
runner_id: u64,
},
Concluded {
attempt: AttemptId,
outcome: OutcomeKind,
},
Cleaned {
attempt: AttemptId,
outcome: OutcomeKind,
},
QuarantinedOwnedResource {
attempt: AttemptId,
},
}Expand description
Non-secret lifecycle evidence. Payloads are identifiers and closed enums; neither the encoded configuration nor child output can enter this type.
Variants§
State
Retry
Launched
How long each step of a launch took, whether or not it started a runner, so a slow or failed start can be attributed to the wait for the allocation lock, the package copy, the JIT request, or the process start.
Adopted
RemoteIdentityRecovered
TerminateIntent
Terminated
Deregistered
The attempt’s GitHub registration was removed by this agent. Carries the runner id because that is the identifier an operator sees in the target’s runner settings, and the attempt id is not shown there.
Concluded
Cleaned
QuarantinedOwnedResource
Trait Implementations§
Source§impl Clone for AttemptEvent
impl Clone for AttemptEvent
Source§impl Debug for AttemptEvent
impl Debug for AttemptEvent
impl Eq for AttemptEvent
Source§impl PartialEq for AttemptEvent
impl PartialEq for AttemptEvent
impl StructuralPartialEq for AttemptEvent
Auto Trait Implementations§
impl Forget for AttemptEvent
impl Freeze for AttemptEvent
impl RefUnwindSafe for AttemptEvent
impl Send for AttemptEvent
impl Sync for AttemptEvent
impl Unpin for AttemptEvent
impl UnsafeUnpin for AttemptEvent
impl UnwindSafe for AttemptEvent
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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.