Skip to content

Cache schema checks - #11721

Merged
SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:is-generating-schema
Apr 11, 2026
Merged

SchrodingersGat merged 1 commit into
inventree:masterfrom
SchrodingersGat:is-generating-schema

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member
  • The isGeneratingSchema command is potentially expensive
  • Cache the result (per thread)

- The isGeneratingSchema command is potentially expensive
- Cache the result (per thread)
@SchrodingersGat SchrodingersGat added this to the 1.3.0 milestone Apr 11, 2026
@netlify

netlify Bot commented Apr 11, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 0be35ef
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/69d9b31dd8895b0008250499

@codecov

codecov Bot commented Apr 11, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 46.66667% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.35%. Comparing base (62588a6) to head (0be35ef).
⚠️ Report is 376 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11721   +/-   ##
=======================================
  Coverage   91.34%   91.35%           
=======================================
  Files         966      966           
  Lines       50200    50206    +6     
=======================================
+ Hits        45856    45865    +9     
+ Misses       4344     4341    -3     
Flag Coverage Δ
backend 89.24% <46.66%> (+<0.01%) ⬆️

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

Components Coverage Δ
Backend Apps 91.69% <ø> (ø)
Backend General 93.34% <ø> (ø)
Frontend ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 3bd304b into inventree:master Apr 11, 2026
38 checks passed
@SchrodingersGat
SchrodingersGat deleted the is-generating-schema branch April 11, 2026 03:46
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
- The isGeneratingSchema command is potentially expensive
- Cache the result (per thread)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant