fix(db): only update fields when necessary for repo hot path writes #1416
Codecov / codecov/project
failed
Mar 13, 2026 in 0s
58.31% (target 90.00%)
View this Pull Request on Codecov
58.31% (target 90.00%)
Details
Codecov Report
❌ Patch coverage is 50.00000% with 39 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.31%. Comparing base (223855d) to head (f6a3d26).
❌ Your project check has failed because the head coverage (58.31%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage.
Additional details and impacted files
@@ Coverage Diff @@
## main #1416 +/- ##
==========================================
- Coverage 58.41% 58.31% -0.10%
==========================================
Files 660 661 +1
Lines 25292 25290 -2
==========================================
- Hits 14774 14748 -26
- Misses 9833 9854 +21
- Partials 685 688 +3 | Files with missing lines | Coverage Δ | |
|---|---|---|
| database/types/repo.go | 86.04% <100.00%> (-2.98%) |
⬇️ |
| scm/github/app_install.go | 0.00% <0.00%> (ø) |
|
| scm/github/repo.go | 76.17% <0.00%> (ø) |
|
| database/repo/update_partial.go | 81.81% <81.81%> (ø) |
|
| database/repo/create.go | 57.14% <0.00%> (-9.53%) |
⬇️ |
| api/webhook/post.go | 0.00% <0.00%> (ø) |
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading