huskies: merge 491_story_watcher_fires_on_crdt_state_transitions_instead_of_filesystem_events
This commit is contained in:
@@ -65,8 +65,9 @@ fn move_item<'a>(
|
||||
}
|
||||
}
|
||||
|
||||
// TODO(491): Wire up CRDT state transitions once the watcher story lands.
|
||||
// crate::db::crdt::crdt_write(story_id, target_dir, &target_path);
|
||||
// Write state through CRDT ops (and legacy shadow table) so subscribers
|
||||
// are notified of the stage transition without relying on the filesystem watcher.
|
||||
crate::db::shadow_write(story_id, target_dir, &target_path);
|
||||
|
||||
slog!("[lifecycle] Moved '{story_id}' from work/{src_dir}/ to work/{target_dir}/");
|
||||
Ok(Some(src_dir))
|
||||
|
||||
Reference in New Issue
Block a user