v4.2.1

Manisso/fsocietyv4.2.1Aug 22, 2025by ravitemer

AI Summary

A maintenance release fixing critical deadlock issues in the workspace cache locking system to ensure stability and prevent new instances from being blocked by stale files.

Key Highlights

  • Fixed persistent deadlocks from crashed processes
  • Increased lock retry delay for better stability
  • Automatic stale lock file cleanup
  • Recursive retry mechanism with infinite loop protection
  • Enhanced error messaging and logging

New Features

  • Improved lock file handling
  • Infinite loop protection mechanism
  • Better logging 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