pub struct TaskProcessV1 {
pub risk: TaskRisk,
pub stage: Option<String>,
pub spec_commit: Option<String>,
pub candidate_commit: Option<String>,
pub locked_paths: Vec<String>,
pub test_command: Option<String>,
pub e2e_command: Option<String>,
pub features: Vec<String>,
pub repo_test_command: Option<String>,
pub g6: Option<HiveG6RecordV1>,
}Expand description
The process part of a task view, as far as G6 needs it (process v1
task-process.schema.json, its feature list and the repo’s CI
declaration). A task view without it is not a process task. Response
type: unknown fields are accepted.
No Hive serves this yet; an engine meeting a process task whose view lacks what G6 needs refuses the submit or verify (“not supported by Hive yet”), it never judges with less.
Fields§
§risk: TaskRisk§stage: Option<String>§spec_commit: Option<String>M/H: the commit G2 pinned the feature list at.
candidate_commit: Option<String>The commit G4 passed (the one G6 and G7 judge).
locked_paths: Vec<String>M/H: the feature list’s locked_paths at spec_commit.
test_command: Option<String>M/H: the feature list’s test_command.
e2e_command: Option<String>§features: Vec<String>M/H: the feature list’s feature ids.
repo_test_command: Option<String>S: the repo’s declared test_command (repo-ci.schema.json).
g6: Option<HiveG6RecordV1>The newest G6 record Hive stored for the task.
Trait Implementations§
Source§impl Clone for TaskProcessV1
impl Clone for TaskProcessV1
Source§impl Debug for TaskProcessV1
impl Debug for TaskProcessV1
Source§impl<'de> Deserialize<'de> for TaskProcessV1
impl<'de> Deserialize<'de> for TaskProcessV1
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TaskProcessV1
Source§impl PartialEq for TaskProcessV1
impl PartialEq for TaskProcessV1
Source§impl Serialize for TaskProcessV1
impl Serialize for TaskProcessV1
impl StructuralPartialEq for TaskProcessV1
Auto Trait Implementations§
impl Forget for TaskProcessV1
impl Freeze for TaskProcessV1
impl Move for TaskProcessV1
impl RefUnwindSafe for TaskProcessV1
impl Send for TaskProcessV1
impl Sync for TaskProcessV1
impl Unpin for TaskProcessV1
impl UnsafeUnpin for TaskProcessV1
impl UnwindSafe for TaskProcessV1
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