Skip to content

chore(toolchain): 升级 Go 到 1.27.4 - #101

Closed
DefectingCat wants to merge 1 commit into
mainfrom
chore/toolchain-go-1-27-4
Closed

DefectingCat wants to merge 1 commit into
mainfrom
chore/toolchain-go-1-27-4

Conversation

@DefectingCat

Copy link
Copy Markdown
Contributor

改动摘要

  • 将 Go 固定版本从 1.26.5 升级至 1.27.4,保留 ARM64 与 x86_64 鸿蒙工具链补丁。
  • 记录工具链升级复查和设备验证限制。

验证

  • ARM64、x86_64:make core(含静态 TLS 重定位检查)和 make hap 通过。
  • make test TESTS=core 通过;make lint 无错误,但缺少 shellcheck、actionlint,相关检查跳过。
  • API 26 x86_64 模拟器:make core-smoke ABI=x86_64 通过,覆盖加载前 4 线程、加载后 16 线程,共 42,002 次 API 调用。
  • 真机未验证:未配置签名,make run ABI=x86_64 无法安装;ARM64 真机启动、TUN 和代理转发尚未验证。

产品指标

冷启动到可操作、8 小时待机耗电、新连接建立延迟、24 小时内核稳定性均未测量,升级影响未知。需签名后在同一真机、同一配置下与升级前版本及同类客户端对比。模拟器冒烟耗时不代表启动或网络性能。

- 更新 .go-version,保留现有 ARM64 与 x86_64 鸿蒙补丁并记录升级复查。
- 两架构 make core(含 TLS 检查)、make hap 与宿主核心回归通过;x86_64 模拟器 42002 次 API 冒烟通过。
- make lint 无错误;shellcheck 与 actionlint 因工具缺失跳过。
- 未配置签名,make run 无法安装;ARM64 真机、VPN 转发及四项产品性能指标尚未验证。
@DefectingCat
DefectingCat requested a review from xunrua as a code owner November 16, 2026 08:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T08:04:25.078211Z 71b34e5 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: 71b34e57fb

ℹ️ 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".

- API 26 x86_64 模拟器通过 `make core-smoke ABI=x86_64`:加载前 4 线程、加载后 16 线程,42,002 次 API 调用,耗时 55.871 ms。该数字仅为原生冒烟耗时,不代表启动或网络性能。
- `make run ABI=x86_64` 因未配置签名而未能安装。ARM64 真机启动、TUN 与代理转发尚未验证;冷启动、8 小时待机耗电、新连接延迟及 24 小时稳定性均无本轮测量值,需签名后在同一真机、同一配置下与升级前版本及同类客户端对比。

## 2. 内核自己的流量绕回 VPN

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Complete the ARM64 device acceptance gate before upgrading Go

The upgrade record explicitly says ARM64 startup, TUN creation, and proxy forwarding remain unverified. The x86_64 native smoke test exercises a different architecture and does not exercise the application's VPN path, so it does not satisfy the kernel-change completion gate in AGENTS.md. Before adopting the new toolchain, run make hap && make run on an ARM64 device, open a blocked site through the VPN, and confirm in make log that the connection used a proxy node; otherwise retain the previously validated Go version.

AGENTS.md reference: AGENTS.md:L30-L30

Useful? React with 👍 / 👎.

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