Skip to content

q-dev: expose device assignment modes - #857

Open
piotrbartman wants to merge 2 commits into
QubesOS:mainfrom
piotrbartman:qdev/dclist
Open

q-dev: expose device assignment modes#857
piotrbartman wants to merge 2 commits into
QubesOS:mainfrom
piotrbartman:qdev/dclist

Conversation

@piotrbartman

@piotrbartman piotrbartman commented Jul 29, 2026

Copy link
Copy Markdown
Member

Until now, the available assignment modes were hidden in code without an endpoint in the API.

related: QubesOS/qubes-core-admin-client/pull/487
related: QubesOS/qubes-app-linux-usb-proxy/pull/61

Until now, the available assignment modes were hidden in code without an endpoint in the API.
@codecov

codecov Bot commented Jul 29, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.42857% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.36%. Comparing base (dc50b55) to head (fa265ad).

Files with missing lines Patch % Lines
qubes/api/admin.py 81.25% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #857      +/-   ##
==========================================
+ Coverage   70.30%   70.36%   +0.05%     
==========================================
  Files          61       61              
  Lines       14149    14203      +54     
==========================================
+ Hits         9948     9994      +46     
- Misses       4201     4209       +8     
Flag Coverage Δ
unittests 70.36% <91.42%> (+0.05%) ⬆️

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

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

Comment thread qubes/device_protocol.py
This makes code even cleaner, since there can be more device classes that cannot be attached manually.
@marmarek

marmarek commented Aug 1, 2026

Copy link
Copy Markdown
Member

Test needs an update to include manual too

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.

2 participants