mirror of
https://github.com/agno-agi/agno.git
synced 2026-10-12 02:10:54 +00:00
- Stamp a per-session sequence into the payload at enqueue (Postgres advisory lock, Redis WATCH on the session index, in-memory lock); session election compares (session_seq, id) instead of (created_at seconds, uuid4), so two turns submitted in the same second no longer run in random order. - Pin READ COMMITTED on the claim transaction (and serialized enqueues) instead of raising, which stalled every job behind a serialized head under a stricter engine default. - Fetch the full candidate row in the FOR UPDATE scan, dropping a round trip from every claim. - Run the serialized queue suite against the PR CI Postgres service.