Skip to content

fix (backend): only instrument tracing once#12050

Merged
SchrodingersGat merged 2 commits into
inventree:masterfrom
matmair:matmair/issue12047
May 30, 2026
Merged

fix (backend): only instrument tracing once#12050
SchrodingersGat merged 2 commits into
inventree:masterfrom
matmair:matmair/issue12047

Conversation

@matmair
Copy link
Copy Markdown
Member

@matmair matmair commented May 30, 2026

closes #12047

@matmair matmair added this to the 1.4.0 milestone May 30, 2026
@matmair matmair self-assigned this May 30, 2026
@matmair matmair requested a review from SchrodingersGat as a code owner May 30, 2026 12:44
@matmair matmair added bug Identifies a bug which needs to be addressed setup Relates to the InvenTree setup / installation process backport Apply this label to a PR to enable auto-backport action backport-to-1.3.x labels May 30, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented May 30, 2026

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

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

@codecov
Copy link
Copy Markdown

codecov Bot commented May 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.43%. Comparing base (d2bec03) to head (2916659).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #12050   +/-   ##
=======================================
  Coverage   91.43%   91.43%           
=======================================
  Files         974      974           
  Lines       51915    51915           
=======================================
  Hits        47468    47468           
  Misses       4447     4447           
Flag Coverage Δ
backend 90.44% <ø> (ø)

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

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

@SchrodingersGat SchrodingersGat merged commit 914cd72 into inventree:master May 30, 2026
43 checks passed
@SchrodingersGat SchrodingersGat deleted the matmair/issue12047 branch May 30, 2026 21:30
@github-actions
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
1.3.x

Questions ?

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

SchrodingersGat pushed a commit that referenced this pull request May 30, 2026
* ensure tracing is only set up once

* check if instrument was already called

(cherry picked from commit 914cd72)

Co-authored-by: Matthias Mair <code@mjmair.com>
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 backport-to-1.3.x bug Identifies a bug which needs to be addressed setup Relates to the InvenTree setup / installation process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracing issues with gunicorn

2 participants