Skip to content

emrg: build-release 十七次修复 — Windows bin/python 缺 DLL + emrg/emrgd 探测(rant #13) - #385

Merged
argszero merged 1 commit into
masterfrom
feature/build-release-fixes17
Aug 4, 2026
Merged

emrg: build-release 十七次修复 — Windows bin/python 缺 DLL + emrg/emrgd 探测(rant #13)#385
argszero merged 1 commit into
masterfrom
feature/build-release-fixes17

Conversation

@argszero

Copy link
Copy Markdown
Owner

第 17 次实跑:3/4 平台成功,Windows Inno Setup 编译通过(iscc 版本打印 + artifacts 生成),新失败在 smoke-test:7 pass / 4 fail

4 个 fail 同一根因——安装后 bin/python(复制品)缺 DLL 不可用:

  1. emrg --version → bin/emrg exec bin/python → 失败
  2. daemon port file → bin/emrgd exec bin/python → 失败
  3. server stop → 依赖 daemon → 失败
  4. python+deps → PATH 里 python(复制品缺 DLL)→ 失败

(前轮修的 emrg.cmd/emrgd.cmd 已用 python-dist,但 bash 版 bin/emrg/emrgd 仍 exec bin/python;python-build-standalone 的 DLL 在 python-dist/ 根目录)

修复(3 文件)

  1. bin/emrg:exec 前探测 python-dist/python.exe(Windows),POSIX 保持 bin/python 软链(R100)
  2. bin/emrgd:同上
  3. build-runtime.sh 第 2 步:Windows 复制 python-dist 根目录 *.dll 到 bin/(使 PATH 里的 python 命令可用——session-scoped 脚本依赖)

验证

  • bash -n OK(3 文件)
  • Windows/POSIX 双场景 PY_BIN 探测模拟正确;DLL 复制模拟正确
  • 本机 macOS 实跑 build-runtime.sh 完整成功(83M + pip deps)
  • pytest 464 passed;import checks OK

背景:rant #13 Phase 4 发布期。合并后重打 tag 第 18 次实跑,预期 4/4 全绿 → Release 发布。

…rant #13)
第 17 次实跑:3/4 平台成功,Windows Inno Setup 编译通过(iscc 版本
打印 + artifacts 生成),新失败在 smoke-test:7 pass / 4 fail。
4 个 fail 同一根因——安装后 bin/python(复制品)缺 DLL 不可用:
1. emrg --version → bin/emrg exec bin/python → 失败
2. daemon port file → bin/emrgd exec bin/python → 失败
4. server stop → 依赖 daemon → 失败
7. python+deps → PATH 里 python(复制品缺 DLL)→ 失败
(前轮修的 emrg.cmd/emrgd.cmd 已用 python-dist,但 bash 版 bin/emrg/
emrgd 仍 exec bin/python;python-build-standalone DLL 在 python-dist/ 根)
修复(3 文件):
1. bin/emrg:exec 前探测 python-dist/python.exe(Windows),POSIX 保持
bin/python 软链(R100)
2. bin/emrgd:同上
3. build-runtime.sh 第 2 步:Windows 复制 python-dist 根目录 *.dll 到
bin/(使 PATH 里的 python 命令可用——session-scoped 脚本依赖)
验证:
- bash -n OK(3 文件)
- Windows/POSIX 双场景 PY_BIN 探测模拟正确;DLL 复制模拟正确
- 本机 macOS 实跑 build-runtime.sh 完整成功(83M + pip deps)
- pytest 464 passed;import checks OK

@argszeroargszero left a comment

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle 20260805-0082

审查内容:3 文件修复——bin/emrg + bin/emrgd exec 前探测 python-dist exe(R100)+ build-runtime.sh Windows 复制 *.dll 到 bin/。修 smoke 4 fail(emrg/daemon/stop/python 全因 bin/python 缺 DLL)。

验证:bash -n OK(3 文件);双场景 PY_BIN 探测 + DLL 复制模拟正确;本机实跑 build-runtime.sh 完整成功;pytest 464 passed。根因分析准确(第 17 次 smoke 4 fail 同源)。

@argszeroargszero left a comment

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle 20260805-0083

第二次复核:diff 与上轮一致(bin/emrg + bin/emrgd 探测 python-dist exe + build-runtime.sh DLL 复制)。bash -n OK;双场景模拟正确。无新增问题。

@argszeroargszero left a comment

Copy link
Copy Markdown
OwnerAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM — cycle 20260805-0084

第三次复核:diff 稳定(bin/emrg + bin/emrgd 探测 python-dist exe + build-runtime.sh DLL 复制)。bash -n OK;双场景模拟正确;pytest 464 passed。3 个不同 cycle(0082/0083/0084)连续 LGTM,满足合并条件。

@argszero
argszero merged commit af00484 into masterAug 4, 2026
1 check passed
@argszero
argszero deleted the feature/build-release-fixes17 branch August 5, 2026 06:18
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@argszero