InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

Query count test

Open SchrodingersGat opened this issue 1 year ago • 3 comments

Run query counting on all API requests made during unit testing.

Should help to quickly reveal any inefficient API endpoints

SchrodingersGat avatar May 04 '24 01:05 SchrodingersGat

Deploy Preview for inventree-web-pui-preview canceled.

Name Link
Latest commit 623440c988103cfd65ae748d37e0b8e40f5dc6c7
Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/665696a7dc204100080846b1

netlify[bot] avatar May 04 '24 01:05 netlify[bot]

Codecov Report

Attention: Patch coverage is 97.47899% with 3 lines in your changes missing coverage. Please review.

Project coverage is 82.93%. Comparing base (c196511) to head (623440c). Report is 319 commits behind head on master.

Files Patch % Lines
src/backend/InvenTree/InvenTree/settings.py 0.00% 1 Missing :warning:
src/backend/InvenTree/InvenTree/unit_test.py 97.77% 1 Missing :warning:
...nTree/report/migrations/0026_auto_20240422_1301.py 66.66% 1 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7157      +/-   ##
==========================================
- Coverage   83.82%   82.93%   -0.89%     
==========================================
  Files        1048     1056       +8     
  Lines       46062    46842     +780     
  Branches     1390     1190     -200     
==========================================
+ Hits        38610    38850     +240     
- Misses       7088     7704     +616     
+ Partials      364      288      -76     
Flag Coverage Δ
backend 85.13% <97.47%> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 04 '24 01:05 codecov[bot]

Looks like there are a lot of queries that trigger the 75 requests limit

matmair avatar May 04 '24 10:05 matmair