-
Notifications
You must be signed in to change notification settings - Fork 106
Comparing changes
Open a pull request
base repository: Beingpax/VoiceInk
base: main
head repository: ThinkFar/VoiceInk
compare: main
- 20 commits
- 21 files changed
- 2 contributors
Commits on May 27, 2025
-
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 committedMay 27, 2025 Configuration menu - View commit details
-
Copy full SHA for f3bec3f - Browse repository at this point
Copy the full SHA f3bec3fView commit details -
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 committedMay 27, 2025 Configuration menu - View commit details
-
Copy full SHA for 09546bc - Browse repository at this point
Copy the full SHA 09546bcView commit details -
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 committedMay 27, 2025 Configuration menu - View commit details
-
Copy full SHA for 9e1d890 - Browse repository at this point
Copy the full SHA 9e1d890View commit details -
Trigger cloud build - Testing GitHub Actions workflow
Augment Agent committedMay 27, 2025 Configuration menu - View commit details
-
Copy full SHA for 4e5ed8d - Browse repository at this point
Copy the full SHA 4e5ed8dView commit details -
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 committedMay 27, 2025 Configuration menu - View commit details
-
Copy full SHA for c2cb9b7 - Browse repository at this point
Copy the full SHA c2cb9b7View commit details -
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 committedMay 27, 2025 Configuration menu - View commit details
-
Copy full SHA for b28fcbe - Browse repository at this point
Copy the full SHA b28fcbeView commit details -
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 committedMay 27, 2025 Configuration menu - View commit details
-
Copy full SHA for 5a7b4be - Browse repository at this point
Copy the full SHA 5a7b4beView commit details
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
- View commit details
-
Copy full SHA for b09885d - Browse repository at this point
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.
- View commit details
-
Copy full SHA for 9024743 - Browse repository at this point
Commits on May 28, 2025
-
🔧 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 committedMay 28, 2025 Configuration menu - View commit details
-
Copy full SHA for a845f13 - Browse repository at this point
Copy the full SHA a845f13View commit details -
Fix: Relocate tests and link XCTest to fix build
Augment Agent committedMay 28, 2025 Configuration menu - View commit details
-
Copy full SHA for 33685f5 - Browse repository at this point
Copy the full SHA 33685f5View commit details -
Feat: Use local whisper.xcframework to speed up CI builds
Augment Agent committedMay 28, 2025 Configuration menu - View commit details
-
Copy full SHA for 3d81569 - Browse repository at this point
Copy the full SHA 3d81569View commit details -
Refactor: Archive whisper.xcframework to preserve symlinks for CI
Augment Agent committedMay 28, 2025 Configuration menu - View commit details
-
Copy full SHA for 1826aaf - Browse repository at this point
Copy the full SHA 1826aafView commit details -
CI: Unzip local whisper.xcframework archive during build
Augment Agent committedMay 28, 2025 Configuration menu - View commit details
-
Copy full SHA for 8013c33 - Browse repository at this point
Copy the full SHA 8013c33View commit details -
CI: Add inspection step for unzipped whisper.xcframework
Augment Agent committedMay 28, 2025 Configuration menu - View commit details
-
Copy full SHA for b5dfbdf - Browse repository at this point
Copy the full SHA b5dfbdfView commit details -
Fix: Relocate validation script to prevent app compilation
Augment Agent committedMay 28, 2025 Configuration menu - View commit details
-
Copy full SHA for 402d4e5 - Browse repository at this point
Copy the full SHA 402d4e5View commit details -
Fix: Address Swift concurrency errors and explicit self captures
Augment Agent committedMay 28, 2025 Configuration menu - View commit details
-
Copy full SHA for 1742c2e - Browse repository at this point
Copy the full SHA 1742c2eView commit details -
Fix Swift 6 concurrency build errors
Augment Agent committedMay 28, 2025 Configuration menu - View commit details
-
Copy full SHA for b85138f - Browse repository at this point
Copy the full SHA b85138fView commit details -
Apply ULTIMATE plan fixes for build errors
Augment Agent committedMay 28, 2025 Configuration menu - View commit det 75B9 ails
-
Copy full SHA for 97ea011 - Browse repository at this point
Copy the full SHA 97ea011View commit details -
Augment Agent committed
May 28, 2025 Configuration menu - View commit details
-
Copy full SHA for 624a24b - Browse repository at this point
Copy the full SHA 624a24bView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff main...main