Repository navigation
Conversation
Synchronize the upstream 2.3.9 source snapshot onto ErBWs feat-ohos. Preserve the OHOS project, package identity, repository configuration and update channel, and reuse the validated Flutter-OH integrations and merged upstream media-kit/ech_http support. This ordinary commit contains the exact tree of the previously validated integration merge, without importing the divergent upstream commit history.
Keep the existing feat-ohos build and release workflows, pin the validated Flutter-OH and HarmonyOS SDK versions, install native build tools, enforce the lockfile, and run analysis and tests before checking Release AOT and native asset mappings. Validation: actionlint passes; verifier accepts the normal-entry and smoke-entry arm64 Release HAPs.
Add the dedicated Release smoke entry for ECH, the Bangumi Dio adapter, cover downloads, video textures and deterministic player disposal. Document the pinned toolchain, formal package configuration, build verification and device-test procedure.
Record the formal-package Release builds, 213 passing tests, ECH API and cover checks, 24 render/dispose cycles and 6 early disposals, and normal-entry online playback and fullscreen checks on MatePad mini API 26. Document untested scenarios and the missing local danmaku API credentials.
tignioj
force-pushed
the
codex/feat-ohos-2.3.9-integration
branch
from
October 17, 2026 11:22
b947133 to
adee96c
Compare
tignioj
force-pushed
the
codex/feat-ohos-2.3.9-integration
branch
from
October 17, 2026 16:40
da83f6a to
b75a12a
Compare
Owner
|
感谢你的工作,我会在最近几天进行cherry pick和验证,随后发布新版本。这个 PR 难以审查,为了后续移植维护的可靠性我会关闭这个 PR,手动进行cherry pick |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
将
feat-ohos从 Kazumi 2.3.1 同步至上游正式版 2.3.9(规则 API 9),接入已合入上游的 media-kit / ech_http 鸿蒙适配,恢复新版 Native Assets 下的构建与播放支持,并修复平板及展开态设备退出全屏播放后无法恢复竖屏 UI 的问题。关联 #44。
改动
feat-ohos的80eac7aa为基线,同步上游2.3.9标签(025dcb5c)的代码,保留已有鸿蒙工程、正式包名com.predidit.kazumi、应用名和 ErBWs 更新渠道。整体 diff 包含 2.3.1 → 2.3.9 的业务代码同步。tool/ohos_smoke.dart自检入口及构建验证文档;正常入口仍为lib/main.dart。AUTO_ROTATION_LANDSCAPE,原退出逻辑仅为部分手机重设方向,导致平板及展开态设备残留横屏锁定。退出时现为这些设备恢复与启动配置一致的AUTO_ROTATION_UNSPECIFIED,允许按重力感应及系统旋转设置切换方向;保留手机现有的USER_ROTATION_PORTRAIT行为。当前 5 个提交
分支
codex/feat-ohos-2.3.9-integration直接基于feat-ohos,当前 HEAD 为b75a12ab,共 5 个线性提交:7ef082b8— 同步 2.3.9 代码、鸿蒙兼容与上游原生依赖。f60308cc— 固定工具链并增加 Release 原生库 / Native Assets 校验。b7352816— 整理自检工具与构建文档。adee96c1— 记录 Release 真机验证结果及未覆盖范围。b75a12ab— 修复全屏退出后的自动旋转恢复,并补充方向回归记录。两个依赖的上游适配
media_kit/media_kit_video9c31fe57c5c4492835dcd6fea968920f3b01bcb1ech_http2c58622b3596593b1c6818ddca7cdd0a0631aa15media-kit 的上游实现负责 OHOS 目标识别、鸿蒙 libmpv / C++ 运行库打包及 C 事件循环桥接;ech_http 的上游实现负责 OHOS 原生 SDK 和 Native Assets 接入。依赖直接引用各自上游的合入提交并通过
pubspec.lock锁定,无需相邻的本地依赖仓库。已完成的验证
工具链:Flutter-OH
3.41.9+ohos-1.0.2(62357a93)、Dart 3.11.5、HarmonyOS CLI26.0.0.821/ SDK26.0.0.105、JDK 17。本地构建与播放自检
flutter pub get --enforce-lockfile成功;213 项 Flutter 测试通过;dart analyze lib tool test无 error/warning,保留 27 条现有 info 级 lint;PR 中两个工作流通过 actionlint。com.predidit.kazumi、版本2.3.9 / 20309、debug=false、AOTlibapp.so、无 Debug kernel,以及 ECH、mpv、C 事件循环和 C++ 运行库及映射完整。hwdec=no/ 硬解hwdec=ohcodec与同步/异步四种组合,两轮合计 24 次播放/销毁、6 次初始化期间销毁通过。确认实际纹理画面、首帧及进度推进;并发/重复销毁正常,mpv 句柄归零,销毁耗时 70–189 ms。mgnacg规则完成《游戏人生》第 1 话的搜索、来源检索和在线播放,实际画面及播放进度超过 2 分钟。未观察到 Dart 未处理异常、进程崩溃或销毁超时。全屏方向回归(2026-10-18)
Orientation: 7,窗口2560×1600。Orientation: 13,窗口回到1600×2560,选集和评论布局恢复。window.Orientation枚举值。独立 CI 与预发布(2026-10-18)
b75a12ab完全一致;实际构建提交、工作流提交和产物 SHA-256 可在 build-info.json 中核对。上述结果来自独立发布流程;更新本描述时,上游 PR 的最新构建 仍为action_required,尚未执行。SHA256SUMS和构建信息;下载后已复核 SHA-256、源码提交和 HAP 内容。该预发布流程位于 fork 的独立分支,其专用工作流和打包脚本不包含在本 PR 中。构建命令、校验方法及本地验证记录见 OHOS_BUILD.md。原始本地日志和截图保存在
build/integration/,未随源码提交。尚未覆盖的范围与已知限制
com.predidit.kazumi,与此前 fork 的com.predidit.kazumi.ohostest独立测试包不同。本次集成、修复与验证使用了 Codex AI 辅助。