#686 TXN-03: Missing FOR UPDATE lock on run state transition

closed critical Created 2025-12-25 02:55 · Updated 2025-12-25 03:08

Description

Edit
Location: orchestrator.py:521-528. Issue: Run state transition from claimed to running uses simple UPDATE without SELECT FOR UPDATE. Race condition allows concurrent workers to process same run. Fix: Add FOR UPDATE SKIP LOCKED or verify claimed_by matches current worker.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...