mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Greptile flagged that if the session is in an aborted tx (e.g. the external commit was followed by a failed statement before our error fired), Postgres rejects DDL on the session and the committed work table orphans. Fall back to a fresh connection in that case. Adds a regression test that deterministically reproduces the orphan. |
||
|---|---|---|
| .. | ||
| test | ||
| __init__.py | ||
| api.py | ||
| downloader.py | ||
| indexers.py | ||
| lib.py | ||
| models.py | ||
| schema.py | ||
| worker.py | ||