bug(web-ng): Device Details page incorrectly showing device as unavailable #1019

Open
opened 2026-03-28 04:30:52 +00:00 by mfreeman451 · 0 comments
Owner

Imported from GitHub.

Original GitHub issue: #2820
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/2820
Original created: 2026-02-13T06:34:54Z


Describe the bug

Image

We're checking availability of this device in particular from multiple agents, some have a network path, some do not, so we use a hysterisis algorithm in a 300s window, if we have an available signal, we mark that device as available instead of unavailable.

Time | Agent | Status | Response | Ports
-- | -- | -- | -- | --
2026-02-13 06:31 | k8s-agent | Unavailable | — | —
2026-02-13 06:29 | agent-dusk | Available | 1ms | —
2026-02-13 06:26 | k8s-agent | Unavailable | — | —
2026-02-13 06:24 | agent-dusk | Available | 1ms | —
2026-02-13 06:19 | agent-dusk | Available | 1ms | —

However, if we look at that same device in the device inventory list view, in the table, it correctly shows the device as being online.

Image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #2820 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/2820 Original created: 2026-02-13T06:34:54Z --- **Describe the bug** <img width="1187" height="384" alt="Image" src="https://github.com/user-attachments/assets/7e9f2201-7057-48d8-a97e-dde9a645c831" /> We're checking availability of this device in particular from multiple agents, some have a network path, some do not, so we use a hysterisis algorithm in a 300s window, if we have an available signal, we mark that device as available instead of unavailable. ```md Time | Agent | Status | Response | Ports -- | -- | -- | -- | -- 2026-02-13 06:31 | k8s-agent | Unavailable | — | — 2026-02-13 06:29 | agent-dusk | Available | 1ms | — 2026-02-13 06:26 | k8s-agent | Unavailable | — | — 2026-02-13 06:24 | agent-dusk | Available | 1ms | — 2026-02-13 06:19 | agent-dusk | Available | 1ms | — ``` However, if we look at that same device in the device inventory list view, in the table, it correctly shows the device as being online. <img width="1187" height="41" alt="Image" src="https://github.com/user-attachments/assets/628f1de5-d9e2-450d-a7a6-183fc302463c" /> **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **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):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#1019
No description provided.