#218 Replay: Add distributed lock tracking to audit log
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 AllLoading audit history...