v4.2.1

imputnet/cobaltv4.2.1Aug 22, 2025by ravitemer

AI Summary

This release focuses on improving workspace cache stability by enhancing lock file handling to prevent deadlocks and automatically cleaning up stale files left behind by crashed processes.

Key Highlights

  • 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

New Features

  • Increased lock retry delay from 50ms to 100ms
  • Automatic stale lock file cleanup
  • Recursive retry mechanism with infinite loop protection
  • Enhanced error messaging and logging

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