Task · OPN-0004

Upgrade Go toolchain to 1.27

Description

Adopt Go 1.27 consistently across the application, nested modules, build images, CI configuration, setup automation, and version-specific contributor documentation.

Acceptance Criteria

Definition of Done

Implementation Plan

  1. Inventory every active Go version pin, including nested modules and container or CI toolchains. 2. Update the pins and version-specific documentation to Go 1.27.0 without changing historical records or fixtures. 3. Run the repository-defined validation gate, review the diff, commit to main, push, and confirm hosted CI.

Implementation Notes

Local Go 1.27.0 evidence: build, make test, vet, lint with 0 issues, docs-check, check-public-ips, and grafana-check all passed. Generated docs were brought back to their existing exact wording contract. Paid-plan CodeRabbit review completed; the valid fuzz-cache and punctuation findings were fixed, while the systemd enforcement finding was already covered by the root Go 1.27 module requirement.

The cloud setup golangci-lint pin was aligned from v2.12.2 to current v2.13.1 after the campaign’s Linux checks showed v2.12.2 analyzers panic on Go 1.27 syntax. The hosted workflow already used v2.13.1. Linux-target v2.13.1 lint remained clean with 0 issues and the setup script passed shell syntax validation.

Exact-head hosted evidence: GitHub Actions run 32664206755 passed at a1a81a043413eab18586dfecd3019fec20e3acf3.

Final Summary

Upgraded the active Go application surfaces to Go 1.27 and validated the change locally and in exact-head hosted CI run 32664206755 at a1a81a043413eab18586dfecd3019fec20e3acf3.

View the source file on GitHub