已合并
Build Git Reference inventories from the pinned commit tree #79
Build Git Reference inventories from the pinned commit tree #79
已合并
KaranocaVe创建于 10月2日
KaranocaVe
KaranocaVe
10月2日

Build Git Reference inventories from the pinned commit tree

reference_inventory.py inventory records HEAD but reads source entries from the Git index. After a file edit is staged without a new commit, it can associate a blob absent from the recorded commit with that commit; verification then accepts the same index state. This makes the source evidence inaccurate and non-reproducible.

Inventory and verification now read the tree of the recorded commit. A production-CLI regression covers clean and staged states and checks that the receipt contains the committed blob ID. The focused source-resource suite passed (34 tests, 1 unavailable-source skip), Ruff 0.15.22 passed, and bash check.sh passed (295 eval tests, 1 skip; 36 trace tests).

关联 Issue: https://gitcode.com/cann/cannbot-knowledge/issues/26

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 KaranocaVe 的贡献)
KaranocaVeKaranocaVe
10月2日 创建了 pull request,commit c37fb600
KaranocaVeKaranocaVe
10月2日 关联了issue:Reference inventory can bind a staged blob to the wrong commit
CANN-robotCANN-robot成员
10月2日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
10月2日 评论:

CLA Signature Pass

KaranocaVe, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robot
CANN-robot成员
10月2日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

✅ Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
repo-cann/cannbot-knowledge ✅ qq_41667743, zhanghz1 (2/2) ✅ qq_41667743 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
KaranocaVe
KaranocaVe
10月2日 评论:

/compile

likedislike
KaranocaVeKaranocaVe
10月2日 预合并成功(commit_id: 748ecae2843024e25475ece5c0d85b22855ea998)
CANN-robot
CANN-robot成员
10月2日 评论:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robot成员
10月2日 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
10月2日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
10月2日 添加了label:ci-pipeline-passed
KaranocaVe
KaranocaVe
15 天前 评论:

@wangsj0012 @qq_41667743 @fafahan @zhanghz1 @xfwang_ecnu @linghuis @OpSphere

麻烦各位抽空审核这个 PR;确认没有问题后,请按仓库规则补齐所需的 /lgtm 和 /approve。如果有需要修改的地方,请直接留言,我会跟进。谢谢!

likedislike
zhanghz1
zhanghz1成员
14 天前 评论:

/lgtm

likedislike
KaranocaVe
KaranocaVe
12 天前 评论:

补充提醒:按机器人当前审批进度,模块 repo-cann/cannbot-knowledge 还缺 approve。麻烦 @jon_jin @zhengshencn_hwca 抽空协助审批,并在条件满足后推进合并,谢谢!

likedislike
KaranocaVe
KaranocaVe
12 天前 评论:

再跟进一下:按机器人最新审批进度,模块 repo-cann/cannbot-knowledge 仍待 approve。麻烦 @jon_jin @zhengshencn_hwca @xfwang_ecnu @zhanghz1 @wangsj0012 再次抽空协助审批,并在审批条件满足后推进合并,谢谢!

likedislike
KaranocaVe
KaranocaVe
10 天前 评论:

/compile

likedislike
KaranocaVeKaranocaVe
10 天前 预合并成功(commit_id: 9b531593b8417287c162690de277b24f33be6c6a)
CANN-robot
CANN-robot成员
10 天前 评论:
🚀 CI 流水线已启动
📋 执行详情: 点击查看流水线
likedislike
CANN-robotCANN-robot成员
10 天前 删除了label:ci-pipeline-passed
CANN-robotCANN-robot成员
10 天前 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
10 天前 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
10 天前 添加了label:ci-pipeline-passed
KaranocaVe
KaranocaVe
4 天前 评论:

再次提醒:根据 CANN-robot 当前审批进度,该 PR 仍缺少必要的代码检视或合入审批。麻烦 qq_41667743 OpSphere jon_jin fafahan xfwang_ecnu zhengshencn_hwca zhanghz1 wangsj0012 抽空协助审核;确认无误后请按仓库规则执行 /lgtm 和 /approve,谢谢!

likedislike
KaranocaVe
KaranocaVe
4 天前 评论:

再次提醒:根据 CANN-robot 当前审批进度,该 PR 仍缺少必要的代码检视或合入审批。麻烦 @qq_41667743 @OpSphere @jon_jin @fafahan @xfwang_ecnu @zhengshencn_hwca @zhanghz1 @wangsj0012 抽空协助审核;确认无误后请按仓库规则执行 /lgtm 和 /approve,谢谢!

likedislike
zhanghz1
zhanghz1成员
4 天前 评论:

/lgtm

likedislike
汪超成员
4 天前 评论:

/approve

likedislike
CANN-robotCANN-robot成员
4 天前 添加了label:lgtmapproved
CANN-robotCANN-robot成员
4 天前 合入了pull request