| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
bazel适配 Co-authored-by: wonder1121<wangdan@huawei.com> # message auto-generated for no-merge-commit merge: !477 merge develop into develop bazel适配 Created-by: wonder1121 Commit-by: wonder1121 Merged-by: yrewzjsx Description: # Pull Request Template ## Description <!-- Provide a clear summary of the change, the problem it solves, and the technical approach. --> ## Related Issues <!-- Replace with actual issue numbers. Example: Closes #123, Related to #456 --> ## Type of Change - [ ] Bug fix - [ ] New feature - [ ] Performance optimization - [ ] Documentation update - [ ] Other (please describe):_______________ ## Testing <!-- Describe how the changes were tested. Include: - Unit/integration test coverage - Manual validation steps - Links to CI reports (e.g., CIDA) if available - Note any pending tests --> ## Checklist - [ ] I have performed a self-review of my own code. - [ ] I have updated the documentation. - [ ] I have added tests to prove my changes are effective. See merge request: Ascend/memfabric_hybrid!477 | 6 个月前 | |
[core] ci: pre-commit 全量格式化:clang-format/ruff,仅格式无逻辑变更 Co-authored-by: shilinlee<836160610@qq.com> # message auto-generated for no-merge-commit merge: !930 merge mf_format_pre_commit into develop [core] ci: pre-commit 全量格式化:clang-format/ruff,仅格式无逻辑变更 Created-by: shilinlee_com Commit-by: shilinlee Merged-by: yrewzjsx Description: # 合入来源 - [ ] 需求 - [ ] 问题单 - [x] issue # 问题/功能描述 仓库代码风格不统一(C++ 指针对齐、大括号位置、行宽;Python 引号、行宽、换行),且缺乏强制校验。需引入 pre-commit 全量格式化与 CI PR 检查,统一全仓风格基线。 # 修改方案描述 1. 配置 pre-commit 钩子(.pre-commit-config.yaml、.clang-format、pre-commit/pyproject.toml):trim trailing whitespace、fix end of files、check yaml/json、detect private key、ruff format(py310,行长 120)、codespell、clang-format v18.1.8(Google 基础,IndentWidth=4,ColumnLimit=120,Allman 大括号)。 2. 改造 script/ci-pre-commit-pr.sh,支持全量检查/格式化与按 PR 变更增量过滤两种模式。 5. 验证: pre-commit run --all-files 全部通过;95 个 Python 文件 AST 比对无语义差异;C++ 抽查(common_def.h、pytransfer.cpp 等)均为纯格式化。 # 是否涉及UT/ST - [ ] 是 - [x] 否(说明理由):纯格式化,不改变任何业务/测试逻辑,无需新增 UT/ST。 # 开发自检 - [x] 规范:未超过1k;超过1k已完成备案;反合入需要标题注明【反合】 - [x] 规范:已关联issue或里程碑 - [x] 规范:不需要UT/ST且已说明理由;需要且已包含UT/ST - [x] 安全:涉及对外接口/参数/环境变量改动,并同步修改资料 - [x] 安全:未引入三方开源软件;引入三方开源软件并经过安全评审 - [x] 安全:未新增对外接口/参数;新增对外接口/参数有校验 - [x] 规范:未涉及资料改动;涉及资料改动并已完成修改 See merge request: Ascend/memfabric_hybrid!930 | 3 个月前 | |
[core] fix: return error when address not found but srcRank==destRank in LocateAddrAndRank Co-authored-by: liuao<royliu.chengdu@gmail.com> # message auto-generated for no-merge-commit merge: !785 merge develop2 into develop [core] fix: return error when address not found but srcRank==destRank in LocateAddrAndRank Created-by: gcw_M5Xrk6cX Commit-by: royliu;liuao Merged-by: liu1103xwxw Description: fix: return error when address not found but srcRank==destRank in LocateAddrAndRank fix: only return error in non-trans scene LocateAddrAndRank; update UT expectations See merge request: Ascend/memfabric_hybrid!785 | 4 个月前 | |
[core] ci: pre-commit 全量格式化:clang-format/ruff,仅格式无逻辑变更 Co-authored-by: shilinlee<836160610@qq.com> # message auto-generated for no-merge-commit merge: !930 merge mf_format_pre_commit into develop [core] ci: pre-commit 全量格式化:clang-format/ruff,仅格式无逻辑变更 Created-by: shilinlee_com Commit-by: shilinlee Merged-by: yrewzjsx Description: # 合入来源 - [ ] 需求 - [ ] 问题单 - [x] issue # 问题/功能描述 仓库代码风格不统一(C++ 指针对齐、大括号位置、行宽;Python 引号、行宽、换行),且缺乏强制校验。需引入 pre-commit 全量格式化与 CI PR 检查,统一全仓风格基线。 # 修改方案描述 1. 配置 pre-commit 钩子(.pre-commit-config.yaml、.clang-format、pre-commit/pyproject.toml):trim trailing whitespace、fix end of files、check yaml/json、detect private key、ruff format(py310,行长 120)、codespell、clang-format v18.1.8(Google 基础,IndentWidth=4,ColumnLimit=120,Allman 大括号)。 2. 改造 script/ci-pre-commit-pr.sh,支持全量检查/格式化与按 PR 变更增量过滤两种模式。 5. 验证: pre-commit run --all-files 全部通过;95 个 Python 文件 AST 比对无语义差异;C++ 抽查(common_def.h、pytransfer.cpp 等)均为纯格式化。 # 是否涉及UT/ST - [ ] 是 - [x] 否(说明理由):纯格式化,不改变任何业务/测试逻辑,无需新增 UT/ST。 # 开发自检 - [x] 规范:未超过1k;超过1k已完成备案;反合入需要标题注明【反合】 - [x] 规范:已关联issue或里程碑 - [x] 规范:不需要UT/ST且已说明理由;需要且已包含UT/ST - [x] 安全:涉及对外接口/参数/环境变量改动,并同步修改资料 - [x] 安全:未引入三方开源软件;引入三方开源软件并经过安全评审 - [x] 安全:未新增对外接口/参数;新增对外接口/参数有校验 - [x] 规范:未涉及资料改动;涉及资料改动并已完成修改 See merge request: Ascend/memfabric_hybrid!930 | 3 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 6 个月前 | ||
| 3 个月前 | ||
| 4 个月前 | ||
| 3 个月前 |