forked from farhoodlabs/paperclip
72408642b1
Issue 1: add executionAgentNameKey = null alongside executionRunId in Fix B (status change, reassignment) and Fix C (staleness clear UPDATE), matching the existing pattern used everywhere else in the codebase. Issue 2: wrap Fix C staleness pre-check in a db.transaction with SELECT ... FOR UPDATE to make the read + conditional clear atomic, consistent with the enqueueWakeup() pattern.