8000 Comparing Beingpax:main...ThinkFar:main · Beingpax/VoiceInk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Beingpax/VoiceInk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: ThinkFar/VoiceInk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 20 commits
  • 21 files changed
  • 2 contributors

Commits on May 27, 2025

  1. Add GitHub Actions cloud build workflow

    - Add automated macOS build workflow for VoiceInk
    - Include whisper.cpp framework building
    - Support Debug and Release configurations
    - Add comprehensive cloud build guide
    - Enable CI/CD for VoiceInk development
    VoiceInk Developer committed May 27, 2025
    Configuration menu
    Copy the full SHA
    f3bec3f View commit details
    Browse the repository at this point in the history
  2. Fix Zip package dependency URL

    - Remove invalid '?tab=readme-ov-file' from Zip package URL
    - Update both project.pbxproj and Package.resolved
    - This should resolve the Swift Package Manager dependency error
    VoiceInk Developer committed May 27, 2025
    Configuration menu
    Copy the full SHA
    09546bc View commit details
    Browse the repository at this point in the history
  3. Optimize build workflow for macOS-only compilation

    - Add explicit -sdk macosx to all xcodebuild commands
    - Add ONLY_ACTIVE_ARCH=YES to build only current architecture
    - Specify destination platform for dependency resolution
    - This should prevent unnecessary iOS/visionOS/watchOS builds
    VoiceInk Developer committed May 27, 2025
    Configuration menu
    Copy the full SHA
    9e1d890 View commit details
    Browse the repository at this point in the history
  4. Trigger cloud build - Testing GitHub Actions workflow

    Augment Agent committed May 27, 2025
    Configuration menu
    Copy the full SHA
    4e5ed8d View commit details
    Browse the repository at this point in the history
  5. Fix whisper.xcframework path in GitHub Actions workflow

    - Update framework copy path to match Xcode project expectation
    - Change from Frameworks/ to Downloads/build-apple/ directory
    - Update artifact path accordingly
    Augment Agent committed May 27, 2025
    Configuration menu
    Copy the full SHA
    c2cb9b7 View commit details
    Browse the repository at this point in the history
  6. Fix whisper.xcframework path - use correct relative path

    - Move framework to ../Downloads/build-apple/ to match expected path
    - Add debugging output to verify directory structure
    - Update artifact path accordingly
    Augment Agent committed May 27, 2025
    Configuration menu
    Copy the full SHA
    b28fcbe View commit details
    Browse the repository at this point in the history
  7. Fix GitHub Actions artifact upload and framework paths

    - Fix relative path issue in upload-artifact action
    - Properly navigate to workspace root for framework placement
    - Copy framework to build directory for artifact collection
    - Split artifact preparation and upload into separate steps
    Augment Agent committed May 27, 2025
    Configuration menu
    Copy the full SHA
    5a7b4be View commit details
    Browse the repository at this point in the history
  • Include VoiceInk.app in build artifacts

    - Add comprehensive artifact collection for both Debug and Release builds
    - Search for built VoiceInk.app in Xcode DerivedData directory
    - Include both the application and framework in artifacts
    - Add detailed logging to track build output locations
    Augment Agent committed May 27, 2025
    Configuration menu
    Copy the full SHA
    b09885d View commit details
    Browse the repository at this point in the history
  • Fix: Resolve CheckedContinuation crashes in enhancement mode

    - Fix double resume issues in ScreenCaptureService text extraction
    - Add safety guards to download progress tracking continuations
    - Improve task cancellation handling in AIEnhancementService
    - Fix TaskDelegate multiple callback protection
    - Add ContinuationSafety utility classes for future async safety
    - Organize crash logs in .crashes directory with documentation
    - Update .gitignore to exclude sensitive crash log files
    
    Resolves crashes that occurred after dictating with enhancement mode enabled.
    All async/await continuation usage now has proper double-resume protection.
    Augment Agent committed May 27, 2025
    Configuration menu
    Copy the full SHA
    9024743 View commit details
    Browse the repository at this point in the history
  • Commits on May 28, 2025

    1. 🔧 Fix enhancement mode CheckedContinuation crashes

      Comprehensive fix for the critical CheckedContinuation double resume crashes
      that were occurring in enhancement mode functionality.
      
      ## Root Cause Analysis
      - CheckedContinuation.resume() being called multiple times on same continuation
      - Race conditions in Vision framework text extraction callbacks
      - URLSession delegate issues with download progress tracking
      - Task lifecycle management problems in enhancement mode
      - Missing timeout protection for long-running async operations
      
      ## Key Changes
      
      ### Enhanced ContinuationSafety Utility
      - Added timeout protection with configurable intervals
      - Implemented location tracking (file/function/line) for debugging
      - Added comprehensive logging with os.log
      - Created memory leak detection for unresumed continuations
      - Built convenience wrapper functions (withSafeContinuation, withSafeThrowingContinuation)
      - Added global timeout utility (withTimeout)
      
      ### ScreenCaptureService Improvements
      - Replaced manual safety guards with withSafeContinuation(timeout: 30.0)
      - Ensured Vision framework callbacks execute on main queue
      - Added background processing for text recognition
      - Enhanced error handling and logging
      
      ### Model Download Manager Enhancements
      - Added 5-minute timeout for model downloads via withSafeThrowingContinuation
      - Added 60-second timeout for CoreML model extraction
      - Improved error propagation and cleanup
      - Enhanced background processing for file operations
      
      ### AIEnhancementService Task Management
      - Added withTimeout(seconds: 45) for screen capture operations
      - Implemented multiple Task.isCancelled checks throughout operations
      - Enhanced task lifecycle management with proper cleanup
      - Added comprehensive debug logging
      
      ### Comprehensive Test Suite
      - Created ContinuationSafetyTests.swift with 10+ test cases
      - Added double resume prevention tests
      - Added timeout functionality tests
      - Added screen capture stress tests
      - Added task cancellation tests
      - Added integration tests for enhancement mode
      
      ## Expected Results
      ✅ Eliminates CheckedContinuation double resume crashes
      ✅ Enhanced stability during async operations
      ✅ Better error handling and debugging capabilities
      ✅ Graceful timeout handling for long operations
      ✅ Improved task lifecycle management
      
      ## Files Modified
      - VoiceInk/Utilities/ContinuationSafety.swift (enhanced)
      - VoiceInk/Services/ScreenCaptureService.swift (safe continuations)
      - VoiceInk/Whisper/WhisperState+ModelManager.swift (safe downloads)
      - VoiceInk/Services/AIEnhancementService.swift (task management)
      
      ## Files Added
      - VoiceInk/Tests/ContinuationSafetyTests.swift (comprehensive tests)
      - VoiceInk/CRASH_FIX_IMPLEMENTATION.md (detailed documentation)
      - VoiceInk/validate_crash_fix.swift (validation script)
      
      Fixes the critical crash reported in .crashes/enhancement-mode-crash-2025-05-27/
      Augment Agent committed May 28, 2025
      Configuration menu
      Copy the full SHA
      a845f13 View commit details
      Browse the repository at this point in the history
    2. Fix: Relocate tests and link XCTest to fix build

      Augment Agent committed May 28, 2025
      Configuration menu
      Copy the full SHA
      33685f5 View commit details
      Browse the repository at this point in the history
    3. Feat: Use local whisper.xcframework to speed up CI builds

      Augment Agent committed May 28, 2025
      Configuration menu
      Copy the full SHA
      3d81569 View commit details
      Browse the repository at this point in the history
    4. Configuration menu
      Copy the full SHA
      1826aaf View commit details
      Browse the repository at this point in the history
    5. CI: Unzip local whisper.xcframework archive during build

      Augment Agent committed May 28, 2025
      Configuration menu
      Copy the full SHA
      8013c33 View commit details
      Browse the repository at this point in the history
    6. CI: Add inspection step for unzipped whisper.xcframework

      Augment Agent committed May 28, 2025
      Configuration menu
      Copy the full SHA
      b5dfbdf View commit details
      Browse the repository at this point in the history
    7. Fix: Relocate validation script to prevent app compilation

      Augment Agent committed May 28, 2025
      Configuration menu
      Copy the full SHA
      402d4e5 View commit details
      Browse the repository at this point in the history
    8. Configuration menu
      Copy the full SHA
      1742c2e View commit details
      Browse the repository at this point in the history
    9. Fix Swift 6 concurrency build errors

      Augment Agent committed May 28, 2025
      Configuration menu
      Copy the full SHA
      b85138f View commit details
      Browse the repository at this point in the history
    10. Apply ULTIMATE plan fixes for build errors

      Augment Agent committed May 28, 2025
      Configuration menu
      Copy the full SHA
      97ea011 View commit details
      Browse the repository at this point in the history
    11. No commit message

      Augment Agent committed May 28, 2025
      Configuration menu
      Copy the full SHA
      624a24b View commit details
      Browse the repository at this point in the history
    Loading
    0