Skip to content

Don't block main thread on qube hanging shutdown#450

Open
ben-grande wants to merge 2 commits into
QubesOS:mainfrom
ben-grande:long-shutdown
Open

Don't block main thread on qube hanging shutdown#450
ben-grande wants to merge 2 commits into
QubesOS:mainfrom
ben-grande:long-shutdown

Conversation

@ben-grande

Copy link
Copy Markdown
Contributor

The merge request to core-admin already avoids the main problem, of a hanging shutdown blocking qubesd. This change avoids a hanging shutdown blocking the interaction with the qube manager

For: QubesOS/qubes-issues#10648
Fixes: QubesOS/qubes-issues#10074
Requires: QubesOS/qubes-core-admin#807
Requires: QubesOS/qubes-core-admin-client#469

@ben-grande

ben-grande commented May 28, 2026

Copy link
Copy Markdown
Contributor Author

Requires bumping qubesadmin in the requirements.

@ben-grande

Copy link
Copy Markdown
Contributor Author

PipelineRetryFailed

@ben-grande ben-grande force-pushed the long-shutdown branch 2 times, most recently from 6792ea4 to f8d721f Compare June 4, 2026 13:27
@marmarta

marmarta commented Jun 8, 2026

Copy link
Copy Markdown
Member

There are some pylint fails and test complaints, otherwise this looks fine

The merge request to core-admin already avoids the main problem, of a hanging
shutdown blocking qubesd. This change avoids a hanging shutdown blocking the
interaction with the qube manager

For: QubesOS/qubes-issues#10648
Fixes: QubesOS/qubes-issues#10074
Requires: QubesOS/qubes-core-admin#807
Requires: QubesOS/qubes-core-admin-client#469
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 72.72727% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.71%. Comparing base (ff411c5) to head (358b784).
⚠️ Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
qubesmanager/qube_manager.py 73.68% 5 Missing ⚠️
qubesmanager/bootfromdevice.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #450      +/-   ##
==========================================
+ Coverage   69.67%   69.71%   +0.04%     
==========================================
  Files          17       17              
  Lines        4017     4029      +12     
==========================================
+ Hits         2799     2809      +10     
- Misses       1218     1220       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DoS: Qube Manager locks up when qube does not respond to its commands

2 participants