pub struct DataHooks {
pub clone: Option<String>,
pub migrate: Option<String>,
pub reset: Option<String>,
pub skew_check: Option<String>,
pub reset_between_rounds: bool,
}Expand description
Optional golden-data hooks (commands). Free-form strings; secret names only inside them, never values.
Execution order (design D-D, ticket golden-data-hooks): clone runs
after provision, before bootstrap; migrate after clone; skewCheck is
the last readiness step — its failure is the SKEW case (Blocked, owner
repo-setup, the action naming the declared migrate/reset hook), never a
readiness flake. reset runs before each validation round when
resetBetweenRounds opts in.
Fields§
§clone: Option<String>§migrate: Option<String>§reset: Option<String>§skew_check: Option<String>§reset_between_rounds: boolOpt-in to re-seeding the golden dataset before every validation
round. Requires a declared reset hook (validated below) — the flag
without the hook would be dead config.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataHooks
impl<'de> Deserialize<'de> for DataHooks
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 DataHooks
impl StructuralPartialEq for DataHooks
Auto Trait Implementations§
impl Freeze for DataHooks
impl RefUnwindSafe for DataHooks
impl Send for DataHooks
impl Sync for DataHooks
impl Unpin for DataHooks
impl UnsafeUnpin for DataHooks
impl UnwindSafe for DataHooks
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