Files
probo/pkg
Bryan Frimin 2e12c11c0c Fix flaky finding e2e tests: move advisory lock outside CTE
The pg_advisory_xact_lock inside the WITH clause caused race conditions
in READ COMMITTED mode. When a transaction blocked on the lock and resumed
after acquiring it, it used a stale snapshot and computed the same reference
ID as the previous transaction, violating the unique constraint. Moving the
lock to a separate statement before the INSERT ensures the snapshot includes
all previously committed data.

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
2026-03-19 13:30:07 +01:00
..
2026-03-16 00:28:47 +01:00
2026-03-06 15:00:42 +01:00
2026-03-16 00:28:47 +01:00
2026-02-02 18:42:50 +01:00
2026-03-13 17:18:02 +01:00
2026-03-06 15:00:42 +01:00
2026-03-13 17:18:02 +01:00
2026-03-13 14:48:13 +01:00
2026-01-17 12:34:23 -08:00
2026-03-16 00:28:47 +01:00
2026-03-13 17:18:02 +01:00
2025-07-14 12:38:07 +02:00
2026-03-16 00:28:47 +01:00
2026-03-16 00:28:47 +01:00
2025-12-15 18:24:00 +01:00
2026-03-13 14:48:13 +01:00