article
A save step kept a list of failures that Postgres was always going to throw away
The save at the end of my ordering wizard catches each failed item, logs a warning and keeps going inside one transaction. Postgres aborts the transaction at the first database error, so the partial save it promises can't happen, and the same file reloads sessions by timestamp and drops leftover units.
Read more