#218 Replay: Add distributed lock tracking to audit log

closed high Created 2025-12-02 05:23 · Updated 2025-12-02 06:37

Description

Edit
## Problem Distributed locks not captured in replay, causing potential deadlocks. ## Scenario 1. Workflow acquires lock, then crashes 2. Replay runs with same lock → deadlock ## Gap - No tracking of lock acquisition in audit log - No skip mechanism for locks in replay - No lock state consistency validation ## Impact - Replays can hang indefinitely - No visibility into lock-related failures ## Solution 1. Add lock_acquired/lock_released events to audit log 2. Skip lock acquisition in replay mode 3. Add lock timeout + warning in replay context ## Effort: Large

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...