-
Notifications
You must be signed in to change notification settings - Fork 351
fix(envd): stop memory exhaustion when client disconnects from streaming process #2620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
85469b2
test(envd): add test demonstrating orphan process leak on client disc…
arkamar 48912fc
test(envd): add disconnect storm heap growth test
arkamar 7e876a1
fix(envd): back-pressure child process when no subscribers are connected
arkamar 8a70e86
test(envd): add reproducer for EndEvent.Source deadlock when all subs…
arkamar 1b370f8
test(envd): add reproducer for fan-out goroutine leak on direct close…
arkamar 5293a9d
fix(envd): prevent EndEvent deadlock and startMultiplexer fan-out leak
arkamar 0636aec
fix(envd): close TOCTOU race in receiveWhenReady that deadlocked fan-out
arkamar 043dc2e
test(envd): remove flaky DisconnectStormHeapGrowth test
arkamar e34e724
chore(envd): bump version to 0.5.18
arkamar c55adcc
test(envd): clean up test comments in multiplex_test.go
arkamar 3026c2c
fix(envd): grab subSignal before checking conditions in receiveWhenReady
arkamar abb4404
fix(envd): prevent output truncation on fast commands
arkamar 4e24efa
fix(envd): fix EndEvent delivery race when process is killed with orp…
arkamar ab0315b
test(envd): add tests for output truncation and orphan grandchild
arkamar 882b36d
fix(envd): close done channel under lock to prevent orphaned subscrib…
arkamar c342710
fix(envd): close pipe read-ends after readers finish in Wait
arkamar 360254e
fix(envd): apply read deadline to PTY so orphan grandchild does not h…
arkamar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.