Skip to content

Document the API

deeff5d
Select commit
Loading
Failed to load commit list.
Merged

Use ProtocolError on invalid requests #751

Document the API
deeff5d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 4, 2026 in 0s

70.24% (+0.11%) compared to 2488f2b

View this Pull Request on Codecov

70.24% (+0.11%) compared to 2488f2b

Details

Codecov Report

❌ Patch coverage is 91.26214% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 70.24%. Comparing base (2488f2b) to head (deeff5d).
⚠️ Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
qubes/api/admin.py 93.58% 10 Missing ⚠️
qubes/api/__init__.py 93.90% 5 Missing ⚠️
qubes/tools/__init__.py 0.00% 3 Missing ⚠️
qubes/log.py 33.33% 2 Missing ⚠️
qubes/tools/qubesd.py 0.00% 2 Missing ⚠️
qubes/utils.py 90.47% 2 Missing ⚠️
qubes/api/internal.py 88.88% 1 Missing ⚠️
qubes/exc.py 95.65% 1 Missing ⚠️
qubes/vm/__init__.py 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #751      +/-   ##
==========================================
+ Coverage   70.12%   70.24%   +0.11%     
==========================================
  Files          61       61              
  Lines       14001    14073      +72     
==========================================
+ Hits         9818     9885      +67     
- Misses       4183     4188       +5     

☔ View full report in Codecov by Sentry.
📢 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.