Repository navigation
v2.1.1 - Bug Fix Release
π Bug Fixes
This release addresses critical stability and user experience issues identified in the codebase:
Race Conditions & Thread Safety
- Fixed race condition in progress updates - Added proper mutex synchronization for concurrent repository status updates
- Added thread-safe access - Protected all shared state access with read/write locks
- Fixed channel closure issues - Improved cleanup on context cancellation
Input Validation & Error Handling
- Added test fail rate validation - Ensures
--test-fail-rateflag is between 0.0-1.0 - Enhanced error bounds checking - Fixed potential panic in error index calculation
- Improved ANSI code stripping - Now handles all ANSI escape sequences properly
- Added GitHub CLI validation - Checks for
ghinstallation and authentication at startup
User Experience Improvements
- Fixed completion message cycling - No more rapid flickering through celebration messages
- Stable completion screen - Shows single message and exits gracefully after 3 seconds
- Better progress bar handling - Fixed integer overflow issues in progress calculations
Technical Improvements
- Enhanced error categorization - Better handling of network vs. authentication errors
- Improved resource cleanup - Proper cleanup of command execution resources
- Better duration formatting - More accurate time display and ETA calculations
- Fixed Go modules versioning - Updated module path to
/v2for proper major version handling
π§ͺ Testing
- All existing tests continue to pass
- Added comprehensive thread safety
- Improved error handling coverage
π¦ Installation
go install github.com/jdmcgrath/orgsync/v2@v2.1.1Full Changelog: v2.1.0...v2.1.1