已合并
ci: remove user-specific wheel cache path #50
ci: remove user-specific wheel cache path #50
已合并
liqingsong16创建于 28 天前
liqingsong16
28 天前

当前PR是否有AI参与:

[ ] 否
[x] 是
__1. AI Agent 平台: Codex
__2. AI 模型: GPT-5
__3. Prompt上下文: 检查并移除 install_deps.sh 中与个人账号绑定的 wheel 缓存路径。

PR功能描述 / 为什么需要这个合入**:

install_deps.sh 的 wheel 搜索路径中同时包含当前用户的 $HOME/.cache/cannbot-bootstrap 和一个固定用户目录。固定目录不可移植,并且在对应账号下与 $HOME 路径重复。

本 PR 仅删除该固定用户目录,保留以下通用搜索入口:

  • ${CANNBOTDSL_WHEEL_ROOT:-/opt/cannbot-dsl}:CI/平台预置 wheel 的主要目录。
  • ${HOME:-}/.cache/cannbot-bootstrap:跟随实际运行账号的用户缓存目录。

因此依赖安装顺序和有效搜索位置不变,不再把仓库绑定到个人工号。

该PR关联的issue

N/A

希望检视人员了解:

  • 仅修改 install_deps.sh 一行,不涉及版本、API、算子或工作流逻辑。
  • 在原账号环境下,${HOME}/.cache/cannbot-bootstrap 仍解析到原缓存目录。
  • 若 CI 使用其他账号,缓存路径会自动跟随该账号的 $HOME。

改动类型 / Change Type

测试信息 / Testing

检查清单 / Checklist

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 liqingsong16 的贡献)
Lliqingsong16
28 天前 创建了 pull request,commit 669ec3e4
CANN-robotCANN-robot成员
28 天前 添加了label:ai-co-authored
CANN-robotCANN-robot成员
28 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
28 天前 评论:

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-dsl ✅ liujun2025, yang-jiwei (2/2) ✅ liujun2025, yang-jiwei (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

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

likedislike
liqingsong16
28 天前 评论:

/compile

likedislike
此处折叠了75条消息 查看更多
liujun2025成员
28 天前 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
28 天前 添加了label:approved
yang-jiwei成员
28 天前 评论:

/lgtm
/approve

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