Failed full extension builds still update the incremental build mode

未关闭 适合新手
#3,247 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 5 天内回复

@tushar-2606 已经在做这个了。

开始于 2026年10月5日。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
85/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
cmake, python
领域
build-system

调研方向

从 scripts/build_pg_ext.py 开始,阅读 run() 和 write_mode()。测试下载、CMake configure/build 以及安装的失败路径,然后验证 .buildinfo 未发生变化,同时仓库工作目录已恢复;成功的完整构建应记录所选模式。

由索引模型根据 Issue 内容生成。

描述

Problem\n\nscripts/build_pg_ext.py::run() calls write_mode(mode) in finally. A failed download, CMake configure/build, or install therefore still records the selected mode in .buildinfo. A subsequent no-argument invocation takes the incremental-build path even though the prior full build did not complete successfully.\n\n## Expected behavior\n\nOnly record the mode after the full build and install succeed. Keep restoring the repository working directory on both success and failure.

主要语言
C++
星标
9.3k
派生
724
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

activeloopai/deeplake 的其他 Issue

查看 activeloopai/deeplake 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。