Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cmd/work-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,9 @@ func run() error {

// Register work event type unmarshalers before any store reads —
// Head() deserializes the latest event which may be a work type.
// Enable raw fallback so unknown event types (hive, agent, membrane)
// don't break deserialization when sharing a Postgres store.
event.SetFallbackUnmarshaler(event.RawFallback)
work.RegisterEventTypes()

// Bootstrap the event graph if it has no genesis event.
Expand Down