DashboardopencodePreserve and verify durable-event commi…

Preserve and verify durable-event commit semantics

Category: preference
Confidence: 0.80
ID: 01a0aee1-5353-7ce2-9571-b0d5b97327a7
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 0E5EeJfngrA9O8uoR
Created: 2026-09-17 10:19:57
Updated: 2026-09-17 10:19:57

Content

When reviewing or changing durable event publication, inspect commitDurableEvent and preserve its exact invariants. Confirm aggregate validation, replay idempotence and divergence checks, owner handling, contiguous sequencing, and global event-ID uniqueness. Keep projectors, the optional local commit hook, sequence upsert, and event insertion in their established order within an uninterruptible immediate transaction. Ensure exact replays do not rerun projectors or hooks, and publish durable subscriber wake-ups only after a successful transaction. Retain precise error behavior and messages where tests or callers may depend on them.

Move to: