Skip to content

docs(release): state exactly how the 0.2.0 release packages were verified - #4

Merged
HanZijie merged 1 commit into
mainfrom
docs/release-0.2.0-verification
Oct 9, 2026
Merged

HanZijie merged 1 commit into
mainfrom
docs/release-0.2.0-verification

Conversation

@HanZijie

@HanZijie HanZijie commented Oct 9, 2026

Copy link
Copy Markdown
Owner

做了什么、为什么

0.2.0 的发布说明原来写的是“覆盖安装在发布后用从 GitHub 下载的文件在测试机上验证”。这件事在那台 Pixel 8 上做不了:它装的是 debug 证书的构建,换成发布证书要先卸载,数据和模型配置会一起丢,用户录屏就没法用了。所以改在干净的 API 36 模拟器上验证发布包,并把实际做过的和没做的如实写进发布说明和验收记录。只改文档,不改代码和版本号。

验证

  • 本地:python3 tools/check-i18n.py、tools/tests 137 项通过;check_release_notes 对新文件没有问题
  • CI 全绿(见本 PR 的 checks)

真机测试

  • 真机测试:不适用,原因:只改 docs/release-notes/0.2.0.md 和 docs/m1-acceptance.md,不改任何运行行为。文中描述的验证本身在模拟器上做了(Pixel_8a,API 36,只读无快照):已发布的 0.1.0 短信 APK → 改一项设置 → install -r 0.2.0 发布 APK,成功、设置保留、不再弹第一次的对话框;AgentOS App 和五个示例的发布 APK 装上、版本 0.2.0;发布版短信 App 的按钮 → 预览 → 开始 → “等你在 AgentOS 里允许”。这是模拟器,不是真机,文档里也是这么写的。

文档与契约

  • 无契约变化;无新增导出组件。

风险与回滚

  • 只有文档;git revert 即可。合并后会基于合并后的 main 重新做签名构建,所以发布包里的 RELEASE-NOTES.md 和 build-info.json 的 gitRevision 与 tag 一致。

…fied

The first version of the 0.2.0 notes said the upgrade over the 0.1.0 release
package would be checked after publishing with the downloaded files on the test
phone. That cannot be done on that phone: it carries builds signed with the debug
certificate, so switching to the release certificate means uninstalling first and
losing its data and model configuration. The release packages were checked on a
clean API 36 emulator instead, and this commit writes down what was done there and
what was not:

- downloaded 0.1.0 Messages APK (checksum equals its own SHA256SUMS), one setting
  changed, then the 0.2.0 release APK installed over it: success, setting kept, the
  first-run dialog is not shown again;
- the AgentOS app and the five sample APKs of this release install at 0.2.0, and
  the release Messages app reaches the AgentOS authorization wait after Start;
- every APK has the same certificate fingerprint as 0.1.0.

Not done, and said so: release-certificate packages on the Pixel 8, re-flashing the
module on a real phone, the AgentOS app 0.1.0 to 0.2.0, authorization records
surviving the upgrade.
@HanZijie
HanZijie merged commit 7fb45d4 into main Oct 9, 2026
4 checks passed
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