Skip to content

feat(herdr-usage): refresh countdown row, stale cache retention, SIGUSR1 refresh#26

Merged
atyrode merged 1 commit into
mainfrom
herdr-usage-refresh
Jul 19, 2026
Merged

feat(herdr-usage): refresh countdown row, stale cache retention, SIGUSR1 refresh#26
atyrode merged 1 commit into
mainfrom
herdr-usage-refresh

Conversation

@atyrode

@atyrode atyrode commented Jul 19, 2026

Copy link
Copy Markdown
Owner

The section's first row is now a breathing-room spacer carrying a
right-aligned status cluster: a next-fetch countdown (with optional
--refresh-hint keybind label) that flips to an amber 'cached ago'
when a fetch degrades. Fetch and render are split so a minute tick
re-renders reset countdowns from the cached snapshot without broker
traffic; an errorful sweep retains the previous snapshot instead of
shrinking or blanking the section. SIGUSR1 pulls the next fetch forward
through the same event loop, so manual refreshes can never overlap a
scheduled cycle. Usage rows now cap at 23, reserving the status slot.

…SR1 refresh

The section's first row is now a breathing-room spacer carrying a
right-aligned status cluster: a next-fetch countdown (with optional
--refresh-hint keybind label) that flips to an amber 'cached <age> ago'
when a fetch degrades. Fetch and render are split so a minute tick
re-renders reset countdowns from the cached snapshot without broker
traffic; an errorful sweep retains the previous snapshot instead of
shrinking or blanking the section. SIGUSR1 pulls the next fetch forward
through the same event loop, so manual refreshes can never overlap a
scheduled cycle. Usage rows now cap at 23, reserving the status slot.
@atyrode
atyrode merged commit 7fba342 into main Jul 19, 2026
1 check passed
@atyrode
atyrode deleted the herdr-usage-refresh branch July 19, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant