pub struct BugReport {Show 29 fields
pub home: BugHome,
pub unit: String,
pub requirement: String,
pub task: String,
pub title: String,
pub triad: Triad,
pub stage: Stage,
pub outcome: Outcome,
pub verdict: Option<Verdict>,
pub code: Option<String>,
pub reproductions: Vec<Reproduction>,
pub held_out: Vec<HeldOutVariant>,
pub held_out_sealed: Option<SealedRef>,
pub held_out_reason: Option<String>,
pub confirm_digest: Option<String>,
pub confirmation: Option<Confirmation>,
pub rejections: Vec<Rejection>,
pub acceptance: Option<AcceptanceRef>,
pub pass_to_pass: Option<PassToPass>,
pub revert: Option<RevertResult>,
pub special_case: Vec<SpecialCase>,
pub tries: Vec<ReproduceTry>,
pub max_tries: u32,
pub handoff: Option<Handoff>,
pub issue: Option<IssueRef>,
pub candidate: Option<Candidate>,
pub recorded_commit: Option<String>,
pub commit: Option<String>,
pub run_id: Option<String>,
}Expand description
A bug: where it lives, the person’s triad, the reproductions and how
far it got. The bug payload, and what speccoder keeps of it.
Fields§
§home: BugHomeWhere the format keeps it.
unit: StringThe unit, as the adapter names it (007-bugfixes, bugs/<slug>).
requirement: StringThe requirement (FR-003, or bug:<slug>).
task: StringThe task (T003, or bug:<slug>).
title: StringA short title.
triad: TriadThe person’s words.
stage: StageWhere it is.
outcome: OutcomeHow it stands.
verdict: Option<Verdict>The fix’s verdict, once judged.
code: Option<String>The code of the last stop or refusal.
reproductions: Vec<Reproduction>The reproductions (and Unchanged tests).
held_out: Vec<HeldOutVariant>The held-out variants (never their content or path).
held_out_sealed: Option<SealedRef>The sealed set holding them.
held_out_reason: Option<String>Why no held-out variant is sealed (the author’s call failed, none was red): the verdict names it, and the confirmation says it first.
confirm_digest: Option<String>The digest waiting for the person’s confirmation.
confirmation: Option<Confirmation>The confirmation.
rejections: Vec<Rejection>Rejections of earlier reproductions.
acceptance: Option<AcceptanceRef>What the fix’s acceptance set came from.
pass_to_pass: Option<PassToPass>The tests selected to stay green.
revert: Option<RevertResult>The revert candidate.
special_case: Vec<SpecialCase>The special-case candidates.
tries: Vec<ReproduceTry>The reproduce tries.
max_tries: u32At most this many tries.
handoff: Option<Handoff>The engine’s hand-off, when it stopped.
issue: Option<IssueRef>The issue it came from.
candidate: Option<Candidate>Someone else’s fix, judged.
recorded_commit: Option<String>The planning commit that recorded it.
commit: Option<String>The verdict commit.
run_id: Option<String>The last run.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BugReport
impl<'de> Deserialize<'de> for BugReport
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 BugReport
Source§impl JsonSchema for BugReport
impl JsonSchema for BugReport
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more