-
Notifications
You must be signed in to change notification settings - Fork 887
test: Update go-scp to fix data race #5469
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
Conversation
Attempt to upstream: bramvdbogaerde/go-scp#66
go.mod
Outdated
// This package is only used in tests, but there's a data race causing | ||
// occasional flakes. | ||
// https://github.com/bramvdbogaerde/go-scp/pull/66 | ||
replace github.com/bramvdbogaerde/go-scp => github.com/mafredri/go-scp v1.2.1-0.20221123115109-607fd1f5015c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be forked to coder
instead of mafredrei
. Even with no special permissions members of coder can fork/create repos in it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there's a pull upstream, I don't care if it's on the dev's personal. I just don't want maintained forks on personal ;p.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I considered it but don't think it's worth it here since this is a lib only used in tests. Once the change is upstreamed I'll get rid of the repo, if we fork it we'll be stuck on our fork forever. 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like it got merged a few hours ago.
Attempt to upstream: bramvdbogaerde/go-scp#66
This flakes every now and a then, tried to upstream but no response yet.
https://github.com/coder/coder/actions/runs/3733778064/jobs/6335003283