fix(env): 重放测试可移植 shebang + dev-env 工具箱目录——全量 1105 测试零失败

- notebook_api.rs:replay 包装脚本 shebang /usr/bin/python3 →
  /usr/bin/env python3(本机 /usr/bin 只读无 python3,CI 与工具链均兼容);
- scripts/dev-env.sh:PATH 预置 target/toolchain/bin(本机 zip shim
  所在,gitignored;CI 用真实 zip),修复 release_handbook packs
  边界 cannot start zip 环境缺口;
- 全量 cargo test:1105 通过 / 0 失败(此前 2 个记录在案的环境基线
  失败——replay python 包装与 packs zip——均已消除)。
This commit is contained in:
cflmy committed 2026-11-18 10:29:26 +08:00
1 parent 9331af78e2
commit bb8960c5eb
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ export ZIG_GLOBAL_CACHE_DIR="${ZIG_GLOBAL_CACHE_DIR:-$_tc/zigcache}"
export ZIG_LOCAL_CACHE_DIR="${ZIG_LOCAL_CACHE_DIR:-$_tc/zigcache}"
_prepend_existing "$_zshim/bin"
_prepend_existing "$_tc/bin"
_prepend_existing "$_tc/python/bin"
_prepend_existing "$_tc/go/bin"
_prepend_existing "$_tc/cargo/bin"