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

@georesearch/dsh-runtime-lease

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

패키지
@georesearch/dsh-runtime-lease
호환성
미검증
Cordis peer 범위
4.0.1
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 28.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 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.