合并受阻
感谢提交 Pull Requests !此PR未通过DCO校验。
校验失败可能原因:
1. 未签署“DCO协议”(开发者原创声明协议),在线签署、查看签署状态。
2. Commits 中未包含 Signed-off-by信息,参考FAQ处理。
修复上述问题后,在PR的评论框输入“check dco” ,单击”评论”,系统将再次进行DCO校验。
当前检测到如下Commits 未包含Signed-off-by信息:
Thanks for submitting a pull request. This pull request has not passed the DCO check.
Possible causes:
1. You have not signed the Developer Certificate of Origin (DCO). Sign the DCO and check DCO status.
2. The commits do not contain the Signed-off-by information. To resolve this issue, see FAQs.
After resolving the preceding issues, enter check dco in the comment box of this pull request and click Comment. The system will check DCO status again.
The following commits do not contain the Signed-off-by information:


感谢提交 Pull Requests!
Thanks for submitting a pull request.


【AI-Review】【一般】【基础代码问题】【代码逻辑错误】open() fallback 路径缺少 onModalWillShow 回调,违反生命周期契约
● 问题: open() 的 else 分支(contentRef 为 null 时,line 744-749)直接调用 this.completeOpenWithoutAnimation()(line 748),该方法在 isVisible 为 true 时直接触发 this.props.onModalShow()(line 704),但 else 分支未先调用 this.props.onModalWillShow。对比 close() 的 else 分支(line 792-798)在 this.finalizeClose()(line 797)之前正确补齐了 this.props.onModalWillHide && this.props.onModalWillHide()(line 796),open 与 close 的 fallback 路径存在不对称性。
触发路径: Modal host 提前 dismiss 内容导致 this.contentRef 为 null(如 RNOH Modal 原生窗口在内容挂载前被关闭,或组件处于卸载过程中但 isUnmounted 尚未置 true)→ 用户设置 isVisible=true → componentDidUpdate(line 321)调用 open() → isTransitioning 为 false,进入 → this.contentRef 为 null → 进入 else 分支(line 744)→ completeOpenWithoutAnimation()(line 748)→ isUnmounted 为 false → isVisible 为 true → this.props.onModalShow()(line 704)触发,但 onModalWillShow 从未触发。
● 影响: 一般。依赖 onModalWillShow 回调的调用方(如在该回调中准备 UI、启动并行动画、埋点上报)在 fallback 路径下会丢失该回调,仅收到 onModalShow,违反 onModalWillShow → onModalShow 的生命周期契约,可能导致调用方前置逻辑未执行。
● 建议: 在 else 分支的 this.completeOpenWithoutAnimation() 之前补齐 onModalWillShow 调用,与 close() 的 fallback 路径保持对称:
} else {
this.props.onModalWillShow && this.props.onModalWillShow();
this.completeOpenWithoutAnimation();
}


首次触发
门禁构建开始,包含静态检查、代码编译【rntpc_br_rnoh0.61编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a9e7d4864650f998bd104af/runlist


代码门禁未通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a9e7d4864650f998bd104af/runlist
静态检查:
| # | check type | result | report |
|---|---|---|---|
| 1 | codeCheck | noPass | >>> |
编译测试:
| # | Device | build result | package |
|---|---|---|---|
| 1 | rntpc_br_rnoh0.61 | pending | NA |


代码有更新,重置PR验证状态


感谢提交 Pull Requests!
Thanks for submitting a pull request.


本地或库上代码有更新,全量重新构建,重置所有关联PR的验证状态
门禁构建开始,包含静态检查、代码编译【rntpc_br_rnoh0.61编译】,预计在60分钟内完成,门禁结果会同步发送到注册邮箱。您可以通过如下链接跟踪门禁进展:http://dcp.openharmony.cn/workbench/cicd/detail/6a9f5f1064650f998b10bbed/runlist


代码门禁未通过
您可以通过如下链接查看门禁报告:http://dcp.openharmony.cn/workbench/cicd/detail/6a9f5f1064650f998b10bbed/runlist
静态检查:
| # | check type | result | report |
|---|---|---|---|
| 1 | codeCheck | noPass | >>> |
编译测试:
| # | Device | build result | package |
|---|---|---|---|
| 1 | rntpc_br_rnoh0.61 | pending | NA |


fix: 补充close/open链卸载守卫与兜底;panresponderThreshold阈值生效;supportedOrientations朝向约束