Skip to content

could not import tailscale.com/derp errors in build pipeline #255

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

Closed
matifali opened this issue Dec 13, 2024 · 1 comment · Fixed by coder/coder#15899
Closed

could not import tailscale.com/derp errors in build pipeline #255

matifali opened this issue Dec 13, 2024 · 1 comment · Fixed by coder/coder#15899
Assignees
Labels
help wanted Extra attention is needed tech-debt

Comments

@matifali
Copy link
Member

matifali commented Dec 13, 2024

I noticed a few go package errors in the build job of coder/coder ci.yaml.

Error: 2024/12/13 14:05:27 ERROR parsing package, suggest running 'go get tailscale.com/derp' where calling the go generator to include the referenced package. error="/home/runner/work/coder/coder/codersdk/healthsdk/healthsdk.go:11:2: could not import tailscale.com/derp (invalid package name: \"\")" pkg=github.com/coder/coder/v2/codersdk/healthsdk directory=github.com/coder/coder/v2/codersdk/healthsdk
Error: 2024/12/13 14:05:27 ERROR parsing package, suggest running 'go get tailscale.com/net/netcheck' where calling the go generator to include the referenced package. error="/home/runner/work/coder/coder/codersdk/healthsdk/healthsdk.go:12:2: could not import tailscale.com/net/netcheck (invalid package name: \"\")" pkg=github.com/coder/coder/v2/codersdk/healthsdk directory=github.com/coder/coder/v2/codersdk/healthsdk
Error: 2024/12/13 14:05:27 ERROR parsing package, suggest running 'go get tailscale.com/tailcfg' where calling the go generator to include the referenced package. error="/home/runner/work/coder/coder/codersdk/healthsdk/healthsdk.go:13:2: could not import tailscale.com/tailcfg (invalid package name: \"\")" pkg=github.com/coder/coder/v2/codersdk/healthsdk directory=github.com/coder/coder/v2/codersdk/healthsdk
Error: 2024/12/13 14:05:27 ERROR parsing package, suggest running 'go get tailscale.com/net/interfaces' where calling the go generator to include the referenced package. error="/home/runner/work/coder/coder/codersdk/healthsdk/interfaces.go:6:2: could not import tailscale.com/net/interfaces (invalid package name: \"\")" pkg=github.com/coder/coder/v2/codersdk/healthsdk directory=github.com/coder/coder/v2/codersdk/healthsdk

at
https://github.com/coder/coder/actions/runs/12317001798/job/34378692805#step:12:69

This has been observed recently but does not seem to affect anything.

@Emyrk is it likely that it started in https://github.com/coder/coder/actions/runs/12284512452

cc: @johnstcn

@coder-labeler coder-labeler bot added help wanted Extra attention is needed tech-debt labels Dec 13, 2024
@Emyrk
Copy link
Member

Emyrk commented Dec 13, 2024

Yea, it is harmless. I'll fix it though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed tech-debt
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants