Skip to content

Eager load variant stock on the products API index to avoid an N+1#6501

Open
ikraamg wants to merge 1 commit into
solidusio:mainfrom
ikraamg:perf/api-products-stock-n-plus-one
Open

Eager load variant stock on the products API index to avoid an N+1#6501
ikraamg wants to merge 1 commit into
solidusio:mainfrom
ikraamg:perf/api-products-stock-n-plus-one

Eager load variant stock on the products API index

b32c208
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 26, 2026 in 0s

89.68% (+0.00%) compared to 8d781ac

View this Pull Request on Codecov

89.68% (+0.00%) compared to 8d781ac

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.68%. Comparing base (8d781ac) to head (b32c208).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6501   +/-   ##
=======================================
  Coverage   89.68%   89.68%           
=======================================
  Files         993      993           
  Lines       20863    20863           
=======================================
  Hits        18712    18712           
  Misses       2151     2151           

☔ View full report in Codecov by Harness.
📢 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.