Skip to content

refactor: make Postgres GC preemptible via per-batch xact locks

d5a1a83
Select commit
Loading
Failed to load commit list.
Draft

refactor: make Postgres GC preemptible via per-batch xact locks #3059

refactor: make Postgres GC preemptible via per-batch xact locks
d5a1a83
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed May 3, 2026 in 0s

74.76% (target 75.00%)

View this Pull Request on Codecov

74.76% (target 75.00%)

Details

Codecov Report

❌ Patch coverage is 59.15493% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.76%. Comparing base (54211de) to head (d5a1a83).
⚠️ Report is 44 commits behind head on main.

Files with missing lines Patch % Lines
internal/datastore/mysql/gc.go 18.19% 12 Missing and 6 partials ⚠️
internal/datastore/postgres/gc.go 63.64% 6 Missing and 2 partials ⚠️
internal/datastore/postgres/locks.go 70.00% 2 Missing and 1 partial ⚠️

❌ Your project check has failed because the head coverage (74.76%) is below the target coverage (75.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3059      +/-   ##
==========================================
+ Coverage   73.80%   74.76%   +0.97%     
==========================================
  Files         493      499       +6     
  Lines       59295    60257     +962     
==========================================
+ Hits        43755    45044    +1289     
+ Misses      12384    11934     -450     
- Partials     3156     3279     +123     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.