pub struct FeaturesConfig {
pub parallel: bool,
pub auto_merge: bool,
pub loop_naming: LoopNamingConfig,
pub preflight: PreflightConfig,
}Expand description
Feature flags for optional Ralph capabilities.
Example configuration:
features:
parallel: true # Enable parallel loops via git worktrees
auto_merge: false # Auto-merge worktree branches on completion
preflight:
enabled: false # Opt-in: run preflight checks before `ralph run`
strict: false # Treat warnings as failures
skip: ["telegram"] # Skip specific checks by name
loop_naming:
format: human-readable # or "timestamp" for legacy format
max_length: 50Fields§
§parallel: boolWhether parallel loops are enabled.
When true (default), if another loop holds the lock, Ralph spawns a parallel loop in a git worktree. When false, Ralph errors instead.
auto_merge: boolWhether to automatically merge worktree branches on completion.
When false (default), completed worktree loops queue for manual merge. When true, Ralph automatically merges the worktree branch into the main branch after a parallel loop completes.
loop_naming: LoopNamingConfigLoop naming configuration for worktree branches.
Controls how loop IDs are generated for parallel loops.
Default uses human-readable format: fix-header-swift-peacock
Legacy timestamp format: ralph-YYYYMMDD-HHMMSS-XXXX
preflight: PreflightConfigPreflight check configuration.
Trait Implementations§
Source§impl Clone for FeaturesConfig
impl Clone for FeaturesConfig
Source§fn clone(&self) -> FeaturesConfig
fn clone(&self) -> FeaturesConfig
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 FeaturesConfig
impl Debug for FeaturesConfig
Source§impl Default for FeaturesConfig
impl Default for FeaturesConfig
Source§impl<'de> Deserialize<'de> for FeaturesConfig
impl<'de> Deserialize<'de> for FeaturesConfig
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 FeaturesConfig
impl RefUnwindSafe for FeaturesConfig
impl Send for FeaturesConfig
impl Sync for FeaturesConfig
impl Unpin for FeaturesConfig
impl UnsafeUnpin for FeaturesConfig
impl UnwindSafe for FeaturesConfig
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