Skip to content

ci: use Go 1.27 GA instead of rc in test matrix - #982

Open
liuq19 wants to merge 1 commit into
mainfrom
ci/go127-ga
Open

liuq19 wants to merge 1 commit into
mainfrom
ci/go127-ga

Conversation

@liuq19

@liuq19 liuq19 commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Go 1.27 has reached GA, so switch all CI workflows from '1.27.0-rc.2' to '1.27.x' to validate against the released version.

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

Go 1.27 has reached GA, so switch all CI workflows from
'1.27.0-rc.2' to '1.27.x' to validate against the released version.
Copilot AI lite review requested due to automatic review settings August 26, 2026 13:20

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 92dc9b01ca

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

strategy:
matrix:
go-version: [1.18.x, 1.21.x, 1.25.x, '1.27.0-rc.2']
go-version: [1.18.x, 1.21.x, 1.25.x, 1.27.x]

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Move documented compatibility runs off RC2

When this matrix begins testing the final Go 1.27 release, the manual reproduction commands still force GOTOOLCHAIN=go1.27rc2 in compatibility/README.md:27-35 and docs/sonic-go127-compatibility.md:492-526. Developers following those guides will therefore validate RC2 rather than the release exercised by CI, potentially producing misleading compatibility results when compiler, runtime, or jsonv2 behavior differs between RC2 and GA. Update those commands and the now-completed final-acceptance text alongside the matrix.

AGENTS.md reference: AGENTS.md:L27-L29

Useful? React with 👍 / 👎.

@codecov-commenter

codecov-commenter commented Aug 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.36%. Comparing base (59be92f) to head (92dc9b0).
⚠️ Report is 89 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #982      +/-   ##
==========================================
+ Coverage   51.86%   53.36%   +1.49%     
==========================================
  Files         127      171      +44     
  Lines       10893    14146    +3253     
==========================================
+ Hits         5650     7549    +1899     
- Misses       4920     6502    +1582     
+ Partials      323       95     -228     
Flag Coverage Δ
arm 45.38% <ø> (?)
macos-15 46.98% <ø> (?)
ubuntu-24.04-arm 45.38% <ø> (?)
ubuntu-latest 52.08% <ø> (?)
x86 52.08% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

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.

Pull request overview

Updates Sonic’s GitHub Actions CI matrices to test against the Go 1.27 GA release line (latest patch in the 1.27 series) rather than a specific release candidate, keeping CI aligned with the supported toolchain.

Changes:

  • Replaced 1.27.0-rc.2 with 1.27.x in the x86 workflow’s setup step and version matrix.
  • Replaced 1.27.0-rc.2 with 1.27.x in ARM64, compatibility (Linux/macOS/ARM), and Windows compatibility matrices.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/workflows/test-x86.yml Switches the pinned Go 1.27 setup and the build matrix entry to 1.27.x.
.github/workflows/test-arm64.yml Updates the ARM64/macOS matrix to test 1.27.x instead of the RC.
.github/workflows/compatibility_test.yml Updates the compatibility test matrix to use 1.27.x.
.github/workflows/compatibility_test-windows.yml Updates the Windows compatibility matrix to use 1.27.x.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@liuq19
liuq19 enabled auto-merge (rebase) September 20, 2026 13:20
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