Keep failed outbox events retryable
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

This commit is contained in:
tegwick 2026-08-14 00:34:09 +02:00
parent a0f39f58bd
commit 0b6a57dc6c
3 changed files with 23 additions and 1 deletions

View file

@ -419,7 +419,8 @@ class PostgresUserEngineStore:
"""
SELECT payload
FROM user_engine_outbox_events
WHERE claimed_at IS NULL AND delivered_at IS NULL AND failed_at IS NULL
WHERE delivered_at IS NULL
AND COALESCE(payload->>'dead_lettered_at', '') = ''
ORDER BY occurred_at, event_id
"""
)