-
Notifications
You must be signed in to change notification settings - Fork 881
chore(codersdk): move all tailscale imports out of codersdk
#12735
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
chore(codersdk): move all tailscale imports out of codersdk
#12735
Conversation
Currently, importing `codersdk` just to interact with the API requires importing tailscale, which causes builds to fail unless manually using our fork.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
it imports tailscale
workspacesdk
codersdk
This reverts commit a5e7b2e.
@@ -1,4 +1,4 @@ | |||
package codersdk | |||
package workspacesdk |
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.
Thoughts on merging this into workspaceagents.go
and then renaming that file to workspacesdk.go
?
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.
Personally I prefer them split up, since them together would be a file >1k lines
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.
Hmm...
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.
Disagree but fine
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 rearranged it a bit
…tions_to_workspacesdk_
Currently, importing
codersdk
just to interact with the API requires importing tailscale, which causes builds to fail unless manually using our fork. Unfortunately this had to touch the healthcheck code as well, since it imported some tailscale types.