bug(ui): device inventory view fails to load #607
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar#607
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from GitHub.
Original GitHub issue: #1869
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1869
Original created: 2025-10-23T07:56:17Z
Describe the bug
if you navigate to the 'Network' page/tab, and then back to 'Devices', it will sit there and spin and not load any devices.
Same goes with any other tab/view really, you can navigate to the 'Analytics' page and then back to 'Devices' same thing, no devices will load, spinner just runs forever unless you refresh the page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Imported GitHub comment.
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1869#issuecomment-3437545711
Original created: 2025-10-23T15:10:50Z
Fix posted in latest web build: Devices dashboard now reclaims the SRQL context whenever you navigate back from another tab, so the table refetches immediately instead of spinning forever. Added regression coverage (selectDevicesQuery helper) and pushed ghcr.io/carverauto/serviceradar-web:sha-46be33ab07a5 to demo after npm run lint && npm run test.
Imported GitHub comment.
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1869#issuecomment-3437601168
Original created: 2025-10-23T15:21:08Z
Follow-up: Network → Sweeps now shows the correct totals again. We were coercing the Proton count response to 0 when the row came back as a string, so the stat cards always read zero. The view now normalises the values (and falls back to the deduped sweep results when Proton omits the stat row). Pushed in ghcr.io/carverauto/serviceradar-web:sha-d46798a63e67 and rolled to demo.
Imported GitHub comment.
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1869#issuecomment-3437663844
Original created: 2025-10-23T15:30:44Z
Sweeps tab is rendering again after filtering out non-host rows coming back from the SRQL query. We now skip any result without an IP and guard the search filter so it doesn’t lowercase undefined, which was tripping React (#418). Fresh build is ghcr.io/carverauto/serviceradar-web:sha-0bd84847d30d and it’s rolled to demo.
Imported GitHub comment.
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1869#issuecomment-3437698177
Original created: 2025-10-23T15:37:16Z
Another tweak: if Proton sends sweep rows without an IP we now fall back to device_id when hydrating the results, so the host summary/host detail tables render instead of collapsing to zero. Search also matches device IDs. Image ghcr.io/carverauto/serviceradar-web:sha-08fc308d0355 is live in demo.
Imported GitHub comment.
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1869#issuecomment-3437750719
Original created: 2025-10-23T15:46:59Z
Restored the original sweep result hydration (the earlier filter was dropping host rows). The SRQL count coercion and search guard remain, so the tables render with the full host list again. New image ghcr.io/carverauto/serviceradar-web:sha-72c5ab39da94 is live in demo.
Imported GitHub comment.
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1869#issuecomment-3437795940
Original created: 2025-10-23T15:56:09Z
Web now fetches sweep data via the SRQL /api/query endpoint instead of the deprecated /api/devices/sweep route. Shipped in ghcr.io/carverauto/serviceradar-web:sha-81c5c53925a8 (rolled to demo).
Imported GitHub comment.
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1869#issuecomment-3446889256
Original created: 2025-10-25T16:41:52Z
closing, fixed