huskies: merge 1124 story Persist TransitionFired into a per-sled CRDT event log
This commit is contained in:
@@ -28,6 +28,10 @@ pub(crate) fn spawn_event_bridges(
|
||||
// Audit log subscriber: write one structured line per pipeline transition.
|
||||
crate::pipeline_state::spawn_audit_log_subscriber();
|
||||
|
||||
// Event log subscriber: persist every transition to the CRDT event log so
|
||||
// the history survives rebuild_and_restart and replicates across nodes.
|
||||
crate::event_log::spawn_event_log_subscriber();
|
||||
|
||||
// CRDT → watcher bridge: translate CRDT stage-transition events into
|
||||
// WatcherEvent::WorkItem so downstream consumers (WebSocket, auto-assign)
|
||||
// see a uniform stream regardless of whether the event originated from the
|
||||
|
||||
Reference in New Issue
Block a user