microsoft / microsoft/dev-tunnels
failing to import go sdk
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 508
- Forks
- 52
- Avg merge
- 20h 6m
- Merged PRs (30d)
- 7
Description
Help me import the Go SDK in my project.
Summary
go get github.com/microsoft/dev-tunnels/go/tunnels@latest fails with an invalid version: unknown revision 000000000000 error. This appears to be a Go modules, submodule tagging, or Go proxy resolution issue for users consuming the Go SDK from the microsoft/dev-tunnels repository.
Another Example:
go get -u github.com/microsoft/dev-tunnels/go@latest
go: github.com/microsoft/dev-tunnels/go@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000
Steps to Reproduce
- Set up a fresh Go project.
- Run in the project directory:
orgo get github.com/microsoft/dev-tunnels/go/tunnels@latestgo get github.com/microsoft/dev-tunnels/go@latest - Observe the error:
go: github.com/microsoft/dev-tunnels/go@v0.0.0-00010101000000-000000000000: invalid version: unknown revision 000000000000
Environment
- Go version: 1.22
- Host OS: (macOS/Linux/Windows)
- Proxy: (corporate GOPROXY and/or direct)
- Behind GOPROXY
Workaround
Pin to an explicit version (e.g., v0.1.19):
go get github.com/microsoft/dev-tunnels/go/tunnels@v0.1.19
Suggestion
- Please consider always creating explicit Go module tags under the
go/subfolder and updating releases so that proxies and@latestresolutions work reliably for consumers. - Consider documenting the required
go getsyntax and which versions/tags are available on pkg.go.dev. - If use via GOPROXY is not currently supported, please clarify in the documentation and suggest workarounds or an alternate recommended installation approach.
Request
- Is it possible to ensure future releases always tag the
go/module in a way consumable viago get ...@latestand proxies? - Can you add a troubleshooting section for Go module users in non-GitHub-mirror-only environments?
Thank you for supporting Go users!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the Go module path under the go/ subfolder and the repository's release and tag configuration. Reproduce the failure with the two listed go get commands, then compare @latest resolution with the explicit v0.1.19 workaround through GOPROXY. Done means the module resolves through @latest and the supported installation and troubleshooting guidance is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100