Repository navigation
app: saving helpers leave about a minute after the app - #2226
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Pinned furrow health requests reset its idle timer. Keep only owned desktop helpers warm while the engine lives, then rely on their one-minute idle exit without shutdown or reconnect coordination. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Quitting the desktop app left a
furrow servehelper running for up to ten minutes.The app's engine now starts its saving helpers with a one-minute idle limit and sends each one a health request every 20 seconds while the engine is alive. When the engine ends, by ⌘Q or a kill, the requests stop and the helper exits through its own idle path about a minute later. No shutdown request, lock or marker is involved, so no other client can reach a closing helper.
Limits: the helper outlives the app by up to about a minute, rather than going at once. Lifecycle tests ran on Linux. Joined engine hosts and kept services have their own lifetimes and are unchanged.
Validation: with the real pinned furrow, the same process survived 70 quiet seconds while touched and exited 60.1 seconds after touches stopped, including after an engine kill. Touches never started or restarted a helper, and the default stayed at ten minutes. The red run was a compile failure on the missing setter, not a timed behavioural failure. Wider suites run in the stream's later check.
🤖 Generated with Claude Code