georesearch-dsh/georesearch-dsh--packages-runtime-lease ↗★ 1
@georesearch/dsh-runtime-lease
用于托管 GeoResearch 安装的跨进程运行时排他租约
AI 分析
核心用途是防止在运行时活跃时写入不完整的安装生成。适合需要通过 Windows 命名互斥锁或 Unix 套接字确保安装器事务排他性的系统维护任务。
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗@georesearch/dsh-runtime-lease
Holds a process-scoped lease while a normal GeoResearch Profile is active. Installer mutations acquire the same lease before creating a transaction, so an active runtime is rejected without publishing a partial generation. A validated maintenance probe skips the runtime lease because its parent installer already owns it and the installation guard has consumed the bound nonce.
Windows uses a named mutex. Other platforms use a local Unix socket whose kernel-owned listener disappears when the process exits; stale socket paths are removed only after a failed connection probe.