一键导入
update-go-version
// Update Go version across the Tempo codebase (go.mod, tools/go.mod, Dockerfile, CI workflows, tools image tag)
// Update Go version across the Tempo codebase (go.mod, tools/go.mod, Dockerfile, CI workflows, tools image tag)
Resolve vendor/ conflicts during a merge, rebase, or dependency upgrade on main or release branches
Assess documentation status for each PR in a Tempo release — classify gaps and identify existing docs that need updating
Write or update Tempo docs for user-facing PR changes identified by docs-pr-check
Review documentation changes for style, accuracy, and completeness. Use when docs have been written or updated and need a quality check before submission.
End-to-end workflow for PR documentation — check, write, review. Use at any stage of documenting PR changes.
| name | update-go-version |
| description | Update Go version across the Tempo codebase (go.mod, tools/go.mod, Dockerfile, CI workflows, tools image tag) |
| allowed-tools | WebFetch, Grep, Read, Write |
Updates the Go version across all relevant files in the Tempo codebase.
Invoke with /update-go-version
Extract Go version from tools/Dockerfile.
This file is updated by a Renovate workflow automatically.
Check these files:
go.mod (main module)tools/go.mod (tools module)
If the versions already match, advise user that tools/Dockerfile needs to be updated and merged first to build new image, then stop.Update the go X.Y.Z directive in both:
go.mod (main module)tools/go.mod (tools module)Fetch the latest tools image tag from Docker Hub:
curl -s "https://hub.docker.com/v2/repositories/grafana/tempo-ci-tools/tags?page_size=5&ordering=last_updated" | jq -r '.results[0].name'
Update TOOLS_IMAGE_TAG ?= main-XXXXXXX with the latest tag.
make vendor
make build
| File | What to change |
|---|---|
go.mod | go X.Y.Z directive |
tools/go.mod | go X.Y.Z directive |
build/tools.mk | TOOLS_IMAGE_TAG value |