Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

update Go to 1.25.6#12580

Merged
BagToad merged 1 commit intotrunkcli/cli:trunkfrom
kw/update-go-1.25.6cli/cli:kw/update-go-1.25.6Copy head branch name to clipboard
Jan 29, 2026
Merged

update Go to 1.25.6#12580
BagToad merged 1 commit intotrunkcli/cli:trunkfrom
kw/update-go-1.25.6cli/cli:kw/update-go-1.25.6Copy head branch name to clipboard

Conversation

@BagToad
Copy link
Member

@BagToad BagToad commented Jan 29, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 29, 2026 18:38
@BagToad BagToad requested a review from a team as a code owner January 29, 2026 18:38
@BagToad BagToad requested a review from babakks January 29, 2026 18:38
@BagToad BagToad mentioned this pull request Jan 29, 2026
@BagToad BagToad requested a review from williammartin January 29, 2026 18:40
Copy link
Contributor

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

This PR aims to update the Go version from 1.25.5 to 1.25.6 in the project's go.mod file. However, the update doesn't follow the project's established conventions for Go version updates as defined in the bump-go.sh automation script.

Changes:

  • Updated the go directive in go.mod from 1.25.5 to 1.25.6

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

module github.com/cli/cli/v2

go 1.25.5
go 1.25.6
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

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

The go directive should use the major.minor.0 format (e.g., go 1.25.0), not the major.minor.patch format. According to the bump-go.sh script at line 45, the go directive version should be derived as $(cut -d. -f1-2 <<< "$TOOLCHAIN_VERSION").0, which means only major.minor followed by .0. The patch version (1.25.6) should be used in the toolchain directive instead.

Suggested change
go 1.25.6
go 1.25.0
toolchain go1.25.6

Copilot uses AI. Check for mistakes.
module github.com/cli/cli/v2

go 1.25.5
go 1.25.6
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

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

Missing the toolchain directive. Based on the bump-go.sh script (lines 76-78), when updating Go, both the go directive and a toolchain directive should be present. The toolchain directive should be added as toolchain go1.25.6 on line 4 (after the go directive and before the blank line).

Suggested change
go 1.25.6
go 1.25.6
toolchain go1.25.6

Copilot uses AI. Check for mistakes.
@BagToad BagToad enabled auto-merge January 29, 2026 18:41
@BagToad BagToad disabled auto-merge January 29, 2026 18:43
@BagToad BagToad merged commit 150834b into trunk Jan 29, 2026
19 checks passed
@BagToad BagToad deleted the kw/update-go-1.25.6 branch January 29, 2026 18:55
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.