Package-level declarations
Types
Link copied to clipboard
data class CgroupDelta(val throttled: Long? = null, val memoryMax: Long? = null, val oom: Long? = null, val oomKill: Long? = null)
How much the counters of the cgroup that held the run grew while it ran: nr_throttled of cpu.stat, and max, oom and oom_kill of memory.events. A field is null when the file or the counter was not readable, so absent never reads as zero.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Run(val id: String, val outcome: RunOutcome, val steps: List<Step> = emptyList(), val symptoms: List<Symptom> = emptyList(), val capsule: Capsule? = null, val samples: List<Sample> = emptyList())
One CI run: where it ended, the steps in log order and the symptoms read from its log. capsule holds whatever the log revealed about the environment, so it is usually partial.
Link copied to clipboard
Link copied to clipboard
data class Sample(val exitCode: Int, val wallMs: Long, val userMs: Long? = null, val systemMs: Long? = null, val peakKb: Long? = null, val cgroup: CgroupDelta? = null)
One recorded execution of a command. userMs, systemMs, peakKb and cgroup are null when the host could not measure them; the JSON leaves the key out, so absent never reads as zero.
Link copied to clipboard