Skip to content

bill桥回填#48 Electron宿主spawn修复(resolveNodeBin+20s超时) #670

Closed

Description

@FeatherHunter

背景0956d142 fix(48) 给 plugin-calorie 与 plugin-memo-ilife 的桥加了 Electron 宿主 spawn 根因修复(resolveNodeBin + SPAWN_TIMEOUT_MS 20s + ETIMEDOUT),--stat 显示唯独没有 packages/plugin-bill-ilife/src/bridge.ts。bill 桥自 1c07c7de(9/07,早于该修复一天)后再没动过,直拿 process.execPath 当 node,Desktop 真机(Electron 宿主)下面板取数会起 GUI 子进程永不退出。#59 已关闭(废弃),无回填票,特建此票。## 范围- packages/plugin-bill-ilife/src/bridge.ts:照 memo 桥同形(skill 无关代码逐字一致)加 SPAWN_TIMEOUT_MS + resolveNodeBin + readViaCli 超时分支;- packages/plugin-bill-ilife/test/smoke.test.mjs:加 resolveNodeBin+ 超时语义两例(照 calorie 烟囱#48块,不含#130 版本通道);- client.ts 不动:bill client 是静态配置页,无取数逻辑,#48 的 client 超时部分不适用;#130 版本通道不在本票范围。## 验收- node node_modules/typescript/bin/tsc -b packages/plugin-bill-ilife 全绿;- node --test packages/plugin-bill-ilife/test/smoke.test.mjs` 全绿。

Activity

  1. FeatherHunter commented on Sep 17, 2026

    @FeatherHunter
    OwnerAuthor

    落地证据(本席实测):- 改动:packages/plugin-bill-ilife/src/bridge.ts +22/-3(SPAWN_TIMEOUT_MS+resolveNodeBin+readViaCli超时分支,照 memo 桥逐字同形,注释挂#670 回填出处),test/smoke.test.mjs +15(resolveNodeBin两例,照 calorie 烟囱#48块,不含#130)。- 门:node tooling/run-locked.mjs --ticket 670 -- node node_modules/typescript/bin/tsc -b packages/plugin-bill-ilife exit 0;同锁 node --test packages/plugin-bill-ilife/test/smoke.test.mjs 9/9 全绿(含新增两例)。- 未碰:client.ts(bill 客户端无取数逻辑,#48 的 client 超时部分不适用)、index.ts(无新增导出需求)、package.json版本号(留发版流;工作区另有他席在途改动package.json/client.ts/dsh-ctx.ts,本席未碰未提交)。- 全仓排查结论同步:D:\ilife 下无任何全局安装/PATH/垫片逻辑(postinstall 零命中、两插件 src 零 global/PATH 命中、tooling/skilllink.mjs 只是旧 combos CLI),D:\2Study\nodejs 垫片系 9/10 人工 npm link 残留,与插件安装无关。

  2. FeatherHunter commented on Sep 17, 2026

    @FeatherHunter
    OwnerAuthor

    已落地验证,关闭。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions