Skip to content

Keep live observations in sync with entity removals - #178

Merged
Oleg-Melnik merged 2 commits into
masterfrom
handle-entity-removals-in-observations
Sep 16, 2026
Merged

Oleg-Melnik merged 2 commits into
masterfrom
handle-entity-removals-in-observations

Conversation

@Oleg-Melnik

Copy link
Copy Markdown
Collaborator

Summary

Live observations could retain entities after archival, deletion, or a change that makes them stop matching the subscription filter. Handle Spine removal notifications so observed values stay current.

Changes

  • Remove matching entries from list observations and restore them when a later update matches.
  • Reread single-entity queries after removals, returning a remaining match or the configured fallback without relying on an ID field.
  • Ignore reread requests from subscriptions superseded by refresh, cancellation, connection loss, or failure.

Remove archived, deleted, and nonmatching entities from observed lists. Reread single-entity queries after removals without assuming an ID field, while preserving cancellation and recovery behavior.
@Oleg-Melnik Oleg-Melnik self-assigned this Sep 16, 2026
@Oleg-Melnik
Oleg-Melnik marked this pull request as ready for review September 16, 2026 12:41
@Oleg-Melnik
Oleg-Melnik merged commit 51b0452 into master Sep 16, 2026
4 checks passed
@Oleg-Melnik
Oleg-Melnik deleted the handle-entity-removals-in-observations branch September 16, 2026 13:35
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.

2 participants