fix: comment out premature db::crdt references that broke build

The 490 merge introduced references to a db::crdt module that doesn't
exist yet (it's part of story 491). Commented out with TODO(491)
markers so master compiles. The crdt_state.rs module from 490 is
intact — these are just the call sites that will be wired up when
491 lands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
dave
2026-04-07 23:49:11 +00:00
parent c4e70db85f
commit 753f7f1c92
4 changed files with 12 additions and 42 deletions
+6 -5
View File
@@ -311,11 +311,12 @@ async fn main() -> Result<(), std::io::Error> {
.unwrap()
.as_ref()
.map(|root| root.join(".huskies").join("pipeline.db"));
if let Some(db_path) = crdt_db_path
&& let Err(e) = db::crdt::init(&db_path).await
{
slog!("[crdt] Failed to initialise CRDT state layer: {e}");
}
// TODO(491): Initialise CRDT state layer once the watcher story lands.
// if let Some(db_path) = crdt_db_path
// && let Err(e) = db::crdt::init(&db_path).await
// {
// slog!("[crdt] Failed to initialise CRDT state layer: {e}");
// }
let workflow = Arc::new(std::sync::Mutex::new(WorkflowState::default()));