| Files | Last commit | Last update |
|---|---|---|
Support linux host UT for ets_utils - Add host UT entry group ets_utils_host_unittest (root BUILD.gn) and ets_utils_host_test_bridge template (ets_utils_host_test.gni) - All 13 unit test targets build and run on the linux host toolchain; keep original dep structures and only strip host-unavailable deps (c_utils/hitrace/begetutil/ability/hicollie/icu/qos) for host UT - Decouple host UT from the hilog part: logging is a no-op under ETS_UTILS_HOST_UT in tools/log.h and console/log.h (the only two files including hilog/log.h), and every host-UT target drops its hilog:libhilog external_dep, so the host graph stays hilog-free and builds in minimal part sets (e.g. ohos-host_mini_tdd); ohos-sdk host builds keep real hilog logging via the SDK branch - Gate shared-lib SDK host branches on product_name=ohos-sdk and link hilog:libhilog there: libhilog_linux is not a registered innerapi ("innerkits:" is not a resolvable component and a raw cross-part label fails deps validation), while hilog:libhilog compiles the same libhilog_source_linux host implementation on the linux host toolchain - Add ETS_UTILS_HOST_UT/LINUX_PLATFORM isolation for hitrace, app_image_observer, SetDebuggerPostTaskFunc and fdsan fallback - Add missing std includes for non-OHOS macros; silence host-only unused-variable diagnostics via BUILD.gn host flags (no product-code [[maybe_unused]] annotations) - test: std::latch compat shim; fix flaky PendingSharedRequestAfterGC with bounded loop pumping; fix taskpool test isHandleInited restore and TaskpoolTest135 double-remove; align worker test macros with lib - rebase onto sendable-atomics master: keep the reordered include block and guard the new UtilsExportsSendableAtomics test with OHOS_PLATFORM (the SendableAtomics runtime global only exists on OHOS devices; the host runtime leaves the Atomics export intentionally unregistered) - fix gate codecheck findings: move << to end of line, extract AssertQosLevelUpdated helper (keeps WorkerTest005 under the 50-line limit, no magic number) and reword the fdsan comment - test: drop the redundant PREVIEW define from the 13 host UT targets (review feedback): on the linux host toolchain PREVIEW already propagates from the napi part's public ace_napi_config, so the compiled macro set of every host UT binary is unchanged Verified: host 13 suites 2074/2074 passed; rk3568 part build and all device UT targets rebuilt green with no host macro leakage; the hilog-free host UT build was validated in the internal TDD environment (build and run green without libhilog in the runtime closure); ohos-sdk gen/deps-check/build of the clang_x64 host targets green. Issue: https://gitcode.com/openharmony/commonlibrary_ets_utils/issues/2523 Signed-off-by: jizaiyi <jizaiyi@h-partners.com> Co-Authored-By: Agent AI[5%] Human Fixed[0%] Human[95%] AI Adopted[100%] | 1 month ago | |
fix: 规范化全仓 AGENTS.md 知识库以符合构建规范规则集 按审计报告 ets_utils 整改项(P0 #17/#18/#19、P1 #43/#44、P2 #61)与 《代码仓 AGENTS.md 构建规范与规则集》完成全仓知识库整改: - 根 AGENTS.md:新增维护声明(R6.1)、目录|职责|风险三级分级表(R2.3/R1.4)、 嵌套指南清单(R6.2)、路径路由与"不是X而是Y"术语路由(R2.1/R2.2)、 编辑前声明含验证计划(R3.3)、按变更类型验证表(R4.2)、禁止伪造验证强声明 (R4.4)、最终回复格式五字段(R4.5)、统一章节编号(R5.1) - 重写 18 个嵌套 AGENTS.md 为统一中文五段模板(定位/代码地图/知识路由/ 约束与边界/构建与验证),统一文档语言(R5.3/R5.4,P2 #61) - 修正伪造构建/测试目标(R6.4):删除 test_locks_unittest、 test_condition_unittest(实际仅为 test_utils_unittest)、--build-target container(实际为 container_packages/单容器目标)、gen_uri_abc - 修正命令(R6.5):9 个文件的 hdc shell send 改为 hdc file send; <product>/<product_name> 占位符统一为 rk3568 - 修正单测产物路径(uri/utils 等按 BUILD.gn module_output_path 核实); 删除 js_api_module/include、es2abc 目录等死链引用(R6.3) - routing 文档清除全部 CLAUDE.md 死链;verify 文档修正 container 目标、 反伪造强声明与五字段回复格式 - 新增 4 个缺失的嵌套 AGENTS.md:js_concurrent_module/common/helper/、 platform/、base_sdk/、tools/(P1 #44) - 全部 23 个 AGENTS.md 通过规则集结构化扫描(R1–R6 必填项全覆盖) Issue: https://gitcode.com/openharmony/commonlibrary_ets_utils/issues/2572 Signed-off-by: wang_zhaoyong <wangzhaoyong@huawei.com> AI[100%] Human Fixed[0%] Human[0%] AI Adopted[96%] Co-authored-by: opencode2 (glm-5.3) <wangzhaoyong@huawei.com> Co-authored-by: opencode (glm-5.3) <ai@local> | 7 hours ago | |
Support linux host UT for ets_utils - Add host UT entry group ets_utils_host_unittest (root BUILD.gn) and ets_utils_host_test_bridge template (ets_utils_host_test.gni) - All 13 unit test targets build and run on the linux host toolchain; keep original dep structures and only strip host-unavailable deps (c_utils/hitrace/begetutil/ability/hicollie/icu/qos) for host UT - Decouple host UT from the hilog part: logging is a no-op under ETS_UTILS_HOST_UT in tools/log.h and console/log.h (the only two files including hilog/log.h), and every host-UT target drops its hilog:libhilog external_dep, so the host graph stays hilog-free and builds in minimal part sets (e.g. ohos-host_mini_tdd); ohos-sdk host builds keep real hilog logging via the SDK branch - Gate shared-lib SDK host branches on product_name=ohos-sdk and link hilog:libhilog there: libhilog_linux is not a registered innerapi ("innerkits:" is not a resolvable component and a raw cross-part label fails deps validation), while hilog:libhilog compiles the same libhilog_source_linux host implementation on the linux host toolchain - Add ETS_UTILS_HOST_UT/LINUX_PLATFORM isolation for hitrace, app_image_observer, SetDebuggerPostTaskFunc and fdsan fallback - Add missing std includes for non-OHOS macros; silence host-only unused-variable diagnostics via BUILD.gn host flags (no product-code [[maybe_unused]] annotations) - test: std::latch compat shim; fix flaky PendingSharedRequestAfterGC with bounded loop pumping; fix taskpool test isHandleInited restore and TaskpoolTest135 double-remove; align worker test macros with lib - rebase onto sendable-atomics master: keep the reordered include block and guard the new UtilsExportsSendableAtomics test with OHOS_PLATFORM (the SendableAtomics runtime global only exists on OHOS devices; the host runtime leaves the Atomics export intentionally unregistered) - fix gate codecheck findings: move << to end of line, extract AssertQosLevelUpdated helper (keeps WorkerTest005 under the 50-line limit, no magic number) and reword the fdsan comment - test: drop the redundant PREVIEW define from the 13 host UT targets (review feedback): on the linux host toolchain PREVIEW already propagates from the napi part's public ace_napi_config, so the compiled macro set of every host UT binary is unchanged Verified: host 13 suites 2074/2074 passed; rk3568 part build and all device UT targets rebuilt green with no host macro leakage; the hilog-free host UT build was validated in the internal TDD environment (build and run green without libhilog in the runtime closure); ohos-sdk gen/deps-check/build of the clang_x64 host targets green. Issue: https://gitcode.com/openharmony/commonlibrary_ets_utils/issues/2523 Signed-off-by: jizaiyi <jizaiyi@h-partners.com> Co-Authored-By: Agent AI[5%] Human Fixed[0%] Human[95%] AI Adopted[100%] | 1 month ago | |
add version_script map Signed-off-by: ynuo <zhuruigan@h-partners.com> AI[84%] Human Fixed[0%] Human[16%] AI Adopted[100%] Co-authored-by: opencode (glm-5.3) <ai@local> Change-Id: I1ced5b8258cac60c9ba7625748b3cf39476eebdf | 2 months ago | |
!2605 merge 0529 into master container_scoped gn整改 Created-by: wangchensu1 Commit-by: wangchensu1 Merged-by: openharmony_ci Description: ## 一:关联的Issue https://gitcode.com/openharmony/commonlibrary_ets_utils/issues/2426 ## 二:修改原因 (目的、解决的问题等,例如:修复xx场景崩溃问题) container_scoped gn整改 ## 三:修改描述 (做了什么,变更了什么,例如:xx函数入口增加判空) container_scoped gn整改 ## 四:兼容性领域分析 (若涉及非兼容性变更,需简要说明**变更点**,否则请简要说明不涉及的**理由**) 不涉及,依赖关系整改,不涉及接口。 ## 五:CheckList(**必填项**) ### 1. 接口功能自检 - rk3568 推UT文件执行(影响功能的必须执行) - [ ] 已通过 - [x] 不涉及,无需验证 - xts测试套执行(影响功能的必须执行) - [ ] 已通过 - [x] 不涉及,无需验证 ### 2. 解决问题分类自检 (基于问题维度自检) - [ ] 解决接口发生crash等问题。 - [ ] 解决接口定义与实际表现不一致问题。 - [ ] 解决接口历史方案存在的问题。 - [ ] 解决接口性能问题。 - [ ] 新需求上库。 - [x] 解决告警问题。 - [ ] 不涉及 ### 3. 接口功能用例看护自检(基于修改的功能点自检) - [ ] 接口功能有看护用例,测试已通过。 - [ ] 接口功能没有用例看护,已经补充用例。 - [ ] 接口功能的看护用例存在问题,同步修改用例。 - [ ] 涉及接口变更行为,看护用例需同步修改。 - [x] 不涉及 ### 4. 稳定性专项自检(非Test代码必须执行) - 用例验证,门禁构建镜像启动一遍所有应用,无相关的异常出现 - [x] 已通过 - [ ] 不涉及,无需验证 ### 5. 压测专项自检 - 压测填表验证,无相关的异常出现 - [x] 已通过 - [ ] 不涉及,无需验证 ### 6. 并发专项自检(taskpool/worker改动必须执行) - 图库详情页功能测试 - [x] 已通过 - 图库相册功能测试:拍几张照片,进入图库相册功能,右上角+号创建新相册,弹窗中选择所有相册,查看是否有内容列表 - [x] 已通过 - 备忘录图片功能测试:拍几张照片,进入备忘录新增内容,选择添加图片功能,弹窗中选择所有相册,查看是否有内容列表 - [x] 已通过 - 畅连功能测试:登陆账号,发送30+图片,持续30+轮次 - [x] 已通过 - 游戏功能测试(消消乐/倩女幽魂/三国志/多乐斗地主/象棋等) - [x] 已通过 - 48小时压测 - [x] 已通过 - wukong压测2小时验证(非Test代码需要) - [x] 无相关crash产生 - [ ] 不涉及,无需验证 - 线程泄露测试(修改涉及线程生命周期需要,执行命令 ps -AT|grep pid|grep OS_TaskWorker|wc -l) - [ ] 无线程泄露 - [x] 不涉及,无需验证 ### 7. 需求上库自检 - 是否同步合入interface仓的相关d.ts(需求合入用同一个issue) - [ ] 已同步 - [x] 不涉及 ### 是否已执行L0用例 - [ ] 已验证 - [ ] 不涉及。如不涉及,请写明理由 ## 六:将上述测试的截图贴到下面 See merge request: openharmony/commonlibrary_ets_utils!2605 | 4 months ago | |
container_scope 编译依赖整改 Signed-off-by: wangchensu1 <wangchensu@huawei.com> 🤖 AI[0%] 👌 AI Adopted[0%] 🧑 Human[100%] Change-Id: I202bccd371b8d23df004fa72ecbd903cfe702f82 | 5 months ago |
| Files | Last commit | Last update |
|---|---|---|
| 1 month ago | ||
| 7 hours ago | ||
| 1 month ago | ||
| 2 months ago | ||
| 4 months ago | ||
| 5 months ago |