Skip to content

Deduplicate social backends - #13046

Merged
SchrodingersGat merged 5 commits into
inventree:masterfrom
SchrodingersGat:fix-social-backend-dedup
Oct 20, 2026
Merged

SchrodingersGat merged 5 commits into
inventree:masterfrom
SchrodingersGat:fix-social-backend-dedup

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

- Closes inventree#13044
- Fixes bug which can cause duplication of social backends
- Added regression tests
@SchrodingersGat SchrodingersGat added this to the 1.7.0 milestone Oct 20, 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.5.x labels Oct 20, 2026
@netlify

netlify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit a27ea54
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6ad7d00c671c373ab23bc36b

@codecov

codecov Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.29%. Comparing base (bef18f0) to head (a27ea54).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13046      +/-   ##
==========================================
+ Coverage   82.11%   87.29%   +5.17%     
==========================================
  Files        1510     1522      +12     
  Lines      104271   105646    +1375     
  Branches    11541    11970     +429     
==========================================
+ Hits        85627    92223    +6596     
+ Misses      18582    13356    -5226     
- Partials       62       67       +5     
Flag Coverage Δ
backend 92.12% <100.00%> (+<0.01%) ⬆️

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

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

@matmair matmair modified the milestones: 1.7.0, 1.6.1 Oct 20, 2026
@SchrodingersGat
SchrodingersGat merged commit a91f079 into inventree:master Oct 20, 2026
59 of 61 checks passed
@SchrodingersGat
SchrodingersGat deleted the fix-social-backend-dedup branch October 20, 2026 23:00
@github-actions

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.6.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 Oct 21, 2026
* Deduplicate social backends

- Closes #13044
- Fixes bug which can cause duplication of social backends
- Added regression tests

* Update src/backend/InvenTree/InvenTree/config.py

Simplify implementation



* Ensure consistent ordering

* Bump API version

---------


(cherry picked from commit a91f079)

Co-authored-by: Oliver <[email protected]>
Co-authored-by: Philipp Fruck <[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.

Bug/Question: Duplicate INVENTREE_SOCIAL_BACKENDS after 1.6.0?

3 participants