Repository navigation
feat: bump go to 1.27 - #21721
feat: bump go to 1.27#21721kruskall wants to merge 12 commits into
Conversation
🤖 GitHub commentsJust comment with:
|
|
This pull request does not have a backport label. Could you fix it @kruskall? 🙏
|
carsonip
left a comment
There was a problem hiding this comment.
could you look into CI failures first
|
This pull request is now in conflicts. Could you fix it @kruskall? 🙏 |
There was a problem hiding this comment.
🟢 Approval recommended
The reviewed changes are consistent Go 1.27.1 updates with no unresolved review comments.
Pull request overview
Updates the repository and Go submodules to Go 1.27.1 with related tooling and code modernizations.
Changes:
- Bumps Go versions and Staticcheck dependencies.
- Applies
errors.AsType,slices.Backward, and typed atomic improvements. - Updates formatting and composite literals.
File summaries
| File | Changes |
|---|---|
x-pack/apm-server/sampling/reservoir.go |
Modernizes embedded struct initialization and formatting. |
x-pack/apm-server/sampling/processor_test.go |
Updates test literals and formatting. |
x-pack/apm-server/sampling/groups_test.go |
Simplifies policy literals. |
x-pack/apm-server/sampling/config_test.go |
Simplifies policy initialization. |
x-pack/apm-server/main.go |
Modernizes policy construction. |
systemtest/go.mod |
Updates the system-test Go version. |
internal/sourcemap/sourcemap_fetcher_test.go |
Updates embedded-field literals. |
internal/sourcemap/processor.go |
Uses slices.Backward. |
internal/sourcemap/metadata_fetcher_test.go |
Updates metadata test literals. |
internal/sourcemap/elasticsearch.go |
Uses errors.AsType. |
internal/publish/acker.go |
Uses typed atomic counters. |
internal/beater/waitready.go |
Uses errors.AsType. |
internal/beater/middleware/middleware.go |
Uses slices.Backward. |
internal/beater/api/intake/handler.go |
Uses errors.AsType. |
integrationservertest/go.mod |
Updates the integration-test Go version. |
go.sum |
Refreshes tooling checksums. |
go.mod |
Updates Go and Staticcheck dependencies. |
cmd/intake-receiver/go.mod |
Updates the intake receiver Go version. |
Review details
- Files reviewed: 17/18 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
Blocked by #21924 |
|
This pull request is now in conflicts. Could you fix it @kruskall? 🙏 |
|
This pull request is now in conflicts. Could you fix it @kruskall? 🙏 |
💚 Build Succeeded
History
|
Motivation/summary
keep go version up to date
run make fmt
bump swiss lib to fix compile error
Checklist
For functional changes, consider:
How to test these changes
Related issues