Skip to content

docs: clarify Go toolchain version#599

Merged
abtreece merged 1 commit into
mainfrom
docs/clarify-go-toolchain-version
May 7, 2026
Merged

docs: clarify Go toolchain version#599
abtreece merged 1 commit into
mainfrom
docs/clarify-go-toolchain-version

Conversation

@abtreece
Copy link
Copy Markdown
Owner

@abtreece abtreece commented May 7, 2026

Summary

  • Clarify that Go 1.26.2 is the required build toolchain
  • Explain the split between the go 1.26 language directive and toolchain go1.26.2
  • Note that toolchain references should stay aligned across docs, CI, Docker, and .tool-versions

Validation

  • go test -mod=vendor ./pkg/... ./cmd/...

@codecov
Copy link
Copy Markdown

codecov Bot commented May 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.38%. Comparing base (a0dbe3b) to head (9997fc5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #599      +/-   ##
==========================================
- Coverage   67.43%   67.38%   -0.06%     
==========================================
  Files          53       53              
  Lines        5644     5644              
==========================================
- Hits         3806     3803       -3     
- Misses       1612     1614       +2     
- Partials      226      227       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@abtreece abtreece marked this pull request as ready for review May 7, 2026 21:06
Copilot AI review requested due to automatic review settings May 7, 2026 21:06
@abtreece abtreece merged commit 5a4adc2 into main May 7, 2026
17 of 18 checks passed
@abtreece abtreece deleted the docs/clarify-go-toolchain-version branch May 7, 2026 21:08
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates project documentation to explain the Go versioning split between the go language directive (go 1.26) and the pinned patch-level toolchain directive (toolchain go1.26.2), aiming to keep toolchain references consistent across the repo’s docs and build surfaces.

Changes:

  • Expand README build instructions to explain go 1.26 vs toolchain go1.26.2.
  • Add the same toolchain explanation to the installation guide’s “Building from Source” section.
  • Add development guide guidance to keep .tool-versions, CI, Docker images, and docs aligned with the pinned toolchain.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
README.md Clarifies the required/pinned Go toolchain and the go vs toolchain split in the build-from-source section.
docs/installation.md Adds a toolchain explanation for source builds to align with the repo’s Go module directives.
docs/development.md Documents the go.mod versioning split and calls out keeping tooling references aligned across the project.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
### Building from Source

Go 1.26.2 is required to build confd.
Go 1.26.2 is required to build confd. The module uses `go 1.26` for language compatibility and `toolchain go1.26.2` to pin the expected patch-level toolchain.
Comment thread docs/installation.md

#### Building from Source

Building from source requires the Go 1.26.2 toolchain. The module declares `go 1.26` for language compatibility and `toolchain go1.26.2` for the expected compiler patch version.
Comment thread docs/development.md
| golangci-lint | latest | Linting |
| make | any | Build automation |

The `go.mod` file keeps the language version at `go 1.26` and pins the expected patch-level compiler with `toolchain go1.26.2`. Keep `.tool-versions`, CI `setup-go` entries, Docker build images, and documentation aligned with that toolchain version.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants