Files
visa/tests
grabowski 62a37b677a
CI / secret scan (push) Successful in 6s
CI / fmt, clippy, tests (push) Successful in 1m18s
CI / release (push) Skipped
Anchor: each run ends its transaction itself
A run that was not due dropped its transaction, and sqlx rolls a dropped
one back only when the connection is returned, from a background task.
Until then the advisory lock stays taken, so a run right after it (the
test's next call on a busy CI runner; on the server a tick that comes at
the wrong moment) found the lock taken and skipped. Every way out of
run_daily now rolls back explicitly (sending happens on the pool; the
transaction only holds the lock). The test checks from a connection of
its own that no lock is left after a run that sent nothing.
2026-11-23 00:31:51 +07:00
..
2026-11-20 19:48:34 +07:00
2026-11-21 22:49:21 +07:00