Skip to content

fix api spec

798e151
Select commit
Loading
Failed to load commit list.
Open

refactor(favorites)!: introduce favorites table with positioning #1367

fix api spec
798e151
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Nov 15, 2025 in 0s

58.19% (target 90.00%)

View this Pull Request on Codecov

58.19% (target 90.00%)

Details

Codecov Report

❌ Patch coverage is 61.34752% with 109 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.19%. Comparing base (3572fd8) to head (798e151).

Files with missing lines Patch % Lines
database/favorite/update_position.go 64.70% 9 Missing and 9 partials ⚠️
api/favorite/update.go 0.00% 16 Missing ⚠️
api/favorite/create.go 0.00% 15 Missing ⚠️
api/favorite/delete.go 0.00% 10 Missing ⚠️
api/favorite/list.go 0.00% 9 Missing ⚠️
database/favorite/favorite.go 52.63% 5 Missing and 4 partials ⚠️
database/favorite/delete.go 74.19% 4 Missing and 4 partials ⚠️
router/favorite.go 0.00% 7 Missing ⚠️
database/favorite/index.go 63.63% 2 Missing and 2 partials ⚠️
database/testutils/api_resources.go 0.00% 4 Missing ⚠️
... and 5 more

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

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1367      +/-   ##
==========================================
+ Coverage   58.15%   58.19%   +0.03%     
==========================================
  Files         634      649      +15     
  Lines       24589    24871     +282     
==========================================
+ Hits        14300    14473     +173     
- Misses       9639     9726      +87     
- Partials      650      672      +22     
Files with missing lines Coverage Δ
api/types/favorite.go 100.00% <100.00%> (ø)
database/database.go 67.44% <ø> (ø)
database/favorite/opts.go 100.00% <100.00%> (ø)
database/types/favorite.go 100.00% <100.00%> (ø)
router/user.go 0.00% <0.00%> (ø)
database/favorite/create.go 89.47% <89.47%> (ø)
database/favorite/list_user.go 88.88% <88.88%> (ø)
database/favorite/table.go 84.61% <84.61%> (ø)
database/resource.go 79.08% <75.00%> (-0.23%) ⬇️
database/favorite/index.go 63.63% <63.63%> (ø)
... and 9 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.