georesearch-dsh/georesearch-dsh--packages-runtime-lease ↗★ 1

@georesearch/dsh-runtime-lease

Cross-process runtime exclusion lease for managed GeoResearch installations 核心用途是防止在运行时活跃时写入不完整的安装生成。适合需要通过 Windows 命名互斥锁或 Unix 套接字确保安装器事务排他性的系统维护任务。

Package
@georesearch/dsh-runtime-lease
Compatibility
Unverified
Cordis peer range
4.0.1
Version
0.1.0
License
MIT
Last updated
Aug 28, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full 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.