• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperglass-community / hyperglass / 45280782826
89%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2026 10:34PM UTC
Jobs 2
Files 464
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Nov 2026 10:33PM UTC coverage: 87.76% (+0.03%) from 87.733%
45280782826

push

github

web-flow
fix(api): answer 404 for an unknown device id (#598)

* fix(api): return 404 for an unknown device ID

GET /api/devices/{id} indexed Devices by the ID, and MultiModel's IndexError
for a missing one reached default_handler: a 500 with messages.general,
logged as critical, that any client could trigger. Look the device up in
the route and raise DeviceNotFound, answered 404 with messages.not_found by
a route-level handler that logs a warning.

* test(api): pin the 400 status of query not-found errors

Only DeviceNotFound answers 404. Assert that QueryLocationNotFound and
QueryTypeNotFound keep 400, directly and through POST /api/query, so the
override can't move up to NotFound unnoticed. Say in the changelog that a
device miss also logs an ERROR line when the error is created.

823 of 1104 branches covered (74.55%)

Branch coverage included in aggregate %.

64 of 64 new or added lines in 5 files covered. (100.0%)

1 existing line in 1 file now uncovered.

19934 of 22548 relevant lines covered (88.41%)

24.81 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
79.04
-0.6% hyperglass/models/main.py
Jobs
ID Job ID Ran Files Coverage
1 backend - 45280782826.1 23 Nov 2026 10:37PM UTC 331
89.03
GitHub Action Run
2 frontend - 45280782826.2 23 Nov 2026 10:34PM UTC 133
80.72
GitHub Action Run
Source Files on build 45280782826
  • Tree
  • List 464
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #45280782826
  • 10f839fe on github
  • Prev Build on main (#45276087374)
  • Next Build on main (#45285731380)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc