Skip to content

feat: Phase 1k.2 Multi-Label-Batch via ptouch.print_multi (#102)#106

Merged
strausmann merged 21 commits into
mainfrom
spec/phase-1k.2-multi-label-batch
Jun 5, 2026
Merged

feat: Phase 1k.2 Multi-Label-Batch via ptouch.print_multi (#102)#106
strausmann merged 21 commits into
mainfrom
spec/phase-1k.2-multi-label-batch

test(queue): coverage for _process_batch error paths + pragma on _pto…

0b6250d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jun 4, 2026 in 1s

89.48% (-0.10%) compared to 3998575

View this Pull Request on Codecov

89.48% (-0.10%) compared to 3998575

Details

Codecov Report

❌ Patch coverage is 85.18519% with 28 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.48%. Comparing base (3998575) to head (0b6250d).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
backend/app/services/print_queue.py 85.56% 10 Missing and 4 partials ⚠️
backend/app/printer_backends/ptouch_backend.py 50.00% 5 Missing and 1 partial ⚠️
backend/app/services/print_service.py 86.66% 2 Missing and 2 partials ⚠️
backend/app/api/routes/batch.py 25.00% 3 Missing ⚠️
backend/app/services/batch_dispatch.py 95.83% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
- Coverage   89.57%   89.48%   -0.10%     
==========================================
  Files          95       96       +1     
  Lines        4316     4478     +162     
  Branches      368      388      +20     
==========================================
+ Hits         3866     4007     +141     
- Misses        358      369      +11     
- Partials       92      102      +10     
Components Coverage Δ
Printer Backends (transport) 86.41% <76.92%> (-0.78%) ⬇️
Printer Models (drivers) 88.20% <100.00%> (+4.78%) ⬆️
Services 90.65% <87.41%> (-0.60%) ⬇️
REST API 84.83% <25.00%> (-0.20%) ⬇️
Pydantic Schemas 100.00% <ø> (ø)
Integration Plugins 100.00% <ø> (ø)
Files with missing lines Coverage Δ
backend/app/printer_backends/base.py 100.00% <100.00%> (ø)
backend/app/printer_backends/batch_helper.py 100.00% <100.00%> (ø)
backend/app/printer_backends/brother_ql_backend.py 87.23% <100.00%> (+0.87%) ⬆️
backend/app/printer_backends/mock_backend.py 84.74% <100.00%> (+0.81%) ⬆️
backend/app/printer_models/pt.py 96.29% <100.00%> (+0.29%) ⬆️
backend/app/printer_models/ql.py 78.43% <100.00%> (+18.85%) ⬆️
backend/app/services/batch_dispatch.py 90.69% <95.83%> (-1.81%) ⬇️
backend/app/api/routes/batch.py 54.34% <25.00%> (-2.48%) ⬇️
backend/app/services/print_service.py 95.23% <86.66%> (-4.77%) ⬇️
backend/app/printer_backends/ptouch_backend.py 89.33% <50.00%> (-7.50%) ⬇️
... and 1 more

... and 2 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3998575...0b6250d. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.