Skip to content

Support Go 1.27 - #650

Merged
XSAM merged 5 commits into
mainfrom
claude/go-1-27-support-3b8248
Sep 5, 2026
Merged

XSAM merged 5 commits into
mainfrom
claude/go-1-27-support-3b8248

Conversation

@XSAM

@XSAM XSAM commented Sep 4, 2026 •

Copy link
Copy Markdown
Owner

What changed

Mirrors #517 for Go 1.27:

  • .github/workflows/ci.yaml: bump DEFAULT_GO_VERSION to ~1.27.0 and add 1.27.0 to the compatibility-test matrix (now 1.27 / 1.26 / 1.25).
  • README.md: add Go 1.27 rows to the tested-systems table.
  • CHANGELOG.md: add the Go 1.27 entry, the "last release to support Go 1.25" notice, and the Go 1.27 release-notes link.

Why

Go 1.27 is released (1.27.1 is current). Per the CI comment, the default CI Go version should track the latest release, and we test the two prior minor versions explicitly.

Reviewer notes

  • Go 1.25 is still supported; go.mod is unchanged. Dropping 1.25 is left for the next release, as the changelog notice says.
  • Lint on Go 1.27 needs golangci-lint v2.13+, which landed on main via Update module github.com/golangci/golangci-lint/v2 to v2.13.2 #648. This branch is merged with main, so the tools module carries no diff of its own.

🤖 Generated with Claude Code

@XSAM XSAM added this to the v0.44.0 milestone Sep 4, 2026
@codecov

codecov Bot commented Sep 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.4%. Comparing base (f71ab21) to head (087ba94).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main    #650     +/-   ##
=======================================
+ Coverage   85.7%   89.4%   +3.6%     
=======================================
  Files         15      15             
  Lines        690     576    -114     
=======================================
- Hits         592     515     -77     
+ Misses        73      61     -12     
+ Partials      25       0     -25     

☔ View full report in Codecov by Harness.
📢 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.

XSAM and others added 2 commits September 4, 2026 16:49
golangci-lint v2.12.2 fails typecheck against the Go 1.27 standard
library (generic methods), which broke the lint job once CI moved to
Go 1.27. v2.13.0 added Go 1.27 support.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
…t-3b8248

# Conflicts:
#	.github/workflows/ci.yaml
@XSAM
XSAM marked this pull request as ready for review September 5, 2026 00:06
@XSAM
XSAM enabled auto-merge (squash) September 5, 2026 00:12
@XSAM
XSAM merged commit 59ba93b into main Sep 5, 2026
22 checks passed
@XSAM
XSAM deleted the claude/go-1-27-support-3b8248 branch September 5, 2026 00:15
@XSAM XSAM mentioned this pull request Sep 6, 2026
XSAM added a commit that referenced this pull request Sep 6, 2026
This release is the last to support [Go 1.25].
The next release will require at least [Go 1.26].

### Added

- Support testing of [Go 1.27]. (#650)
- Add `WithSpanErrorAttributesGetter` option to set additional
attributes (e.g., `db.response.status_code`) on spans when an operation
returns an error. (#651)
- Add `SpanOptions.RowsChildOfQuery` to create `sql.rows` spans as
children of the `sql.conn.query` or `sql.stmt.query` span that produced
them, so concurrent queries can be correlated with their result
iteration. (#652)
- Support `driver.RowsColumnScanner` on [Go 1.27]. (#649)

### Changed

- Replace `ErrorTypeAttributes` with `ErrorTypeAttribute` to avoid
allocating an additional slice. (#643)
- Upgrade OTel to `v1.46.0`. (#644)

### Fixed

- `db.client.operation.duration` histogram now uses the explicit bucket
boundaries recommended by the OTel Semantic Conventions (`0.001` to `10`
seconds) instead of the SDK defaults, which placed virtually all
database operations in the first bucket. (#632)

[Go 1.26]: https://go.dev/doc/go1.26
[Go 1.25]: https://go.dev/doc/go1.25
[Go 1.27]: https://go.dev/doc/go1.27
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.

1 participant