Skip to content

Catch keyboard interrupts#11720

Merged
SchrodingersGat merged 2 commits intoinventree:masterfrom
SchrodingersGat:keyboard-interrupt
Apr 11, 2026
Merged

Catch keyboard interrupts#11720
SchrodingersGat merged 2 commits intoinventree:masterfrom
SchrodingersGat:keyboard-interrupt

Conversation

@SchrodingersGat
Copy link
Copy Markdown
Member

Handle invoke tasks being cancelled by the user, present a simple error message rather than the entire stacktrace from the keyboard interrupt

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 11, 2026

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

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

@SchrodingersGat SchrodingersGat added setup Relates to the InvenTree setup / installation process enhancement This is an suggested enhancement or new feature labels Apr 11, 2026
@SchrodingersGat SchrodingersGat added this to the 1.3.0 milestone Apr 11, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 11, 2026

Codecov Report

❌ Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.34%. Comparing base (62588a6) to head (e4a936c).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #11720   +/-   ##
=======================================
  Coverage   91.34%   91.34%           
=======================================
  Files         966      966           
  Lines       50200    50204    +4     
=======================================
+ Hits        45856    45860    +4     
  Misses       4344     4344           
Flag Coverage Δ
backend 89.23% <40.00%> (+<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 fffc55c into inventree:master Apr 11, 2026
39 checks passed
@SchrodingersGat SchrodingersGat deleted the keyboard-interrupt branch April 11, 2026 03:46
@SchrodingersGat SchrodingersGat removed the enhancement This is an suggested enhancement or new feature label Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

setup Relates to the InvenTree setup / installation process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant