pub struct Run {Show 26 fields
pub id: u64,
pub repository: String,
pub workflow: Option<String>,
pub name: String,
pub branch: Option<String>,
pub url: Option<String>,
pub run_id: u64,
pub run_attempt: u32,
pub state: JobState,
pub conclusion: Option<String>,
pub queued_at: u64,
pub started_at: Option<u64>,
pub finished_at: Option<u64>,
pub runner_started_at: Option<u64>,
pub profile: Option<String>,
pub memory_peak: Option<u64>,
pub build_cache: Option<BuildCacheCounts>,
pub sock_throttled: Option<u64>,
pub cpu_cap: Option<u64>,
pub cpu_periods: Option<u64>,
pub cpu_throttled: Option<u64>,
pub disk: Option<DiskWritten>,
pub unseen: u64,
pub seen_at: Option<u64>,
pub unseen_unlisted: u64,
pub causes: Option<BTreeMap<WaitCause, u64>>,
}Expand description
One job the history closed, as insights read it. Times in milliseconds.
Fields§
§id: u64GitHub’s job ID.
repository: Stringowner/name.
workflow: Option<String>The workflow’s name, when known.
name: StringThe job’s name.
branch: Option<String>The branch the run is for.
url: Option<String>The job’s page on GitHub.
run_id: u64The workflow run.
run_attempt: u32The run’s attempt, 1 for the first.
state: JobStateCompleted or Lost.
conclusion: Option<String>GitHub’s conclusion, for a completed job.
queued_at: u64When GitHub queued it.
started_at: Option<u64>When it started.
finished_at: Option<u64>When it finished, or was found lost.
runner_started_at: Option<u64>When its runner’s container started: before queued_at, it found a warm runner.
profile: Option<String>The profile its runner ran in.
memory_peak: Option<u64>Its sampled memory peak.
build_cache: Option<BuildCacheCounts>What the build cache served it, if its runner had the build cache.
sock_throttled: Option<u64>Times the kernel throttled its container’s sockets for memory pressure, when counted.
cpu_cap: Option<u64>Its container’s CPU cap, millicores, when recorded.
cpu_periods: Option<u64>The periods of its CPU quota it had work in; None where the kernel kept no figure, as before schema 17.
cpu_throttled: Option<u64>Of those, the periods its quota throttled it in.
disk: Option<DiskWritten>What its runner container wrote to the disks under Docker’s root (ADR 0143), when measured.
unseen: u64How much of its wait passed while no runnerd ran.
seen_at: Option<u64>When runnerd first listed it queued; None when no listing did.
unseen_unlisted: u64Of unseen, what passed before runnerd first listed it: the downtime its first listing found.
causes: Option<BTreeMap<WaitCause, u64>>How long it waited for each cause, in ms (ADR 0154); None for a row from before runnerd counted them.
Trait Implementations§
impl Eq for Run
impl StructuralPartialEq for Run
Auto Trait Implementations§
impl Forget for Run
impl Freeze for Run
impl Move for Run
impl RefUnwindSafe for Run
impl Send for Run
impl Sync for Run
impl Unpin for Run
impl UnsafeUnpin for Run
impl UnwindSafe for Run
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.