Skip to content

[bug] Check for null plugin config - #11394

Merged
SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:config-check
Feb 22, 2026
Merged

SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:config-check

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

@SchrodingersGat SchrodingersGat added this to the 1.3.0 milestone Feb 21, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed backport Apply this label to a PR to enable auto-backport action backport-to-1.2.x labels Feb 21, 2026
@netlify

netlify Bot commented Feb 21, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 1523a6a
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/699a3cf589002200080afa04

@codspeed

codspeed Bot commented Feb 21, 2026 •

Copy link
Copy Markdown

Merging this PR will degrade performance by 18.54%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

❌ 31 regressed benchmarks
✅ 13 untouched benchmarks

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
❌ WallTime test_api_options_performance[/api/parameter/template/] 8.5 ms 9.1 ms -6.37%
❌ WallTime test_search_performance[all] 322.8 ms 374.5 ms -13.79%
❌ WallTime test_api_list_performance[/api/stock/] 142 ms 165.3 ms -14.11%
❌ WallTime test_search_performance[part] 56.6 ms 63.7 ms -11.19%
❌ WallTime test_api_list_performance[/api/stock/location/] 19.3 ms 21 ms -8.15%
❌ WallTime test_search_performance[supplierpart] 37.5 ms 42 ms -10.63%
❌ WallTime test_api_options_performance[/api/order/po-line/] 133.6 ms 159.6 ms -16.25%
❌ WallTime test_search_performance[salesordershipment] 19.9 ms 22 ms -9.61%
❌ WallTime test_api_options_performance[/api/part/category/] 13.9 ms 14.9 ms -6.36%
❌ WallTime test_api_list_performance[/api/build/] 40.9 ms 45.3 ms -9.68%
❌ WallTime test_api_list_performance[/api/part/] 68.7 ms 78.8 ms -12.85%
❌ WallTime test_api_list_performance[/api/parameter/template/] 8.5 ms 9.1 ms -6.78%
❌ WallTime test_api_list_performance[/api/company/] 17.6 ms 19.2 ms -8.34%
❌ WallTime test_search_performance[salesorder] 31 ms 33.9 ms -8.49%
❌ WallTime test_api_list_performance[/api/order/so/] 40.7 ms 46.8 ms -13.02%
❌ WallTime test_api_options_performance[/api/build/] 54.6 ms 59.2 ms -7.75%
❌ WallTime test_api_list_performance[/api/order/so/shipment/] 19.1 ms 22.3 ms -14.52%
❌ WallTime test_api_options_performance[/api/build/item/] 275.2 ms 323.6 ms -14.96%
❌ WallTime test_api_list_performance[/api/parameter/] 11 ms 11.9 ms -7.73%
❌ WallTime test_api_options_performance[/api/order/so/] 50.1 ms 55.6 ms -9.8%
... ... ... ... ... ...

ℹ️ Only the first 20 benchmarks are displayed. Go to the app to view all benchmarks.


Comparing SchrodingersGat:config-check (1523a6a) with master (3910cc5)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (782c765) during the generation of this report, so 3910cc5 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@codecov

codecov Bot commented Feb 21, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 28.57143% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.98%. Comparing base (782c765) to head (1523a6a).
⚠️ Report is 333 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11394      +/-   ##
==========================================
- Coverage   87.98%   87.98%   -0.01%     
==========================================
  Files        1295     1295              
  Lines       58754    58757       +3     
  Branches     1943     1943              
==========================================
  Hits        51695    51695              
- Misses       6575     6578       +3     
  Partials      484      484              
Flag Coverage Δ
backend 89.17% <28.57%> (-0.01%) ⬇️

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

Components Coverage Δ
Backend Apps 91.68% <28.57%> (-0.01%) ⬇️
Backend General 93.37% <ø> (ø)
Frontend 70.88% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 2e675ee into inventree:master Feb 22, 2026
36 checks passed
@SchrodingersGat
SchrodingersGat deleted the config-check branch February 22, 2026 01:47
github-actions Bot pushed a commit that referenced this pull request Feb 22, 2026
* Check for null plugin config

* Handle potential errors

(cherry picked from commit 2e675ee)
@github-actions

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.2.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Feb 22, 2026
* Check for null plugin config

* Handle potential errors

(cherry picked from commit 2e675ee)

Co-authored-by: Oliver <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action bug Identifies a bug which needs to be addressed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Working with Catagories and system just crashed out into maintenance mode.

1 participant