Repository navigation
Preserve observer custody and avoid projection churn - #798
Merged
flip-engineer merged 1 commit intoOct 17, 2026
Merged
flip-engineer merged 1 commit into
flip-engineer merged 1 commit into
Conversation
This was referenced Oct 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Long-running receive observers retain large heaps while the native session continues. Recovery now validates a live observer's process lifetime, database, session, retained output descriptors and session lock, then retires that observer through its held pidfd. Existing internal receive and recovery command forms are covered. Public receive custody is a follow-up correction.
Projection setup also compares existing trigger definitions before replacing them. Repeated setup preserves SQLite's schema version; missing or changed triggers are repaired within the existing transaction.
Validation on the homelab:
9cc011e95da93526c433de7887863f3ef8d10df55043011125fba2ba52d602c5. Source fragments match this commit. Installation retained the previous executable as a verified rollback hardlink.The operator authorized this narrow deployment with focused validation. The full Bend callback lifetime fix remains in #795. Tracks #696, #769 and #776.