go build on a source
checkout produces a binary with the UI disabled. The gateway and admin API
still work, and the log says the UI is disabled. Add the dashboard in one of two
ways before go build.
Option 1: Use the prebuilt dashboard (no Node)
Every release includesgomodel_<version>_dashboard.tar.gz, listed in that
release’s checksums.txt. It contains the exact dashboard embedded in the
release binaries and Docker image. Its paths are relative to the repository
root, so unpack it there:
grpcnotrace tag drops gRPC’s built-in request tracing, which GoModel
never uses, and makes the binary about 15 MB smaller. -trimpath removes your
build machine’s paths from it. Both are optional: without them the binary
works the same, it is just larger. make build sets them for you.
Package recipes can pin the archive’s SHA-256 next to the source checksum.
Option 2: Build the dashboard with Node
Use Node 22.12 or later in the 22.x line, or Node 24+. Node 23 is not supported by the dashboard’s build tools.web/dashboard/package-lock.json, so the build runs offline once the npm
dependencies are fetched from the lockfile:
Version stamp
Setinternal/version.Version with -ldflags as shown above. Without it the
binary reports dev and the update check never
reports a newer release.