huskies: merge 532_story_remove_startup_reconcile_pass_and_drift_notification_no_filesystem_to_reconcile_against

This commit is contained in:
dave
2026-04-10 16:36:40 +00:00
parent b88857c2e4
commit a59f4fc1a5
6 changed files with 7 additions and 442 deletions
-17
View File
@@ -53,14 +53,6 @@ pub struct ProjectConfig {
/// so both machines see the same pipeline state in real-time.
#[serde(default)]
pub rendezvous: Option<String>,
/// Whether to run the startup state-reconcile pass.
///
/// The pass compares pipeline state across CRDT, `pipeline_items`, and
/// filesystem shadows after CRDT replay, logging any drift it finds.
/// Set to `false` to disable during the migration window if the pass
/// produces too much noise. Default: `true`.
#[serde(default = "default_reconcile_on_startup")]
pub reconcile_on_startup: bool,
}
/// Configuration for the filesystem watcher's sweep behaviour.
@@ -108,9 +100,6 @@ fn default_rate_limit_notifications() -> bool {
true
}
fn default_reconcile_on_startup() -> bool {
true
}
#[derive(Debug, Clone, Deserialize)]
#[allow(dead_code)]
@@ -209,8 +198,6 @@ struct LegacyProjectConfig {
rate_limit_notifications: bool,
#[serde(default)]
timezone: Option<String>,
#[serde(default = "default_reconcile_on_startup")]
reconcile_on_startup: bool,
}
impl Default for ProjectConfig {
@@ -241,7 +228,6 @@ impl Default for ProjectConfig {
rate_limit_notifications: default_rate_limit_notifications(),
timezone: None,
rendezvous: None,
reconcile_on_startup: default_reconcile_on_startup(),
}
}
}
@@ -318,7 +304,6 @@ impl ProjectConfig {
rate_limit_notifications: legacy.rate_limit_notifications,
timezone: legacy.timezone,
rendezvous: None,
reconcile_on_startup: legacy.reconcile_on_startup,
};
validate_agents(&config.agent)?;
return Ok(config);
@@ -347,7 +332,6 @@ impl ProjectConfig {
rate_limit_notifications: legacy.rate_limit_notifications,
timezone: legacy.timezone,
rendezvous: None,
reconcile_on_startup: legacy.reconcile_on_startup,
};
validate_agents(&config.agent)?;
Ok(config)
@@ -364,7 +348,6 @@ impl ProjectConfig {
rate_limit_notifications: legacy.rate_limit_notifications,
timezone: legacy.timezone,
rendezvous: None,
reconcile_on_startup: legacy.reconcile_on_startup,
})
}
}