pub struct ChangeDetectionConfig {
pub infrastructure: Vec<String>,
pub custom: HashMap<String, Vec<String>>,
pub conservative_unclassified_owner_fallback: bool,
pub confidence_profile: ConfidenceProfile,
pub bot_pr_confidence_profile: Option<ConfidenceProfile>,
}Expand description
Configuration for planner change detection.
Fields§
§infrastructure: Vec<String>Glob patterns for infrastructure files that trigger rebuild_all Default: [“.github/”, “scripts/”, “justfile”, “Makefile”, …]
custom: HashMap<String, Vec<String>>Custom path patterns and their categories Example: verify = [“verify/**/*.rs”] for Stateright verification models
conservative_unclassified_owner_fallback: boolWhen true, unclassified crate-owned files conservatively enable build+test surfaces.
Set to false to keep aggressive behavior for unknown file kinds.
confidence_profile: ConfidenceProfileConfidence profile used by planner unless explicitly overridden by CLI.
bot_pr_confidence_profile: Option<ConfidenceProfile>Optional confidence profile override for bot-authored pull requests.
When set, planner applies this profile only in bot-authored PR contexts.
Implementations§
Source§impl ChangeDetectionConfig
impl ChangeDetectionConfig
Sourcepub fn validate(&self) -> Result<(), ConfigError>
pub fn validate(&self) -> Result<(), ConfigError>
Validate all glob patterns in the configuration
Trait Implementations§
Source§impl Clone for ChangeDetectionConfig
impl Clone for ChangeDetectionConfig
Source§fn clone(&self) -> ChangeDetectionConfig
fn clone(&self) -> ChangeDetectionConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChangeDetectionConfig
impl Debug for ChangeDetectionConfig
Source§impl Default for ChangeDetectionConfig
impl Default for ChangeDetectionConfig
Source§impl<'de> Deserialize<'de> for ChangeDetectionConfig
impl<'de> Deserialize<'de> for ChangeDetectionConfig
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
Auto Trait Implementations§
impl Freeze for ChangeDetectionConfig
impl RefUnwindSafe for ChangeDetectionConfig
impl Send for ChangeDetectionConfig
impl Sync for ChangeDetectionConfig
impl Unpin for ChangeDetectionConfig
impl UnwindSafe for ChangeDetectionConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more