Repository navigation
Release Studio idle container cleanup in 0.1.61 - #49
Merged
Merged
Conversation
Expire silent preview connections even when they never send pong, and pause hidden saved editors after pending operations settle. This prevents abandoned browser sessions from keeping hosted containers awake. Publish the same source version through desktop Studio and create-stacki.
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.
Studio preview sockets could keep a hosted container awake indefinitely because clients that never sent a pong were exempt from expiration. Hidden tabs could also freeze before the idle timer disconnected them.
Expire every connection after 90 seconds without incoming traffic, including Vite preview connections. Pause hidden editors after saves and pending operations settle, then close collaboration and preview sockets. Preserve the five-minute foreground idle timeout and explicit resume behavior.
Prepare version 0.1.61 for the desktop Studio bundle and
create-stacki, so both installation paths receive the same fix.Validation: Studio verification, the full desktop test gate, changed-file checks, the two-browser regression suite, and the dedicated hidden/idle connection regression. The same fix is already deployed to flowtricks/example-site.