Skip to content

Fix: keep each stored widget result for its own keep time - #521

Merged
SandObserver merged 1 commit into
mainfrom
fix/keep-per-entry
Oct 19, 2026
Merged

SandObserver merged 1 commit into
mainfrom
fix/keep-per-entry

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • Store keepMs on each latest() entry and prune every entry by its own value, not the caller's.
  • A health poll with a 2-minute keep no longer drops widget-data results kept for 15 minutes.

Testing
All green. Added a test that a short-keep key does not drop a long-keep one.

Changelog

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.

@SandObserver SandObserver added the bug Something isn't working label Oct 19, 2026
@SandObserver
SandObserver merged commit 1221f18 into main Oct 19, 2026
6 checks passed
@SandObserver
SandObserver deleted the fix/keep-per-entry branch October 19, 2026 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant