diff --git a/MODULE.bazel b/MODULE.bazel index e25908eb..1bd3809c 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -28,7 +28,7 @@ use_repo(protoc, "toolchains_protoc_hub") register_toolchains("@toolchains_protoc_hub//:all") -GO_VERSION = "1.24.5" +GO_VERSION = "1.25.0" go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk") diff --git a/doc/howto/DEVELOPMENT.md b/doc/howto/DEVELOPMENT.md index 0ba7fe23..956ba7c6 100644 --- a/doc/howto/DEVELOPMENT.md +++ b/doc/howto/DEVELOPMENT.md @@ -2,7 +2,7 @@ ## Prerequisites -- **Go 1.24+** — needed for `gopls`, `go mod`, and installing protoc plugins. Download from [go.dev/dl](https://go.dev/dl/). Note: Bazel manages its own Go toolchain for builds, but a local Go installation is required for editor tooling and dependency management. +- **Go 1.25+** — needed for `gopls`, `go mod`, and installing protoc plugins. Download from [go.dev/dl](https://go.dev/dl/). Note: Bazel manages its own Go toolchain for builds, but a local Go installation is required for editor tooling and dependency management. - **Docker** and **Docker Compose** — for integration and e2e tests, and for running services locally. - **direnv** (recommended) — automatically loads `.envrc` so you can use `bazel` directly instead of `./tool/bazel`. @@ -149,7 +149,7 @@ See [TESTING.md](TESTING.md) for the full testing guide, including integration a **`gopls` or `go mod tidy` errors:** - Run `go mod download` to fetch all dependencies -- Check that your Go version matches what's in `go.mod` (currently Go 1.24) +- Check that your Go version matches what's in `go.mod` (currently Go 1.25) - If using VS Code, restart the Go language server: `Ctrl+Shift+P` > "Go: Restart Language Server" ## Shell Auto-Completion diff --git a/go.mod b/go.mod index 644ce7e9..2b361b94 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/uber/submitqueue -go 1.24.5 +go 1.25.0 require ( github.com/DATA-DOG/go-sqlmock v1.5.0 diff --git a/service/stovepipe/server/Dockerfile.debug b/service/stovepipe/server/Dockerfile.debug index 4dfd551a..c18d53c6 100644 --- a/service/stovepipe/server/Dockerfile.debug +++ b/service/stovepipe/server/Dockerfile.debug @@ -1,5 +1,5 @@ # Debug image: delve wraps a -compilation_mode=dbg binary (make build-stovepipe-linux-debug). -FROM golang:1.24-bookworm AS dlv +FROM golang:1.25-bookworm AS dlv RUN go install github.com/go-delve/delve/cmd/dlv@v1.24.2 FROM debian:bookworm-slim