Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update comments
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
  • Loading branch information
owen-mc and Copilot authored Mar 13, 2026
commit 73f268c32c360da4e5a7a796bf0ccf0aa726486d
4 changes: 2 additions & 2 deletions go/extractor/autobuilder/build-environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ func getVersionWhenGoModVersionNotFound(v versionInfo) (msg string, version util
if v.goEnvVersion == nil {
// There is no Go version installed in the environment. We have no indication which version
// was intended to be used to build this project. Go versions are generally backwards
// compatible, so we install the maximum supported version.
// compatible, so we install the maximum supported released version.
msg = "No version of Go installed and no `go.mod` file found. Requesting the maximum " +
"supported version of Go that has been released (" + goVersionToInstall.String() + ")."
version = goVersionToInstall
Comment thread
owen-mc marked this conversation as resolved.
diagnostics.EmitNoGoModAndNoGoEnv(msg)
} else if outsideSupportedRange(v.goEnvVersion) {
// The Go version installed in the environment is not supported. We have no indication
// which version was intended to be used to build this project. Go versions are generally
// backwards compatible, so we install the maximum supported version.
// backwards compatible, so we install the maximum supported released version.
msg = "No `go.mod` file found. The version of Go installed in the environment (" +
v.goEnvVersion.String() + ") is outside of the supported range (" + minGoVersion.String() + "-" +
maxGoVersion.String() + "). Requesting the maximum supported version of Go that has " +
Expand Down
Loading