Skip to content

Bump Go to 1.27.1 - #14442

Merged
williammartin merged 1 commit into
trunkfrom
bump-go-1.27.1
Sep 14, 2026
Merged

williammartin merged 1 commit into
trunkfrom
bump-go-1.27.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR updates Go to the latest stable release.

  • go directive: 1.27.0
  • toolchain: go1.27.1
  • golangci-lint: v2.13.2
  • govulncheck: v1.8.0

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The repository-wide toolchain upgrade and generated rewrites require final CI-backed human validation.

Pull request overview

Updates GitHub CLI to Go 1.27.1 and applies Go 1.27 source modernizations.

Changes:

  • Raises the Go directive/toolchain and validation-tool pins.
  • Migrates error matching to errors.AsType.
  • Applies iterator and embedded-field literal modernizations.
File summaries
File Description
go.mod Updates Go to 1.27.0/1.27.1.
.github/golangci-lint-version Updates golangci-lint.
.github/govulncheck-version Updates govulncheck.
api/client.go Modernizes API error matching.
api/queries_repo.go Modernizes GraphQL error matching.
git/command.go Modernizes process error matching.
git/client_test.go Modernizes test error matching.
internal/codespaces/codespaces.go Modernizes timeout matching.
internal/codespaces/connection/tunnels_api_server_mock.go Simplifies embedded-field initialization.
internal/config/migration/multi_account.go Modernizes migration error matching.
internal/ghcmd/cmd.go Modernizes CLI error dispatch.
internal/run/run.go Modernizes exit-error matching.
internal/skills/discovery/discovery.go Modernizes release error matching.
internal/skills/installer/installer.go Modernizes traversal-error matching.
internal/zip/zip.go Modernizes traversal-error matching.
pkg/iostreams/iostreams.go Uses reverse-slice iteration.
pkg/cmd/attestation/api/client.go Modernizes retry error matching.
pkg/cmd/attestation/artifact/oci/client.go Modernizes transport-error matching.
pkg/cmd/attestation/artifact/oci/client_test.go Simplifies a composite literal.
pkg/cmd/attestation/verification/attestation.go Modernizes path-error matching.
pkg/cmd/attestation/verification/extensions_test.go Simplifies certificate literals.
pkg/cmd/attestation/verification/mock_verifier.go Simplifies certificate literals.
pkg/cmd/auth/status/status.go Modernizes scope-error matching.
pkg/cmd/cache/delete/delete.go Modernizes HTTP error matching.
pkg/cmd/codespace/ssh.go Modernizes iteration and string splitting.
pkg/cmd/extension/command.go Modernizes extension-error matching.
pkg/cmd/gist/create/create.go Modernizes HTTP error matching.
pkg/cmd/issue/edit/edit_test.go Simplifies embedded test literals.
pkg/cmd/issue/shared/lookup.go Modernizes GraphQL error matching.
pkg/cmd/pr/create/create.go Modernizes reverse iteration and literals.
pkg/cmd/pr/create/create_test.go Simplifies embedded test literals.
pkg/cmd/pr/edit/edit_test.go Simplifies embedded test literals.
pkg/cmd/project/shared/queries/queries.go Modernizes GraphQL error matching.
pkg/cmd/release/create/create.go Modernizes workflow-scope error matching.
pkg/cmd/release/shared/upload.go Modernizes network-error matching.
pkg/cmd/repo/create/create.go Modernizes process error matching.
pkg/cmd/repo/delete/delete.go Modernizes HTTP error matching.
pkg/cmd/repo/gitignore/view/view.go Modernizes HTTP error matching.
pkg/cmd/repo/license/view/view.go Modernizes HTTP error matching.
pkg/cmd/repo/sync/http.go Modernizes HTTP error matching.
pkg/cmd/repo/sync/sync.go Modernizes synchronization error matching.
pkg/cmd/root/alias.go Modernizes process error matching.
pkg/cmd/root/extension.go Modernizes process error matching.
pkg/cmd/run/cancel/cancel.go Modernizes HTTP error matching.
pkg/cmd/run/delete/delete.go Modernizes HTTP error matching.
pkg/cmd/run/download/download.go Modernizes traversal-error matching.
pkg/cmd/skills/install/install.go Modernizes discovery-error matching.
pkg/cmd/skills/list/list.go Uses reverse-slice iteration.
pkg/cmd/ssh-key/list/list.go Modernizes HTTP error matching.
pkg/cmd/status/status.go Modernizes GraphQL error matching.
pkg/cmd/workflow/disable/disable.go Modernizes workflow-error matching.
pkg/cmd/workflow/enable/enable.go Modernizes workflow-error matching.
pkg/cmd/workflow/run/run.go Modernizes workflow-error matching.
pkg/cmd/workflow/shared/shared.go Modernizes HTTP error matching.
Review details
  • Files reviewed: 54/54 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@babakks babakks mentioned this pull request Sep 14, 2026
2 of 6 tasks
@williammartin
williammartin merged commit 9909db8 into trunk Sep 14, 2026
12 checks passed
@williammartin
williammartin deleted the bump-go-1.27.1 branch September 14, 2026 13:16
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.

4 participants