Skip to content

feat(api): Hub batch print endpoint + slug + hangar templates for Hangar integration#92

Merged
strausmann merged 22 commits into
mainfrom
feat/hangar-integration-phase-1
May 30, 2026
Merged

feat(api): Hub batch print endpoint + slug + hangar templates for Hangar integration#92
strausmann merged 22 commits into
mainfrom
feat/hangar-integration-phase-1

fix(api): adressiere Copilot+Gemini Review-Findings auf PR #92

2dbf21c
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 30, 2026 in 0s

90.20% (-0.31%) compared to 69b133a

View this Pull Request on Codecov

90.20% (-0.31%) compared to 69b133a

Details

Codecov Report

❌ Patch coverage is 82.99320% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 90.20%. Comparing base (69b133a) to head (2dbf21c).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
backend/app/api/routes/batch.py 68.57% 11 Missing ⚠️
backend/app/repositories/print_batches.py 73.07% 7 Missing ⚠️
backend/app/api/routes/printers.py 62.50% 3 Missing ⚠️
backend/app/services/batch_dispatch.py 89.65% 3 Missing ⚠️
backend/app/repositories/printers.py 91.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #92      +/-   ##
==========================================
- Coverage   90.50%   90.20%   -0.31%     
==========================================
  Files          79       84       +5     
  Lines        3540     3684     +144     
  Branches      306      314       +8     
==========================================
+ Hits         3204     3323     +119     
- Misses        255      279      +24     
- Partials       81       82       +1     
Components Coverage Δ
Printer Backends (transport) 87.50% <ø> (ø)
Printer Models (drivers) 91.42% <ø> (ø)
Services 92.02% <89.65%> (-0.07%) ⬇️
REST API 85.47% <67.44%> (-1.14%) ⬇️
Pydantic Schemas 100.00% <100.00%> (ø)
Integration Plugins 100.00% <ø> (ø)
Files with missing lines Coverage Δ
backend/app/main.py 86.59% <100.00%> (+0.10%) ⬆️
backend/app/models/print_batch.py 100.00% <100.00%> (ø)
backend/app/models/printer.py 100.00% <100.00%> (ø)
backend/app/schemas/print_batch.py 100.00% <100.00%> (ø)
backend/app/schemas/printer.py 100.00% <100.00%> (ø)
backend/app/repositories/printers.py 96.77% <91.66%> (-3.23%) ⬇️
backend/app/api/routes/printers.py 82.01% <62.50%> (-1.57%) ⬇️
backend/app/services/batch_dispatch.py 89.65% <89.65%> (ø)
backend/app/repositories/print_batches.py 73.07% <73.07%> (ø)
backend/app/api/routes/batch.py 68.57% <68.57%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 69b133a...2dbf21c. 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.