Skip to content

fix: Avoid t.TempDir() for unix socket paths#45529

Merged
codingllama merged 1 commit intomasterfrom
codingllama/unix-socket-tempdir
Aug 15, 2024
Merged

fix: Avoid t.TempDir() for unix socket paths#45529
codingllama merged 1 commit intomasterfrom
codingllama/unix-socket-tempdir

Conversation

@codingllama
Copy link
Copy Markdown
Contributor

Fixes a failure due to long unix socket paths on macOS.

See golang/go#62614.

@codingllama codingllama added backport/branch/v14 no-changelog Indicates that a PR does not require a changelog entry labels Aug 15, 2024
@github-actions github-actions Bot requested review from r0mant and tcsc August 15, 2024 15:19
@codingllama
Copy link
Copy Markdown
Contributor Author

codingllama commented Aug 15, 2024

When I change the go.mod version to 1.23 I consistently hit this error on TestTeleportClient_DeviceLogin. Might be bad luck, or might be a blocker for Go 1.23.

Edit: other tests are liable to break too, the one above is only the first.

Comment thread lib/client/api_login_test.go Outdated
@codingllama codingllama enabled auto-merge August 15, 2024 15:53
@codingllama codingllama force-pushed the codingllama/unix-socket-tempdir branch from 8b19d24 to 606d42a Compare August 15, 2024 16:46
@codingllama codingllama added this pull request to the merge queue Aug 15, 2024
Merged via the queue into master with commit 5827484 Aug 15, 2024
@codingllama codingllama deleted the codingllama/unix-socket-tempdir branch August 15, 2024 19:02
@public-teleport-github-review-bot
Copy link
Copy Markdown

@codingllama See the table below for backport results.

Branch Result
branch/v14 Create PR
branch/v15 Create PR
branch/v16 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants