Repository navigation
feat: 精简公共安装逻辑,新增 Codex、Claude Code、CC Switch、Clash Verge Rev - #1
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
本轮源码审查发现一个在本 PR 仍存在的问题,已提交为 #2: 核查的是 另外,旧 main 的相对 |
Keep the SIGKILL grace timer referenced after the direct child exits. Preserve cancellation exit codes and do not retry a cancelled install. Add real Unix process-tree, cleanup-order and registry-retry regressions. Fixes #2
|
已跟进 #1 (comment) 和 #2,修复提交:7a42eebbdf13cb350f25aca8c466b1ec8964df15。
合并前验证的 HEAD:90496c4d7d4d1ce9b72a230dea885d5d4e1806c9。全部 75 项 Python 回归及两套 CI 的 8 个任务通过:
安装器和菜单已更新固定引用;临时工作流已移除。PR 已合并到 main,合并提交 fde672e,Issue #2 已自动关闭。采用 merge commit 保留被安装器引用的提交历史。未部署网站或更新上层仓库子模块指针;不声称已完成 Termux 真机、GUI、OAuth 或模型调用验证。 |
实现
LMM_LIB_DIR、Bash 3.2 / PowerShell 5.1 兼容。.sh/.ps1,七个工具由同一份 catalog 生成入口与菜单。--install-deps时运行;不做全系统升级。NixOS 明确要求 Nix 环境。docs/install-sources.md。评论跟进
Fixes #2
针对 https://github.com/TokenNotIncluded/lmm-scripts/pull/1#issuecomment-5750850441:
bounded()的 SIGKILL 定时器保留引用;直接子进程退出后,同组后代仍会被强制终止,外层随后才能释放安装锁、删除 stage 或开始 registry 重试。修复提交:
7a42eebbdf13cb350f25aca8c466b1ec8964df15。公共库固定引用及菜单均已更新;一次性生成工作流已移除。验证
待合并且已验证的 HEAD:
90496c4d7d4d1ce9b72a230dea885d5d4e1806c9脚本版本:
2026.09.21.1两个工作流共 8 个任务全部成功:
原有 65 项 Python 回归加新增 10 项,共 75 项;生成文件/菜单一致性、ShellCheck、PowerShell 7 / Windows PowerShell 5.1 检查通过。新增进程组测试在本地 Linux / Node 22.16.0 以及 CI Linux、macOS / Node 24.21.0 通过,旧代码已复现失败。
真实安装验证:Codex/Claude 在 Ubuntu、macOS、Windows 和 Debian 12/Alpine 3.22 容器成功;CC Switch Windows portable 安装及入口检查成功。原有 Linux/macOS Pi、LMM CLI 和 Windows Pi、DSH、LMM CLI 实装通过。
未验证 Android/Termux 真机、其他发行版实际安装、两个桌面工具的 Linux/macOS GUI、Clash Verge Rev Windows 安装窗口,以及真实登录、模型调用或代理功能。本 PR 不部署网站,也不修改上层仓库的子模块指针。