- Notifications
You must be signed in to change notification settings - Fork914
fix: use screen for reconnecting terminal sessions if available#8640
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
30 commits Select commitHold shift + click to select a range
0b8499d
Add screen backend for reconnecting ptys
code-asher9cb043c
Fix leaking goroutine in wait
code-asher19633c9
Remove connection_id from reconnecting PTY
code-asher8f4956f
Remove error from close return
code-asheree887b9
Refactor reconnecting PTY backends
code-asher1697070
Merge remote-tracking branch 'github/main' into asher/reconnection-wi…
code-ashera2149fc
Remove extra mutex unlock
code-ashere3c808b
Fix heartbeat typo in comment
code-asher369a36e
Tweak connection close
code-asher72d405c
Linter fixes
code-ashere37fc0f
Clear active conns on close
code-asher61a4253
Avoid useless buffer reset on close
code-asherc7978db
Move lifecycle after buffer and process are set
code-ashera083b31
Add info logs for starting, stopping, and attaching
code-asherbb40f78
Do not hold mutex while waiting for state in screen
code-asher089e1f9
Remove incorrect statement about closing on Attach
code-asheree67045
Remove backend type from SDK/API
code-ashera6bcdd2
Use PATH to test buffered reconnecting pty
code-asher3ff1510
Do not hold mutex while waiting for state
code-ashera781173
Avoid clobbering attach error with close errors
code-asher7a8ec2e
Immediately read screen process
code-asher56ca7ac
Fix incorrect logger context on reconnecting PTY
code-asher9b88a68
Protect map and state with the same mutex
code-asher56e71c9
Fix incorrect test comment
code-asherd4170ca
Attempt fixing flake with 'echo test' command
code-asher34c5c1a
Avoid wait callback when context expires
code-asher88a6b96
Remove err from wait callback
code-asher1fd4e9a
Add state wait func where caller holds the lock
code-asher57f464a
Merge remote-tracking branch 'github/main' into asher/reconnection-wi…
code-asher968526d
Remove unused fn
code-asherFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
212 changes: 19 additions & 193 deletionsagent/agent.go
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.
Uh oh!
There was an error while loading.Please reload this page.
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.