/status hides a stuck identity: lastPollAt is shared across identities #1495

Closed
opened 2026-10-27 13:40:38 +00:00 by sam · 0 comments
Owner

Greptile P2 on PR #892. In multi-identity mode every poll loop writes the same daemon.lastPollAt, so a healthy identity keeps the timestamp fresh while another is wedged inside a poll. /status' 'Last poll' line then reports health the daemon does not have, which is the exact liveness signal the line exists to give.

Fix direction: track poll age per identity and report the oldest, or report per-identity ages. Either changes what the line renders, so it is a small design call rather than a mechanical edit.

Source: internal/daemon/daemon.go (lastPollAt, stamped in Run's single-identity loop and runIdentities' per-identity goroutines).

Close reason

LastPollAt now reports the oldest per-loop stamp.


Imported from beads archie-core-ou9f · GitHub #920 · type bug · priority P2 · created 2026-09-19 · closed 2026-10-10

Greptile P2 on PR #892. In multi-identity mode every poll loop writes the same daemon.lastPollAt, so a healthy identity keeps the timestamp fresh while another is wedged inside a poll. /status' 'Last poll' line then reports health the daemon does not have, which is the exact liveness signal the line exists to give. Fix direction: track poll age per identity and report the oldest, or report per-identity ages. Either changes what the line renders, so it is a small design call rather than a mechanical edit. Source: internal/daemon/daemon.go (lastPollAt, stamped in Run's single-identity loop and runIdentities' per-identity goroutines). ### Close reason LastPollAt now reports the oldest per-loop stamp. --- _Imported from beads `archie-core-ou9f` · GitHub #920 · type bug · priority P2 · created 2026-09-19 · closed 2026-10-10_
sam added the mediumbug labels 2026-10-27 13:40:38 +00:00
sam self-assigned this 2026-10-27 13:40:38 +00:00
sam closed this issue 2026-10-27 13:40:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#1495