Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

test: prevent TestAgent_ReconnectingPTY connection reporting check from interfering#20210

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
spikecurtis merged 1 commit intomainfromspike/internal-572-rpty-screen
Oct 8, 2025

Conversation

spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedOct 8, 2025
edited
Loading

When we added support for connection tracking in the Workspace agent, we modified the ReconnectingPTY tests to add an initial connection that we immediately hang up and check that connections are logged.

In the case ofscreen-based pty handling, hanging up the initial connection can race with the initial attachment to thescreen process, and cause that process to exit early. This leaves subsequent connections to the same session ID to fail.

In this PR we just use different pty session IDs so that the initial connections we do to verify logging don't interfere with the rest of the test.

Arguably it's a bug in our Reconnecting PTY code that hanging up immediately can leave the system in a weird state, but we do eventually recover and error out, so I don't think it's worth trying to fix.

@spikecurtisGraphite App
Copy link
ContributorAuthor

@spikecurtisspikecurtis marked this pull request as ready for reviewOctober 8, 2025 11:09
@spikecurtisspikecurtis changed the titletest: fix TestAgent_ReconnectingPTY connection reporting check to not interfereprevent TestAgent_ReconnectingPTY connection reporting check from interferingOct 8, 2025
@spikecurtisspikecurtis changed the titleprevent TestAgent_ReconnectingPTY connection reporting check from interferingtest: prevent TestAgent_ReconnectingPTY connection reporting check from interferingOct 8, 2025
@spikecurtisspikecurtis merged commit5807fe0 intomainOct 8, 2025
41 checks passed
@spikecurtisspikecurtis deleted the spike/internal-572-rpty-screen branchOctober 8, 2025 12:23
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 8, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@ibetitsmikeibetitsmikeibetitsmike approved these changes

@mafredrimafredriAwaiting requested review from mafredri

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@spikecurtis@ibetitsmike

[8]ページ先頭

©2009-2025 Movatter.jp