Skip to content

v2.1.1 - Bug Fix Release

Choose a tag to compare

@jdmcgrath jdmcgrath released this 12 Sep 10:04
· 15 commits to main since this 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-rate flag 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 gh installation 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 /v2 for 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.1

Full Changelog: v2.1.0...v2.1.1