Skip to content

Replace Transient state for Starting and Halting#73

Draft
ben-grande wants to merge 2 commits into
QubesOS:mainfrom
ben-grande:transient
Draft

Replace Transient state for Starting and Halting#73
ben-grande wants to merge 2 commits into
QubesOS:mainfrom
ben-grande:transient

Conversation

@ben-grande

@ben-grande ben-grande commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

@ben-grande ben-grande linked an issue Jul 15, 2026 that may be closed by this pull request
Cache events to allow caching power state and avoid extra API calls.
With that, also trust the client to return us the appropriate power
state that it set on the event, instead of making derivative tools roll
their own state definition.

Fixes: QubesOS/qubes-issues#10979
For: QubesOS/qubes-issues#10966
Requires: QubesOS/qubes-core-admin-client#480
@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.30%. Comparing base (b41a1ce) to head (637ac08).

Files with missing lines Patch % Lines
qubes_menu/appmenu.py 0.00% 1 Missing ⚠️
qubes_menu/vm_manager.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #73      +/-   ##
==========================================
- Coverage   80.66%   80.30%   -0.37%     
==========================================
  Files          23       23              
  Lines        2850     2833      -17     
==========================================
- Hits         2299     2275      -24     
- Misses        551      558       +7     

☔ 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.

menu treats domain-pre-shutdown as Transient state while server wouldn't report that Improve handling of Transient power state

1 participant