Skip to content

fix: invalidate shelf cache when book status changes - #405

Merged
masonfox merged 4 commits into
developfrom
fix/shelf-cache-invalidation
Mar 19, 2026
Merged

fix: invalidate shelf cache when book status changes#405
masonfox merged 4 commits into
developfrom
fix/shelf-cache-invalidation

fix: implement @review feedback (iteration 2)

9e221f5
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 19, 2026 in 0s

78.66% (+0.04%) compared to 5c5e0d9

View this Pull Request on Codecov

78.66% (+0.04%) compared to 5c5e0d9

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #405      +/-   ##
===========================================
+ Coverage    78.62%   78.66%   +0.04%     
===========================================
  Files          167      167              
  Lines         7540     7556      +16     
  Branches      1846     1850       +4     
===========================================
+ Hits          5928     5944      +16     
  Misses        1127     1127              
  Partials       485      485              
Files with missing lines Coverage Δ
app/api/books/[id]/status/route.ts 92.10% <ø> (ø)
hooks/useBookStatus.ts 85.53% <100.00%> (+1.61%) ⬆️
🚀 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.