v4.2.1

Avatar-Home-Automation/A.V.A.T.A.R-Serverv4.2.1Aug 22, 2025by ravitemer

AI Summary

Addresses workspace cache locking issues to prevent persistent deadlocks caused by crashed processes.

Key Highlights

  • Increased lock retry delay from 50ms to 100ms
  • Added automatic stale lock file cleanup
  • Implemented recursive retry mechanism with loop protection
  • Enhanced error messaging for lock acquisition failures

Full Release Notes


### Fixed

- **Workspace Cache Locking**: Improved lock file handling to prevent persistent deadlocks
  - Increased lock retry delay from 50ms to 100ms for better stability
  - Added automatic stale lock file cleanup after maximum retry attempts
  - Implemented recursive retry mechanism with infinite loop protection
  - Enhanced error messaging and logging for lock acquisition failures
  - Resolves issue where crashed processes could leave persistent lock files blocking new hub instances