fix(test): test_849 expects 3 begin_nested/lot after #1921 upsert-reconcile SAVEPOINT — unblock red main gate #1925

Merged
bot-backend merged 1 commit from fix/test-849-savepoint-count-1921 into main 2026-06-26 17:23:24 +00:00

1 commit

Author SHA1 Message Date
731f5538a5 fix(test): test_849 expects 3 begin_nested/lot after upsert-reconcile SAVEPOINT (#1921)
All checks were successful
CI / changes (pull_request) Successful in 6s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
197068c (#1921) added a per-lot SAVEPOINT around the listings upsert to catch
IntegrityError on UNIQUE(source,source_id) (migration 133) and reconcile via UPDATE.
That's a legit 3rd begin_nested/lot (upsert + snapshot + hook), so the test's
== 2*len(lots) proxy was stale → red main gate blocking all tradein deploys.
Hook itself still opens no inner SAVEPOINT (base.py:715) — test intent preserved.
2026-06-26 22:22:32 +05:00