Skip to content

System Health Checks - #12193

Merged
SchrodingersGat merged 4 commits into
inventree:masterfrom
SchrodingersGat:worker-health-check
Jun 18, 2026
Merged

System Health Checks#12193
SchrodingersGat merged 4 commits into
inventree:masterfrom
SchrodingersGat:worker-health-check

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Jun 18, 2026

Copy link
Copy Markdown
Member

Ref: #12124

  • Preparing groundwork for efficient docker health checks
  • Adds an invoke task for checking if the web server is running
  • Adds an invoke task for checking if the background worker is running.
  • Heartbeat task now touches a temporary file each time
  • The invoke task does not need to run any DB code or expensive app setup

@SchrodingersGat SchrodingersGat added this to the 1.4.0 milestone Jun 18, 2026
@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature setup Relates to the InvenTree setup / installation process labels Jun 18, 2026
@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

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

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

@SchrodingersGat SchrodingersGat changed the title Worker health check System Health Checks Jun 18, 2026
@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.57%. Comparing base (dbda5a7) to head (b1fec6d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #12193      +/-   ##
==========================================
- Coverage   86.57%   86.57%   -0.01%     
==========================================
  Files        1389     1389              
  Lines       89908    89912       +4     
  Branches    10243    10243              
==========================================
+ Hits        77836    77838       +2     
- Misses      12008    12010       +2     
  Partials       64       64              
Flag Coverage Δ
backend 90.64% <77.77%> (-0.01%) ⬇️

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

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

@SchrodingersGat
SchrodingersGat merged commit 4b29032 into inventree:master Jun 18, 2026
42 checks passed
@SchrodingersGat
SchrodingersGat deleted the worker-health-check branch June 18, 2026 02:46
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
* Add worker health check invoke task

* Increase frequency of heartbeat task

* Adjust default threshold for worker health check

* Add server_health invoke func
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
* Add worker health check invoke task

* Increase frequency of heartbeat task

* Adjust default threshold for worker health check

* Add server_health invoke func
mahekp05 pushed a commit to mahekp05/InvenTree that referenced this pull request Aug 4, 2026
* Add worker health check invoke task

* Increase frequency of heartbeat task

* Adjust default threshold for worker health check

* Add server_health invoke func
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement This is an suggested enhancement or new feature setup Relates to the InvenTree setup / installation process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant