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

fix: fix panic while tearing down reconnecting PTY#15615

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-221-reconnecting-pty
Nov 22, 2024

Conversation

spikecurtis
Copy link
Contributor

@spikecurtisspikecurtis commentedNov 21, 2024
edited
Loading

fixescoder/internal#221

Fixes an issue where two goroutines were sharing theerr variable, leading to a data race where we'd fail to process the error and then nil-pointer panic.

I ended up refactoring reconnecting PTY stuff into thereconnectingpty package, instead of having it on the agent. ThatcreateTailnet routine had waaay too many deeply nested goroutines, which is I'm sure a big contributor to the bug appearing in the first place.

@spikecurtisGraphite App
Copy link
ContributorAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

@spikecurtisspikecurtis marked this pull request as ready for reviewNovember 21, 2024 12:59
@spikecurtisspikecurtisforce-pushed thespike/internal-221-reconnecting-pty branch from05a33c0 to6f45bafCompareNovember 21, 2024 13:01
@spikecurtisspikecurtis merged commit103824f intomainNov 22, 2024
28 checks passed
@spikecurtisspikecurtis deleted the spike/internal-221-reconnecting-pty branchNovember 22, 2024 05:46
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

Assignees

@spikecurtisspikecurtis

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

flake: panic in agent.createTailnet()
2 participants
@spikecurtis@johnstcn

[8]ページ先頭

©2009-2025 Movatter.jp