Skip to content

feat(postgres): add row-level lock enhancement and advisory lock support - #23

Merged
vistart merged 4 commits into
release/v1.0.0.dev10from
feature/postgres-row-level-lock-enhancement
Apr 9, 2026
Merged

vistart merged 4 commits into
release/v1.0.0.dev10from
feature/postgres-row-level-lock-enhancement

chore: add changelog fragment for PR #23

0255e9a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 9, 2026 in 1s

72.71% (+0.25%) compared to 320ea44

View this Pull Request on Codecov

72.71% (+0.25%) compared to 320ea44

Details

Codecov Report

❌ Patch coverage is 78.96996% with 49 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.71%. Comparing base (320ea44) to head (0255e9a).

Files with missing lines Patch % Lines
...record/backend/impl/postgres/expression/locking.py 66.66% 8 Missing and 7 partials ⚠️
.../backend/impl/postgres/mixins/dml/advisory_lock.py 68.42% 8 Missing and 4 partials ⚠️
...ord/backend/impl/postgres/backend/async_backend.py 75.60% 7 Missing and 3 partials ⚠️
...activerecord/backend/impl/postgres/backend/sync.py 85.00% 3 Missing and 3 partials ⚠️
...cial/activerecord/backend/impl/postgres/dialect.py 88.23% 1 Missing and 1 partial ⚠️
.../backend/impl/postgres/expression/advisory/lock.py 94.44% 1 Missing and 1 partial ⚠️
...ckend/impl/postgres/protocols/dml/advisory_lock.py 77.77% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@                   Coverage Diff                    @@
##           release/v1.0.0.dev10      #23      +/-   ##
========================================================
+ Coverage                 72.45%   72.71%   +0.25%     
========================================================
  Files                       113      119       +6     
  Lines                      6632     6860     +228     
  Branches                   1103     1139      +36     
========================================================
+ Hits                       4805     4988     +183     
- Misses                     1445     1470      +25     
- Partials                    382      402      +20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.