Skip to content

Uptime tracking shows incorrect data after fresh deployment (1.18.x EE) #3007

Description

@virtneu

Describe the Bug

Three related issues with the uptime tracking feature introduced in 1.18.0:

Issue 1 — no_data days rendered as healthy bars
The API returns status: "no_data" for all days before deployment (Apr 5 – May 3), but the UI renders them as filled green bars instead of grey/empty. This makes a 2-day-old instance appear to have 30 days of uptime history.

Issue 2 — Uptime tracker stops recording after deployment day
The API response shows the last recorded entry is May 4 (deployment date). A downtime event that occurred on May 6 is completely absent from the data, indicating the backend has stopped writing new uptime records after the initial deployment.

Issue 3 — Tooltip date is frozen at deployment date
The date shown in the uptime bar tooltip is stuck at May 4 and does not update to reflect newer events.

Environment

  • Pangolin version: ee-1.18.2 (Enterprise Edition)
  • Gerbil version: 1.3.1
  • Newt version: 1.12.3
  • Server OS: Ubuntu 24.04 LTS (Noble Numbat)
  • Deployed: May 4, 2026

To Reproduce

  1. Deploy a fresh Pangolin 1.18.x EE instance
  2. Connect a Newt client to create a site
  3. Navigate to Sites or Resources page
  4. Hover over the 30-day uptime bar
  5. Observe that all 30 bars are filled despite the instance being only 2 days old
  6. Trigger a brief disconnection and reconnect Newt
  7. Check the uptime bar tooltip date — it remains stuck at the deployment date

Expected Behavior

  • Days with status: "no_data" (before deployment) should be rendered as grey/empty bars, not green filled bars
  • New downtime events should be recorded in real time and appear in the API response with the correct date
  • The tooltip date should update to reflect the most recent event, not remain frozen at the deployment date

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions